Closed
Bug 1614028
Opened 6 years ago
Closed 11 months ago
Redesign the Sources>Directory Root UI
Categories
(DevTools :: Debugger, enhancement, P3)
DevTools
Debugger
Tracking
(firefox139 fixed)
RESOLVED
FIXED
139 Branch
| Tracking | Status | |
|---|---|---|
| firefox139 | --- | fixed |
People
(Reporter: fvsch, Assigned: hbenl)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
When using the "Set directory root" feature in the context menu in Sources, the resulting UI is not super obvious. Some issues:
- It's not obvious how to go back to the general view. (Currently we can click the whole "header" row to go back. It has a tooltip on hover: "Remove directory root".)
- We're losing visual information on what kind of element was selected as the root: a domain, an extension, a folder?
- When we select a folder which has a generic name ("js", "dist", "components"), we lose domain and path information.
- Visual polish: the icon size and spacing could be more consistent with other Debugger UI.
| Reporter | ||
Comment 1•6 years ago
•
|
||
A mock-up I did a few months ago:
- Rather than "Home > [selected]" which implies a parent-child relationship, use a common "Title and back button" navigation pattern.
- On hover on the back button, we should keep the "Remove directory root" tooltip.
- On hover on the title, we could show the full URL to the selected root (e.g.
https://example.com/selected/folder/)
| Reporter | ||
Comment 2•6 years ago
|
||
Question: to help with ambiguous root names (e.g. "dist", "js"), should we show more information? We could use the full URL, clipped on the left:
| ⬅︎ | https://www.gatsbyjs.org/blog |
for a longer URL:
| ⬅︎ | …17-09-13-why-is-gatsby-so-fast |
Pros:
- Show relevant information quicker
- More information for short directory names
Cons:
- Noisier
- URLs not ideal for extensions
Updated•5 years ago
|
Blocks: dbg-frontend
Priority: -- → P3
Updated•3 years ago
|
Severity: normal → S3
| Assignee | ||
Updated•11 months ago
|
Assignee: nobody → hbenl
Status: NEW → ASSIGNED
| Assignee | ||
Comment 3•11 months ago
|
||
- use the back icon instead of the home icon and a different separator
- show the directory root's full URL and thread name in the tooltip
Pushed by hbenl@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/e86f6f08cbc1
[devtools] Redesign the directory root UI. r=devtools-reviewers,nchevobbe
Comment 5•11 months ago
|
||
Backed out for causing dt failures on browser_dbg-project-root.js, browser_parsable_css.js
Flags: needinfo?(hbenl)
Pushed by hbenl@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/7451144df2ea
[devtools] Redesign the directory root UI. r=devtools-reviewers,nchevobbe
| Assignee | ||
Updated•11 months ago
|
Flags: needinfo?(hbenl)
Comment 7•11 months ago
|
||
Backed out for causing failures at browser_dbg-quick-open.js.
Backout link: https://hg-edge.mozilla.org/integration/autoland/rev/0963e7a5fc887251dc9a434f22f1ab7ab08f5517
Failure log: https://treeherder.mozilla.org/logviewer?job_id=504073961&repo=autoland&lineNumber=6847
Flags: needinfo?(hbenl)
| Assignee | ||
Updated•11 months ago
|
Flags: needinfo?(hbenl)
Pushed by hbenl@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/082f956a13e5
[devtools] Redesign the directory root UI. r=devtools-reviewers,nchevobbe
Comment 9•11 months ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 11 months ago
status-firefox139:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 139 Branch
Updated•11 months ago
|
QA Whiteboard: [qa-triage-done-c140/b139]
You need to log in
before you can comment on or make changes to this bug.
Description
•