PromucFlow_constructor/app/client/src/ee
Ankita Kinger 0a06d1820d
fix: Updating the action check to initialize the super user sagas (#33037)
## Description

Updating the action calls for sagas to trigger the Admin setting APIs.
This was required after the consolidated API changes came in, as the API
takes long time to load and `FETCH_USER_SUCCESS` call happens before
`FETCH_FEATURE_FLAGS_SUCCESS` call. We need both of the actions to be
successful before adding the saga. Hence updating it to the action
`END_CONSOLIDATED_PAGE_LOAD` now.


Fixes [#33034](https://github.com/appsmithorg/appsmith/issues/33034)

## Automation

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

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/8877126026>
> Commit: a5f7a066af16a450d67596a732c6a00cd1c6d9ff
> Cypress dashboard url: <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=8877126026&attempt=1"
target="_blank">Click here!</a>

<!-- end of auto-generated comment: Cypress test results  -->




## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


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

## Summary by CodeRabbit

- **New Features**
- Enhanced the initialization process for super users to conditionally
trigger actions based on specific feature availability.

- **Refactor**
- Updated logic in the Super User initialization to improve how feature
flags and user details are checked and utilized.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-04-29 17:17:59 +05:30
..
actions feat: workflow analytics code split and housekeeping (#31425) 2024-03-04 15:33:05 +05:30
api feat: branch protection (#28526) 2023-11-03 22:43:36 +05:30
components fix: additional ce changes for ee version of CD (#30695) 2024-01-29 14:57:26 +05:30
configs
constants chore: Refactoring API wiring for actions and JS actions to support private entity renaming on EE (#29763) 2023-12-21 10:22:54 +05:30
entities chore: Import debugger fixes (#31080) 2024-02-14 12:00:18 +05:30
hooks revert: multi env switcher view mode changes (#32360) 2024-04-03 15:50:58 +05:30
mocks
navigation fix: [IDE] Page switch and State switch have deep links to entity to avoid interim load state (#32980) 2024-04-29 10:31:27 +05:30
pages chore: reconnect modal refactor for package import (#31674) 2024-03-12 17:24:19 +05:30
plugins/Linting chore: CE change to log lint error in moduleEditor (#29230) 2023-12-04 23:37:45 +05:30
reducers feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +05:30
sagas fix: Updating the action check to initialize the super user sagas (#33037) 2024-04-29 17:17:59 +05:30
selectors chore: Refactoring code to show plugin based icons for module instances on EE (#31713) 2024-03-13 11:11:36 +05:30
types feat: Homepage experience v2 changes (#29282) 2024-01-25 19:11:48 +05:30
utils chore: Update analytics to pass the correct source information in identify user call (#32591) 2024-04-19 15:06:50 +05:30
workers chore: create evalContext for module instance CE changes (#29008) 2023-11-22 15:03:00 +05:30
AppRouter.tsx
RouteBuilder.ts chore: route builder refactor (#27905) 2023-10-12 11:01:22 +05:30
RouteParamsMiddleware.ts chore: Refactor URLAssembly to throw error on missing pageId for app route resolution only (#28527) 2023-11-02 15:55:24 +05:30