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.
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.
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review.
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 6 files
Confidence score: 5/5
Automated review surfaced no issues in the provided summaries.
No files require special attention.
Requires human review: The PR makes bounded mobile layout changes, but the changed feature title’s behavior after saving remains unverified. A human should confirm the dismissed title finding does not affect this flow.
…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>
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>
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>
The reason will be displayed to describe this comment to others. Learn more.
0 issues found across 4 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: Scoped mobile layout fix for feature drawer and segment rules: drawers grow, dialogs stay cards, metrics/rules stack on phones. Dismissed findings match intended behavior and the title flow is consistent across FeatureProvider/FeatureRow.
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: Scoped mobile layout fix for the feature drawer and segment rules: drawers/dialogs get responsive sizing, fields and metrics stack on phones, and modal titles truncate beside the copy button. Dismissed findings match the intended phone behavior.
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: