Skip to content

feat(admin-ui): implement responsive mobile layout for the Security m…#2927

Open
faisalsiddique4400 wants to merge 3 commits into
mainfrom
admin-ui-issue-2925
Open

feat(admin-ui): implement responsive mobile layout for the Security m…#2927
faisalsiddique4400 wants to merge 3 commits into
mainfrom
admin-ui-issue-2925

Conversation

@faisalsiddique4400

@faisalsiddique4400 faisalsiddique4400 commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

feat(admin-ui): implement responsive mobile layout for the Security module (#2925)

Summary

This PR extends the Admin UI mobile redesign by implementing a responsive layout for the Security module.

The update optimizes the Security module for mobile devices by adapting layouts, spacing, and responsive behavior to smaller viewports while preserving the existing desktop and tablet experience. The implementation follows the shared mobile design patterns introduced across the Admin UI.


Fix Summary

  • Implemented responsive layouts for the Security module
  • Optimized page layouts for phone and small-tablet viewports
  • Improved spacing, padding, and typography for mobile devices
  • Updated responsive behavior for Security module forms and content
  • Eliminated horizontal overflow on supported mobile screen sizes
  • Aligned page content with the shared mobile header and navigation layout
  • Preserved existing desktop and tablet layouts
  • Maintained consistency with the Admin UI mobile design system
  • Improved usability and accessibility on smaller screens

Verification

npm run check:all

passes successfully.

  • Verified the Security module renders correctly on mobile devices
  • Verified forms and page content adapt properly to smaller screen sizes
  • Verified there is no horizontal scrolling on supported mobile viewports
  • Verified page alignment matches the shared mobile layout
  • Verified desktop and tablet layouts remain unchanged
  • Verified no regressions in existing Security module functionality

🔗 Ticket

Closes: #2925

Summary by CodeRabbit

  • New Features
    • Cedarling configuration now provides improved mobile layouts and clearer policy store guidance.
    • Role-permission views show assigned permissions against the total and display both assigned and unassigned permissions.
  • Bug Fixes
    • Improved handling of incomplete SAML service-provider attribute data.
    • Read-only selection fields now behave consistently on mobile.
  • Style
    • Refined responsive page titles, alerts, cards, spacing, and permission grids across the administration interface.
  • Documentation
    • Updated Cedarling policy store labels and validation guidance across supported languages.

…odule (#2925)

Signed-off-by: faisalsiddique4400 <faisalsiddique10886@gmail.com>
@coderabbitai

coderabbitai Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@faisalsiddique4400, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 33 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 7fa47c23-794b-46ac-8e14-6bcf3370fa24

📥 Commits

Reviewing files that changed from the base of the PR and between 3697b57 and ec08fd8.

📒 Files selected for processing (3)
  • admin-ui/.husky/pre-commit
  • admin-ui/.husky/pre-push
  • admin-ui/app/routes/Dashboards/DashboardPage.style.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch admin-ui-issue-2925

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@mo-auto mo-auto added comp-admin-ui Component affected by issue or PR kind-feature Issue or PR is a new feature request labels Jul 16, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 4

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@admin-ui/.husky/pre-commit`:
- Around line 12-18: Update the pre-commit signing check around GPGSIGN and
SIGNINGKEY so it enforces only commit.gpgsign being enabled, without requiring
user.signingkey to be set. Remove the SIGNINGKEY lookup and related
condition/message, while preserving the existing failure guidance for unsigned
commits.

In `@admin-ui/.husky/pre-push`:
- Around line 39-40: Update the printf call in the pre-push hook to use a fixed
%b format string when outputting UNSIGNED, and remove the SC2059 suppression.
Preserve expansion of the embedded newline escapes while ensuring percent
characters in commit subjects are printed literally.

In `@admin-ui/app/routes/Dashboards/DashboardPage.style.ts`:
- Around line 437-440: Update the selector in the compact-width styles to target
only the heading rather than every first-of-type child. Replace “& >
:first-of-type” with “& > :first-child” or the existing explicit heading class,
while preserving the current flexBasis and marginBottom values.

In `@admin-ui/plugins/admin/components/Cedarling/CedarlingConfigPage.tsx`:
- Around line 294-340: Preserve Cedarling policy-store actions on mobile by
removing isMobile from GluuUploadFile.disabled and from the conditions
controlling the download and upload footer actions in CedarlingConfigPage.tsx;
retain permission and loading-state checks. In
admin-ui/plugins/admin/components/Cedarling/CedarlingConfigPage.style.ts lines
149-159, remove the viewport-only not-allowed cursor styling so the cursor
reflects the actual disabled state.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: ce96cfe3-8791-416a-9a45-2dbfacf0e0d2

📥 Commits

Reviewing files that changed from the base of the PR and between 18c3bb9 and 3697b57.

📒 Files selected for processing (40)
  • admin-ui/.husky/commit-msg
  • admin-ui/.husky/pre-commit
  • admin-ui/.husky/pre-push
  • admin-ui/app/components/GluuDropdown/GluuDropdown.tsx
  • admin-ui/app/constants/ui.ts
  • admin-ui/app/locales/en/translation.json
  • admin-ui/app/locales/es/translation.json
  • admin-ui/app/locales/fr/translation.json
  • admin-ui/app/locales/pt/translation.json
  • admin-ui/app/routes/Apps/Gluu/GluuSelectRow.tsx
  • admin-ui/app/routes/Apps/Gluu/styles/GluuInputRow.style.ts
  • admin-ui/app/routes/Apps/Gluu/styles/GluuSelectRow.style.ts
  • admin-ui/app/routes/Apps/Gluu/types/common.ts
  • admin-ui/app/routes/Dashboards/DashboardPage.style.ts
  • admin-ui/app/routes/License/LicenseDetailsPage.style.ts
  • admin-ui/app/styles/fonts.ts
  • admin-ui/app/styles/formStyles.ts
  • admin-ui/app/styles/mobileDisabledFieldStyles.ts
  • admin-ui/app/utils/types/TokenControllerTypes.ts
  • admin-ui/plugins/admin/components/Cedarling/CedarlingConfigPage.style.ts
  • admin-ui/plugins/admin/components/Cedarling/CedarlingConfigPage.tsx
  • admin-ui/plugins/admin/components/Health/HealthPage.style.ts
  • admin-ui/plugins/admin/components/MAU/MauPage.style.ts
  • admin-ui/plugins/admin/components/Mapping/RolePermissionCard.tsx
  • admin-ui/plugins/admin/components/Mapping/RolePermissionMappingPage.tsx
  • admin-ui/plugins/admin/components/Mapping/__tests__/RolePermissionCard.test.tsx
  • admin-ui/plugins/admin/components/Mapping/styles/MappingPage.style.ts
  • admin-ui/plugins/admin/components/Settings/SettingsPage.style.ts
  • admin-ui/plugins/admin/helper/assets.ts
  • admin-ui/plugins/admin/helper/webhook.ts
  • admin-ui/plugins/auth-server/components/AuthServerProperties/types/index.ts
  • admin-ui/plugins/auth-server/components/ConfigApiProperties/utils/valueUtils.ts
  • admin-ui/plugins/auth-server/components/Sessions/types/sessionTypes.ts
  • admin-ui/plugins/saml/components/WebsiteSsoServiceProviderForm.tsx
  • admin-ui/plugins/saml/helper/utils.ts
  • admin-ui/plugins/saml/types/formValues.ts
  • admin-ui/plugins/scim/components/ScimPage.tsx
  • admin-ui/plugins/user-claims/components/types/UserClaimsListPage.types.ts
  • admin-ui/plugins/user-management/components/UserDetailViewPage.tsx
  • admin-ui/vite.config.ts

Comment thread admin-ui/.husky/pre-commit Outdated
Comment thread admin-ui/.husky/pre-push Outdated
Comment thread admin-ui/app/routes/Dashboards/DashboardPage.style.ts Outdated
Comment thread admin-ui/plugins/admin/components/Cedarling/CedarlingConfigPage.tsx
Signed-off-by: faisalsiddique4400 <faisalsiddique10886@gmail.com>
Signed-off-by: faisalsiddique4400 <faisalsiddique10886@gmail.com>
@sonarqubecloud

Copy link
Copy Markdown

@duttarnab duttarnab left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should removed this screen in mobile view as the mobile view only supports write only operation. What is your opinion?

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-admin-ui Component affected by issue or PR kind-feature Issue or PR is a new feature request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(admin-ui): Implement responsive mobile layout for the Security module

3 participants