Closed
Bug 777681
Opened 12 years ago
Closed 12 years ago
[rule view] Abbreviate long CSS file names source links
Categories
(DevTools :: Inspector, defect, P3)
DevTools
Inspector
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 23
People
(Reporter: harth, Assigned: dcrewi)
References
(Depends on 1 open bug)
Details
Attachments
(2 files, 2 obsolete files)
(deleted),
image/png
|
Details | |
(deleted),
patch
|
Details | Diff | Splinter Review |
A bunch of websites use hashes in their CSS file names apparently. The screenshot here is from Github. This forces a horizontal scrollbar in the rule view. It looks like Chrome solves this by cutting the url off. Another idea: we throw an ellipsis in the middle like "github-cf328ed...8294cb.css". We should also show the full name in a tooltip and enable copying the link location from the context menu.
Comment 1•12 years ago
|
||
Bug triage, filter on PINKISBEAUTIFUL
Priority: -- → P3
Summary: Abbreviate long CSS file names in rule view source links → [rule view] Abbreviate long CSS file names source links
Updated•12 years ago
|
Depends on: DevToolsPaperCuts
Assignee | ||
Comment 2•12 years ago
|
||
The dependency between this bug and bug 831711 should be reversed. (Right?)
Assignee | ||
Comment 3•12 years ago
|
||
This patch puts an ellipsis in the middle and adds tooltips.
Attachment #730437 -
Flags: review?(paul)
Comment 4•12 years ago
|
||
Thank you David. Can I ask you to rebase your patch on the current tree? We made a lot of changes lately on the Rule View.
Assignee | ||
Comment 5•12 years ago
|
||
No problem. Rebased, as requested.
Attachment #730437 -
Attachment is obsolete: true
Attachment #730437 -
Flags: review?(paul)
Attachment #730844 -
Flags: review?(paul)
Comment 6•12 years ago
|
||
Comment on attachment 730844 [details] [diff] [review] patch v2, rebased Paul is on vacation, I'll do it.
Attachment #730844 -
Flags: review?(paul) → review?(jwalker)
Updated•12 years ago
|
Attachment #730844 -
Flags: review?(jwalker) → review+
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → dcrewi
Comment 8•12 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/0289f7473afa
Whiteboard: [land-in-fx-team] → [fixed-in-fx-team]
Comment 9•12 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/d14c0b0326b7 Backed out for test failures: https://tbpl.mozilla.org/php/getParsedLog.php?id=21638227&tree=Fx-Team
Status: NEW → ASSIGNED
Whiteboard: [fixed-in-fx-team]
Assignee | ||
Comment 10•12 years ago
|
||
Those failures aren't caused by this patch. I get those failures locally, independent of whether this patch is applied. The tests browser_ruleview_editor_changedvalues.js and browser_ruleview_ui.js timeout waiting for focus. The funny thing is that I get timeouts when I run it inside xvfb, but the tests succeed when I run them outside in the real X server.
Comment 11•12 years ago
|
||
They were failing in all Windows and OS X build configurations and the failures stopped after the backout. You can't argue with that :-) I don't get any of these failures locally, so if you do, you already are in a good position to debug this!
Assignee | ||
Comment 12•12 years ago
|
||
Attachment #730844 -
Attachment is obsolete: true
Comment 13•12 years ago
|
||
Try run: https://tbpl.mozilla.org/?tree=Try&rev=2ff490c76e42
Comment 14•12 years ago
|
||
Try is green. Is this ready to reland ro do you need another review? Can you describe the changes in this version?
Assignee | ||
Comment 15•12 years ago
|
||
The original patch seems to have changed the layout enough to cause the tests' mouse click event to miss the element in a not-reproducible-on-every-platform way. My solution was to offset the location of the click event some more to cause it to hit the text reliably once again.
Comment 16•12 years ago
|
||
> in a not-reproducible-on-every-platform way
All platforms don't have the same resolution and screen size. That might explain why.
Assignee | ||
Comment 17•12 years ago
|
||
So I suppose this is ready to land?
Comment 18•12 years ago
|
||
Added to my list of things to land unless anyone else gets there first.
Whiteboard: [land-in-fx-team]
Comment 19•12 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/eaeff37cbffc
Whiteboard: [land-in-fx-team] → [fixed-in-fx-team]
Comment 20•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/eaeff37cbffc
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 23
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•