Closed
Bug 1906125
Opened 2 months ago
Closed 2 months ago
Unify CSS rules around various tree expand arrows
Categories
(DevTools :: General, enhancement)
DevTools
General
Tracking
(firefox130 fixed)
RESOLVED
FIXED
130 Branch
Tracking | Status | |
---|---|---|
firefox130 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
Details
Attachments
(4 files)
There is a lot of duplicated and slightly different ways to handle arrows in our various trees.
Let's try to unify that a bit, so that the various tree behaves the same, while removing a bunch of CSS rules.
Assignee | ||
Comment 1•2 months ago
|
||
- make them both use .theme-twisty to show an arrow icon.
- move some specifics stylings of SourcesTree to the base class.
- make SourcesTree use the arrow React component provided by Tree class.
- use .theme-twisty instead of .arrow (which already implements rotation and colors on expand). But it uses "open" instead of "expanded" classname.
(VirtualizedTree was already using theme-twisty)
This impacts the Source Tree, ObjectInspector (console, debugger), Watch Expressions, memory panel (dominator view).
Updated•2 months ago
|
Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•2 months ago
|
||
We could also drop the custom "focused" classname and instead rely on one being put by VirtualizedTree on tree-node
(like Tree is doing).
Assignee | ||
Comment 3•2 months ago
|
||
Assignee | ||
Comment 4•2 months ago
|
||
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a8eff52b3a26 [devtools] Unify VirtualizedTree and Tree CSS and move SourcesTree specifics to Tree. r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/0c2896d93e21 [devtools] Use default Tree stylesheets for the memory panel. r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/92c474b8b41a [devtools] Fix arrows orientation of debugger accordion in RTL. r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/be6b3324bc2c [devtools] Implement memory panel odd background in CSS instead of JS. r=devtools-reviewers,nchevobbe
Comment 6•2 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a8eff52b3a26
https://hg.mozilla.org/mozilla-central/rev/0c2896d93e21
https://hg.mozilla.org/mozilla-central/rev/92c474b8b41a
https://hg.mozilla.org/mozilla-central/rev/be6b3324bc2c
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
status-firefox130:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•