On new History Sidebar (sidebar.revamp=true) with sort by `Date and Site`, The shape of the expand/collapse indicator changes differently depending on the date and site. The indentation width for nested elements is broken, making it unintuitive.
Categories
(Firefox :: Sidebar, defect, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox-esr140 | --- | unaffected |
| firefox-esr153 | --- | wontfix |
| firefox156 | --- | wontfix |
| firefox157 | --- | wontfix |
| firefox158 | --- | wontfix |
| firefox159 | --- | fix-optional |
People
(Reporter: alice0775, Unassigned)
References
(Regression)
Details
(Keywords: nightly-community, regression, useless-UI, Whiteboard: [fidefe-sidebar])
Attachments
(1 file, 1 external file)
|
104.05 KB,
image/png
|
Details |
When sorted by Date and Site in the history sidebar, it’s hard to tell whether entries are expanded or collapsed.
The shape of the expand/collapse indicator changes differently them.
Furthermore, because the indentation width for the date is larger than that of the site it belongs to, the nesting structure is very difficult to understand.
Comment 1•2 months ago
|
||
Set release status flags based on info from the regressing bug 1978102
:sfoster, since you are the author of the regressor, bug 1978102, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
Comment 2•2 months ago
|
||
| frontend-triage | ||
Possible duplicate: 2063224
sidebar-history.css overrides --card-accordion-closed-icon and --card-accordion-open-icon on .nested-card to arrow-right and arrow-down (bug 1924349), while the parent .date-card keeps moz-card's defaults of arrow-down closed and arrow-up open (moz-card.css), so under "Date and Site" arrow-down means collapsed on a date row and expanded on the site row directly beneath it. The indentation half is #24-26 giving the nested heading var(--space-xsmall) of inline padding inside a date-card #content whose own inline padding nova zeroes (sidebar.css), leaving the child heading inboard of its parent's 8px.
Fix: Drop the two --card-accordion-*-icon declarations so both levels use one chevron convention, and replace the nested heading padding with a margin-inline-start on .nested-card so the site heading and its rows indent together. browser_history_sidebar.js and browser_history_keyboard_navigation.js already build this sort mode but assert nothing about icons or geometry, so the regression test belongs there.
Suggested severity: S3. The two-level grouping that is the whole point of "Date and Site" is hard to read, with no data or functionality lost and another sort mode available as a workaround.
If you'd like to provide feedback on this comment, please use the 👍 or 👎 reaction.
If you want to categorize your feedback you can add one of the following tags: ai-triage-wrong-file, ai-triage-wrong-cause, ai-triage-hallucination, ai-triage-out-of-scope, ai-triage-wrong-fix, ai-triage-shallow-fix.
Needinfo hackbot@mozilla.tld to have a patch generated for this bug, include any questions or directions as needed in your comment.
Updated•2 months ago
|
Comment 3•2 months ago
|
||
In the revamped History sidebar sorted by "Date and Site", the parent .date-card used moz-card's default accordion chevron (arrow-down when closed, arrow-up when open), while .nested-card overrode --card-accordion-closed-icon/--card-accordion-open-icon to arrow-right/arrow-down. As a result the two nesting levels showed different indicators for the same open/closed state (e.g. an expanded date row showed an up arrow while its expanded site row showed a down arrow), making it hard to tell what was expanded.
The nested card also had no inline indent step. Under browser.nova.enabled the date card's #content inline padding is zeroed (--card-padding: 0), so the nested site heading rendered inboard of its parent date heading, reversing the visual hierarchy.
Fix:
- Drop the two
--card-accordion-*-iconoverrides on.nested-cardso every history accordion (date-only, site-only, and both levels of Date and Site) shares one chevron convention. - Add
margin-inline-start: var(--space-medium)to.nested-cardso the site heading and its rows indent together to the right of the parent date card, correct with nova on or off.
This also addresses the indentation-only report in bug 2063224, which can be marked as a duplicate.
Updated•2 months ago
|
Updated•2 months ago
|
Comment 4•2 months ago
|
||
Set release status flags based on info from the regressing bug 1978102
Updated•1 month ago
|
Updated•1 month ago
|
Description
•