TWSD-1673 - ES6 Java Script support on AG

Review Request #1442 — Created March 16, 2026 and submitted

austin
AG
rel_ag_9_4_5
TWSD-1673
jasonchou, lucille

The API requests were not being correctly routed to the proxy path in specific client environments. This was primarily due to a compatibility conflict between modern URL-handling logic and the project's legacy build constraints.

Jira: https://arraynetworks.atlassian.net/jira/software/projects/TWSD/boards/62?jql=assignee%20%3D%20712020%3A64a4a8f2-81d8-4b7a-9664-f9019a720f96&selectedIssue=TWSD-1673

Process:

  • Implemented a Global Interceptor Layer. Instead of relying on the old routing logic, this new approach detects and redirects API calls at the browser's native level.

  • Checks every outgoing request to determine if it requires path adjustment and utilized a series of "Native Hooks" to capture all possible data traffic, including fetch, AJAX (XHR), and WebSockets.

  • Path Alignment: If a request matches our criteria, it is automatically re-mapped to the correct environment-compliant path.

Test Results: The fix was fully verified in the production-like environment on March 16, 2026, by Anish.

jasonchou
  1. Ship It!
  2. 
      
lucille
  1. Ship It!
  2. 
      
austin
Review request changed

Status: Closed (submitted)

Loading...