Repository navigation
feat(Tables): Open table filters as a popover, a bottom sheet on phones - #8997
talissoncosta wants to merge 11 commits into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
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. |
ee16aff to
9f9f33d
Compare
765ebf0 to
77f46d5
Compare
9f9f33d to
4fcad7a
Compare
77f46d5 to
cbf624f
Compare
4fcad7a to
85c4880
Compare
cbf624f to
73a6ef1
Compare
There was a problem hiding this comment.
All reported issues were addressed across 7 files
Reply with feedback, questions, or to request a fix.
Turn on auto-fix | Re-trigger cubic
✅ private-cloud · depot-ubuntu-latest-16 — run #23818 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
🗂️ Previous results✅ private-cloud · depot-ubuntu-latest-arm-16 — run #23818 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
✅ oss · depot-ubuntu-latest-arm-16 — run #23818 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
✅ oss · depot-ubuntu-latest-16 — run #23818 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-16)Details
✅ private-cloud · depot-ubuntu-latest-arm-16 — run #23817 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
✅ private-cloud · depot-ubuntu-latest-16 — run #23817 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
✅ oss · depot-ubuntu-latest-arm-16 — run #23817 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-arm-16)Details
✅ oss · depot-ubuntu-latest-16 — run #23817 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-16)Details
❌ private-cloud · depot-ubuntu-latest-arm-16 — run #23814 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-arm-16)Details
Failed testsfirefox › tests/flag-dependencies-test.pw.ts › Flag Dependencies › A flag can be gated behind another, and says so on both sides @oss ❌ oss · depot-ubuntu-latest-16 — run #23814 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-16)Details
Failed testsfirefox › tests/flag-dependencies-test.pw.ts › Flag Dependencies › A flag can be gated behind another, and says so on both sides @oss ❌ private-cloud · depot-ubuntu-latest-16 — run #23813 (attempt 1)Playwright Test Results (private-cloud - depot-ubuntu-latest-16)Details
Failed testsfirefox › tests/flag-dependencies-test.pw.ts › Flag Dependencies › A flag can be gated behind another, and says so on both sides @oss ❌ oss · depot-ubuntu-latest-16 — run #23813 (attempt 1)Playwright Test Results (oss - depot-ubuntu-latest-16)Details
Failed testsfirefox › tests/flag-dependencies-test.pw.ts › Flag Dependencies › A flag can be gated behind another, and says so on both sides @oss |
Visual Regression29 screenshots compared. See report for details. |
TableFilter and TableFilterItem get their own stylesheets instead of rules in the global _modals.scss. The row border uses a token, so it no longer needs a .dark rule. PanelSearch and TableSortFilter, which borrow the row class for their sort rows, import its stylesheet until they move to DropdownMenu. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Drops the ionicon caret and its inline styles. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
TableSortFilter and PanelSearch built their own rows with the table-filter-item class. They now use TableFilterItem, which shows the sort direction on the active option through a sortOrder prop. PanelSearch also drops its ionicons. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
0 issues found across 9 files (changes from recent commits).
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Requires human review: Auto-approval blocked by 1 unresolved issue from previous reviews.
Turn on auto-fix | Re-trigger cubic
…n E2E TableFilterItem was a link to '#' that only ran an action; it is now a BareButton with aria-pressed for the selected option. E2E finds the archived tag option and the history compare options by role and name, so the table-filter and history compare test ids are removed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n styles Stops borrowing InlineModal's inline-modal--sm, inline-modal__title and inline-modal__list classes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
0 issues found across 9 files (changes from recent commits).
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Requires human review: Refactors table filters to Popover/bottom-sheet UI and buttons, updates e2e role selectors. The dismissed PanelSearch sheet-sizing issue remains in the diff, so deferring it needs human sign-off.
Turn on auto-fix | Re-trigger cubic
There was a problem hiding this comment.
0 issues found across 10 files (changes from recent commits).
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Requires human review: Refactors table filters to Popover/bottom-sheet UI with button rows and updates e2e selectors. The dismissed PanelSearch phone-sheet sizing issue remains: sort rows still render outside the sheet-sizing wrapper, so deferring it needs human sign-off.
Turn on auto-fix | Re-trigger cubic
The features list's Value filter is now also a button named exactly Value. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
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.
Requires human review: Refactors table filters to Popover/bottom-sheet UI with button rows and updated e2e selectors. The dismissed PanelSearch phone-sheet sizing issue remains: its sort rows still render outside TableFilter's sheet-sizing wrapper, so deferring that fix needs human sign-off.
Turn on auto-fix | Re-trigger cubic
Every filter but Tags hid it, and Tags used it for its strategy select, not a title. Tags now renders the select in its own content, so hideTitle and dropdownTitle go. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
0 issues found across 6 files (changes from recent commits).
Confidence score: 5/5
- Automated review surfaced no issues in the provided summaries.
- No files require special attention.
Requires human review: Refactors table filters from InlineModal to Popover/bottom-sheet UI, converting options to buttons and updating e2e selectors. The dismissed PanelSearch phone-sheet sizing issue still applies and is deferred, so a human should accept that scope decision.
Turn on auto-fix | Re-trigger cubic
docs/if required so people know about the feature.Changes
Contributes to ENG-643. Independent of #8996.
The feature list filters (Tags, Value, Users, Groups, View, Sort) used
InlineModal, which a mobile rule stretches to a blank full-screen panel.TableFilternow usesPopover: anchored on desktop as before, a bottom sheet on phones.TableFilterOptionsreusesTableFilterinstead of duplicating the trigger andInlineModal.label(Tags, Value, Users, Groups), used as the sheet heading and the popup's name.BareButton,aria-pressedon the selected one) instead of links to#. The sort lists inTableSortFilterandPanelSearchrenderTableFilterItemtoo, with asortOrderprop for the direction, instead of copying its markup.TableFilterandTableFilterItemkeep their styles in their own stylesheets; the rules leave the global_modals.scssand stop borrowing InlineModal classes. The row border uses a token.table-filter-*and compare test ids are gone.Also used by the View filter in
FeatureFilters,FeatureImportandFeaturesTableFilters(no changes needed there).How did you test this code?
compareVersionsnow picks Live or Previous by role): enterprise tests don't run on PRs, so not run yet.