Closed
Bug 1100135
Opened 10 years ago
Closed 9 years ago
DevTools Themes: Replace checkmark symbol with word 'Status' in Netmonitor header
Categories
(DevTools :: Netmonitor, defect)
DevTools
Netmonitor
Tracking
(firefox46 verified)
VERIFIED
FIXED
Firefox 46
Tracking | Status | |
---|---|---|
firefox46 | --- | verified |
People
(Reporter: me, Assigned: me, Mentored)
References
Details
Attachments
(3 files, 2 obsolete files)
From Bug 951714 Comment 68:
> Also, perhaps we can now change the checkmark symbol to read "Status" now?
Assignee | ||
Updated•10 years ago
|
Assignee | ||
Updated•10 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•9 years ago
|
||
Changing the checkmark for the word 'Status' will make that column much wider. That is not a big problem for the normal layout but it is more problematic in the responsive view, where the is less space. Right now, we only display the status icon so the column takes very few space (see screenshot).
Which considerations should we take before working on this bug? We want to make that column much wider in the responsive view? If that is the case, should we also display the status code?
Flags: needinfo?(ntim.bugs)
Comment 2•9 years ago
|
||
(In reply to Albert Juhé from comment #1)
> Created attachment 8696246 [details]
> Screenshot from 2015-12-05 17:13:50.png
>
> We want to make that column much wider in the responsive view? If that is the case,
> should we also display the status code?
Yeah, I think it's better to stay consistent for both modes. The status code is essential to have, we should have it in both modes too.
Flags: needinfo?(ntim.bugs)
Assignee | ||
Comment 3•9 years ago
|
||
This patch already works, there is only one thing missing:
> data-key="status"
> - label="&netmonitorUI.toolbar.status2;"
> + label="Status"
> flex="1">
What is the correct way to change UI texts? It's my first time modifying one and I don't know how to do it.
Attachment #8697058 -
Flags: feedback?(ntim.bugs)
Comment 4•9 years ago
|
||
(In reply to Albert Juhé from comment #3)
> Created attachment 8697058 [details] [diff] [review]
> Bug1100135.patch
>
> This patch already works, there is only one thing missing:
>
> > data-key="status"
> > - label="&netmonitorUI.toolbar.status2;"
> > + label="Status"
> > flex="1">
>
> What is the correct way to change UI texts? It's my first time modifying one
> and I don't know how to do it.
Nope, you need to change the string here (and it's ID (netmonitorUI.toolbar.status2) as well, so localizers can catch the change): https://dxr.mozilla.org/mozilla-central/source/devtools/client/locales/en-US/netmonitor.dtd#27
You can then replace netmonitorUI.toolbar.status2 with the new ID in netmonitor.xul.
Updated•9 years ago
|
Attachment #8697058 -
Flags: feedback?(ntim.bugs)
Assignee | ||
Comment 5•9 years ago
|
||
Here it is the patch.
Tim, I marked you as a reviewer, but the mentor of the bug is Victor Porof, not sure which one of you two must review it. Please, correct the flag if it is wrong.
Attachment #8697058 -
Attachment is obsolete: true
Attachment #8697362 -
Flags: review?(ntim.bugs)
Comment 6•9 years ago
|
||
Looks great !
Comment 7•9 years ago
|
||
Comment on attachment 8697362 [details] [diff] [review]
Bug1100135.patch
Review of attachment 8697362 [details] [diff] [review]:
-----------------------------------------------------------------
This looks good to me, but :vporof should also look at this since I'm not a peer (you should also change r=ntim to r=vporof,ntim in the commit message).
::: devtools/client/themes/netmonitor.css
@@ +792,4 @@
> }
>
> + .requests-menu-status-code {
> + width: auto;
Have you tested if this is needed ?
Attachment #8697362 -
Flags: review?(vporof)
Attachment #8697362 -
Flags: review?(ntim.bugs)
Attachment #8697362 -
Flags: review+
Updated•9 years ago
|
Attachment #8697362 -
Flags: review?(vporof) → review+
Assignee | ||
Comment 8•9 years ago
|
||
> This looks good to me, but :vporof should also look at this since I'm not a
> peer (you should also change r=ntim to r=vporof,ntim in the commit message).
Done. I already marked is a r=+ and [checkin-needed].
> Have you tested if this is needed ?
Yes, it is in order to overwrite the 'width: 3em;' set for the "big layout" some lines above.
Maybe a better solution would be to make the "small layout" the default one and a media query for the "big layout"? Anyway, that is out of the scope of this bug.
Attachment #8697362 -
Attachment is obsolete: true
Attachment #8697678 -
Flags: review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Comment 10•9 years ago
|
||
Keywords: checkin-needed
Comment 11•9 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
status-firefox46:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 46
Comment 12•9 years ago
|
||
I have reproduced this bug on Nightly 36.0a1 (2014-11-16) on ubuntu 14.04 LTS, 32 bit!
The bug's fix is now verified on Latest Nightly 46.0a1!
Build ID: 20160112030227
User Agent: Mozilla/5.0 (X11; Linux i686; rv:46.0) Gecko/20100101 Firefox/46.0
QA Whiteboard: [bugday-20160113]
Comment 13•9 years ago
|
||
Reproduced the bug in firefox nightly 36.0a1 (2014-11-16) with windows 10 (64 bit)
Verified as fixed with latest firefox nightly 46.0a1 (Build ID: 20160112030227)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:46.0) Gecko/20100101 Firefox/46.0
As it is also verified on Linux (Comment 12), Marking it as verified!
Status: RESOLVED → VERIFIED
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•