You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(Mobile): Fix the feature drawer layout on phones - #8994
I have added information to docs/ if required so people know about the feature.
I have filled in the "Changes" section below.
I have filled in the "How did you test this code" section below.
Changes
A customer couldn't edit a segment override from their phone: the feature drawer stopped drawing its background halfway down and the rule fields were squeezed.
Drawers grow with their content on phones (min-height instead of height: 100vh). Dialogs stay cards sized to their content instead of filling the screen.
Feature drawer tabs get the desktop spacing on phones.
Segment rule fields stack at full width; AND / AND NOT buttons are full width and evenly spaced.
The feature drawer title shows just the flag name on phones, with the copy button beside it.
The environment summary shows two metrics per row on phones, one row from 768px up.
First of a stack: #8995 (Popover sheet), then #8996 (DropdownMenu).
How did you test this code?
At 393px and 1440px, light and dark:
Features → a flag → Segment Overrides → Create Feature-Specific Segment: background reaches the bottom, rule fields stack, buttons full width.
Remove feature confirm: a card, not full screen.
Summary accordion: 2 per row on phones, 4 on one row on desktop.
Other centred modals (Create Project, payment) on a phone.
…le on phones
- Drawers grow with their content (min-height), so the lower half no longer
renders without a background over the page. Dialogs stay content-sized cards.
- Feature drawer tabs get the desktop spacing on phones.
- Segment rule fields stack at full width; AND / AND NOT buttons are
full width and evenly spaced, with the click on the button itself.
- The feature drawer title shows just the flag name on phones, with the
copy button beside it.
- The environment summary shows two metrics per row on phones.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.
No actionable comments were generated in the recent review.
Walkthrough
The changes update responsive layouts in the feature modal, segment rule editor and metrics grid. The feature modal header truncates feature names and hides selected content on smaller screens. Side-modal styling is scoped to side modals at smaller viewports. Segment rule controls use responsive layouts, and each addition button handles its own click. The metrics grid uses CSS columns instead of an inline column count.
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Organization UI
Review profile: ASSERTIVE
Plan: Advanced
Run ID: 0958d433-10f7-4a40-acae-43f7d6086177
Commits
Reviewing files that changed from the base of the PR and between 8b754f6 and c34e2b3.
Files selected for processing: 2
frontend/web/styles/components/_metrics.scss
frontend/web/styles/project/_modals.scss
Files with no reviewable changes: 1
frontend/web/styles/components/_metrics.scss
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 5 remain after this review.
The feature drawer's tab spacing matches desktop, so it no longer needs a
breakpoint, and .p-0 is already !important.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.
Bootstrap caps .modal-dialog at --bs-modal-width from 544px, so below the
md breakpoint the drawer turned into a narrow card.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
firefox › tests/change-request-page-test.pw.ts › Change Request Page › A change request can be deleted from its page @enterprise
firefox › tests/change-request-page-test.pw.ts › Change Request Page › Assignees can be added and removed, and stay after a reload @enterprise
firefox › tests/change-request-page-test.pw.ts › Change Request Page › A change request for a deleted feature says so @enterprise
firefox › tests/change-request-page-test.pw.ts › Change Request Page › Opening another change request shows its own changes @enterprise
firefox › tests/change-request-page-test.pw.ts › Change Request Page › A change request in a versioned environment can be approved and published @enterprise
firefox › tests/change-request-test.pw.ts › Change Request Tests › Change requests can be created, approved, and published with four-eyes approval @enterprise
firefox › tests/change-request-test.pw.ts › Change Request Tests › A segment override change request in a versioned environment opens on its Segment Overrides diff @enterprise
firefox › tests/change-request-test.pw.ts › Change Request Tests › An open change request can be edited from its page @enterprise
firefox › tests/change-request-test.pw.ts › Change Request Tests › A change request scheduled for later shows as a scheduled change @enterprise
firefox › tests/roles-test.pw.ts › Roles Tests › Roles can be created with project and environment permissions @enterprise
firefox › tests/segment-test.pw.ts › Segment test 5 - Audit log shows segment rule changes @enterprise
firefox › tests/sso-test.pw.ts › SCIM Tests › SCIM configuration can be created, regenerated, and deleted @enterprise
❌ private-cloud · depot-ubuntu-latest-16 — run #23343 (attempt 2)
Playwright Test Results (private-cloud - depot-ubuntu-latest-16)
firefox › tests/change-request-page-test.pw.ts › Change Request Page › A change request can be deleted from its page @enterprise
firefox › tests/change-request-page-test.pw.ts › Change Request Page › Assignees can be added and removed, and stay after a reload @enterprise
firefox › tests/change-request-page-test.pw.ts › Change Request Page › A change request for a deleted feature says so @enterprise
firefox › tests/change-request-page-test.pw.ts › Change Request Page › Opening another change request shows its own changes @enterprise
firefox › tests/change-request-page-test.pw.ts › Change Request Page › A change request in a versioned environment can be approved and published @enterprise
firefox › tests/change-request-test.pw.ts › Change Request Tests › Change requests can be created, approved, and published with four-eyes approval @enterprise
firefox › tests/change-request-test.pw.ts › Change Request Tests › A segment override change request in a versioned environment opens on its Segment Overrides diff @enterprise
firefox › tests/change-request-test.pw.ts › Change Request Tests › An open change request can be edited from its page @enterprise
firefox › tests/change-request-test.pw.ts › Change Request Tests › A change request scheduled for later shows as a scheduled change @enterprise
firefox › tests/environment-permission-test.pw.ts › Environment Permission Tests › Environment-level permissions control access to features, identities, and segments @enterprise
firefox › tests/project-permission-test.pw.ts › Project Permission Tests › Project-level permissions control access to features, environments, audit logs, and segments @enterprise
firefox › tests/roles-test.pw.ts › Roles Tests › Roles can be created with project and environment permissions @enterprise
firefox › tests/segment-test.pw.ts › Segment test 5 - Audit log shows segment rule changes @enterprise
firefox › tests/sso-test.pw.ts › SCIM Tests › SCIM configuration can be created, regenerated, and deleted @enterprise
✅ oss · depot-ubuntu-latest-arm-16 — run #23343 (attempt 2)
Playwright Test Results (oss - depot-ubuntu-latest-arm-16)
The reason will be displayed to describe this comment to others. Learn more.
0 issues found across 1 file (changes from recent commits).
Confidence score: 5/5
Automated review surfaced no issues in the provided summaries.
No files require special attention.
Auto-approved: Mobile usability fixes for the feature drawer title, segment rule editor, metrics grid, and modal sizing; all changes are bounded CSS/JSX-only adjustments with no contract/policy impact. Dismissed findings are out of scope or match intended layout.
The reason will be displayed to describe this comment to others. Learn more.
0 issues found across 2 files (changes from recent commits).
Confidence score: 5/5
Automated review surfaced no issues in the provided summaries.
No files require special attention.
Auto-approved: Mobile usability fixes for feature drawer titles, segment rules, metrics grid, and modal/drawer sizing. CSS/JSX-only changes with no contract or operational impact; dismissed findings are out of scope or match intended layout.
talissoncosta
changed the title
fix(Mobile): Keep drawers, segment rules and the feature summary usable on phones
fix(Mobile): Fix the create feature layout on phones
Nov 17, 2026
talissoncosta
changed the title
fix(Mobile): Fix the create feature layout on phones
fix(Mobile): Fix the feature drawer layout on phones
Nov 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fixfront-endIssue related to the React Front End Dashboard
1 participant
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
docs/if required so people know about the feature.Changes
A customer couldn't edit a segment override from their phone: the feature drawer stopped drawing its background halfway down and the rule fields were squeezed.
min-heightinstead ofheight: 100vh). Dialogs stay cards sized to their content instead of filling the screen.First of a stack: #8995 (Popover sheet), then #8996 (DropdownMenu).
How did you test this code?
At 393px and 1440px, light and dark: