PromucFlow_constructor/app/client/src/pages/AdminSettings
Ankita Kinger ba4e29fb82
fix: Updating admin settings logic to fix issues on EE (#40135)
## Description

Updating admin settings logic to fix issues on EE

Fixes #`Issue Number`  
_or_  
Fixes `Issue URL`
> [!WARNING]  
> _If no issue exists, please create an issue first, and check with the
maintainers if the issue is valid._

## 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/14315577260>
> Commit: 1b0c2823290e6af5849b096d640ac856964a0d4c
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14315577260&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Settings`
> Spec:
> <hr>Mon, 07 Apr 2025 17:54:10 UTC
<!-- 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

## Summary by CodeRabbit

- **New Features**
- Admin Settings now displays Profile and Organisation sections whenever
available, independent of user privileges.
- Updated category filtering ensures non-superusers see only the most
relevant options.
- Introduced a new locator for the sub-text link in Admin Settings to
improve test coverage.

- **Style**
- Enhanced link presentation in the Admin Settings page for clearer
navigation.

- **Bug Fixes**
- Simplified test logic for Admin settings, improving the reliability of
test cases.
- Ensured consistent boolean handling for user superuser status across
various components.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-08 00:41:02 +05:30
..
Authentication chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
Branding chore: Migrate Tenant to Organization (#38891) 2025-02-18 20:41:07 +05:30
config feat: Updating admin settings page as per new designs (#40101) 2025-04-07 15:44:20 +05:30
FormGroup fix: Updating admin settings logic to fix issues on EE (#40135) 2025-04-08 00:41:02 +05:30
Profile fix: Updating admin settings logic to fix issues on EE (#40135) 2025-04-08 00:41:02 +05:30
components.tsx feat: Updating admin settings page as per new designs (#40101) 2025-04-07 15:44:20 +05:30
DisconnectService.test.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
DisconnectService.tsx chore: rename ADS package (#35583) 2024-08-09 17:20:29 +03:00
index.tsx chore: Analytics util refactor (#38089) 2024-12-19 17:46:22 +05:30
LeftPane.tsx fix: Updating admin settings logic to fix issues on EE (#40135) 2025-04-08 00:41:02 +05:30
loader.tsx chore: enable no-explicit-any rule (#35321) 2024-07-31 18:41:28 +03:00
Main.tsx chore: Migrate Tenant to Organization (#38891) 2025-02-18 20:41:07 +05:30
RestartBanner.tsx chore: add blank line eslint rule (#36369) 2024-09-18 19:35:28 +03:00
SaveSettings.tsx feat: Updating admin settings page as per new designs (#40101) 2025-04-07 15:44:20 +05:30
SettingsForm.tsx chore: Updating google authentication config to support Multi Org flow on EE (#39985) 2025-03-31 18:33:11 +05:30