PromucFlow_constructor/app/client/src
Pawan Kumar 2f2f5a6bf4
chore: Refactor API (#36412)
Fixes #36481 

/ok-to-test tags="@tag.All"

<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/11028542060>
> Commit: ed537d3958a3eba4502cbc32daf60c4cd814002d
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=11028542060&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.All`
> Spec:
> <hr>Wed, 25 Sep 2024 08:56:31 UTC
<!-- end of auto-generated comment: Cypress test results  -->


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

## Summary by CodeRabbit

- **New Features**
- Enhanced API interaction with new default configurations for requests.
- Improved error handling with a centralized interceptor for managing
various API response errors.
- Introduced access control for specific API endpoints through blocked
and enabled route management.
- Streamlined environment-specific configurations for better
maintainability.
- Added functionalities for managing application themes, including
fetching, updating, and deleting themes.
- Introduced new API functions for retrieving consolidated page load
data for viewing and editing.
- Centralized access point for API services related to theming and
consolidated page load data.
- New modular structure for API request and response interceptors to
improve organization and maintainability.

- **Tests**
- Added unit tests for both API response and request interceptors to
ensure correct functionality and error handling.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Pawan Kumar <pawankumar@Pawans-MacBook-Pro-2.local>
2024-09-25 16:29:21 +05:30
..
actions chore: delete unused code (#36461) 2024-09-23 13:52:00 +03:00
api chore: Refactor API (#36412) 2024-09-25 16:29:21 +05:30
assets chore: delete unused code (#36461) 2024-09-23 13:52:00 +03:00
ce chore: Refactor API (#36412) 2024-09-25 16:29:21 +05:30
components chore: making autocommit GA (#36347) 2024-09-25 14:32:01 +05:30
constants chore: Init Plugin Action Response (#36485) 2024-09-25 13:14:26 +05:30
Datasource/components chore: reconnect ds detached from datasource editor part 1 (#35907) 2024-09-02 11:26:34 +05:30
ee chore: Init Plugin Action Response (#36485) 2024-09-25 13:14:26 +05:30
enterprise fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
entities chore: delete unused code (#36461) 2024-09-23 13:52:00 +03:00
globalStyles fix: Sync EE items into CE (#34373) 2024-06-24 09:36:38 +00:00
icons chore:delete unused files (#36368) 2024-09-19 16:01:03 +03:00
IDE chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
layoutSystems chore: move wds widgets to modules (#36511) 2024-09-24 18:04:02 +02:00
mockResponses
mocks chore: delete unused code (#36461) 2024-09-23 13:52:00 +03:00
modules/ui-builder/ui/wds chore: move wds widgets to modules (#36511) 2024-09-24 18:04:02 +02:00
navigation chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
pages chore: making autocommit GA (#36347) 2024-09-25 14:32:01 +05:30
PluginActionEditor chore: [Plugin Action Form] Common Editor State (#36512) 2024-09-25 08:01:38 +00:00
plugins/Linting chore: add telemetry for current linter (#36417) 2024-09-20 11:59:08 +08:00
polyfills chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
reducers chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
reflow chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
sagas chore: Refactor API (#36412) 2024-09-25 16:29:21 +05:30
selectors chore: move wds widgets to modules (#36511) 2024-09-24 18:04:02 +02:00
templates
theme
transformers chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
UITelemetry chore: fix this.rootSpan undefined bug in PageLoadInstrumentation (#36459) 2024-09-23 08:21:07 +05:30
usagePulse chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
utils chore: delete unused code (#36461) 2024-09-23 13:52:00 +03:00
WidgetProvider chore: move wds widgets to modules (#36511) 2024-09-24 18:04:02 +02:00
WidgetQueryGenerators chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
widgets chore: move wds widgets to modules (#36511) 2024-09-24 18:04:02 +02:00
workers fix: js library default export to a unique name instead of default key in self (#36483) 2024-09-24 18:12:48 +05:30
App.css
AppErrorBoundry.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
config.d.ts fix: change appsmith alias (#35349) 2024-08-06 17:52:22 +03:00
Globals.d.ts fix: Sync EE items into CE (#34373) 2024-06-24 09:36:38 +00:00
index.css chore: Remove google fonts imported from googleapis (#35392) 2024-08-07 08:49:04 +05:30
index.tsx chore: Page load instrumentation: add network and device info to page load spans (#36395) 2024-09-19 11:06:14 +05:30
LandingScreen.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
preload-route-chunks.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
react-app-env.d.ts
RouteChangeListener.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
serviceWorker.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
store.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
wdyr.ts chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00