Closed
Bug 1835032
Opened 3 years ago
Closed 3 years ago
Always show the `<details>` element, even when there's only 1 usage of the property
Categories
(DevTools :: Inspector: Compatibility, task)
DevTools
Inspector: Compatibility
Tracking
(firefox115 fixed)
RESOLVED
FIXED
115 Branch
| Tracking | Status | |
|---|---|---|
| firefox115 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
Details
Attachments
(1 file, 1 external file)
|
34.63 KB,
image/png
|
Details |
At the moment, in the "All issues" section, if the property is only used by one element, we directly show the element, but if it's used by multiple ones, we render <details>/<summary> elements to group all the nodes under.
We shouldn't have this inconsistency as it could be confusing for people.
Let's always have the <details> element, and if it only has one item inside it, automatically open it.
| Assignee | ||
Comment 1•3 years ago
|
||
We used to directly render the element using the property when
it was only used in one element.
For consistency, let's always show the X occurence details element,
and have it open if the property is only used in one element.
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/704d157b4af6
[devtools] Always show number of occurences in All Issues section. r=devtools-reviewers,jdescottes.
Comment 3•3 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
status-firefox115:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•