Closed Bug 1005635 Opened 10 years ago Closed 10 years ago

Remove reference to noise.png from browser/devtools/framework/connect/connect.css

Categories

(DevTools :: Framework, defect)

Other
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 32

People

(Reporter: ntim, Assigned: lviknesh)

Details

(Whiteboard: [good first bug][lang=css])

Attachments

(2 files, 1 obsolete file)

Now that we want to use a flat design. Noise.png is useless. It'd be nice to remove it.

Also, Brian, do you want to mentor this bug ?
Flags: needinfo?(bgrinstead)
Summary: Remove browse/themes/shared/images/noise.png and it's references → Remove browser/themes/shared/images/noise.png and it's references
References to the file: http://dxr.mozilla.org/mozilla-central/search?q=regexp%3Aurl\%28[%27%22]noise|url\%28[%27%22].*devtools\%2Fnoise&case=false.

There is a rule on the connect screen (chrome://browser/content/devtools/connect.xhtml) that can be removed, as it has a background color anyway.  Unfortunately, this would affect the UI on the app manager as well (I'll upload a screenshot to show).

Tim, would you want to remove the line in connect.css and upload it here?
Flags: needinfo?(bgrinstead)
Attached image noise-bg.png
It's subtle, but the noise image is used here in the app manager (you can see it on the background on the left)
(In reply to Brian Grinstead [:bgrins] from comment #1)
> References to the file:
> http://dxr.mozilla.org/mozilla-central/
> search?q=regexp%3Aurl\%28[%27%22]noise|url\%28[%27%22].
> *devtools\%2Fnoise&case=false.
> 
> There is a rule on the connect screen
> (chrome://browser/content/devtools/connect.xhtml) that can be removed, as it
> has a background color anyway.  Unfortunately, this would affect the UI on
> the app manager as well (I'll upload a screenshot to show).
> 
> Tim, would you want to remove the line in connect.css and upload it here?

Sure, but the goal of this bug was for new developers to get the opportunity to do it :)

Anyways, found another file that needs to be removed, so I might as well do it.
(In reply to Tim Nguyen [:ntim] from comment #3)
> (In reply to Brian Grinstead [:bgrins] from comment #1)
> > References to the file:
> > http://dxr.mozilla.org/mozilla-central/
> > search?q=regexp%3Aurl\%28[%27%22]noise|url\%28[%27%22].
> > *devtools\%2Fnoise&case=false.
> > 
> > There is a rule on the connect screen
> > (chrome://browser/content/devtools/connect.xhtml) that can be removed, as it
> > has a background color anyway.  Unfortunately, this would affect the UI on
> > the app manager as well (I'll upload a screenshot to show).
> > 
> > Tim, would you want to remove the line in connect.css and upload it here?
> 
> Sure, but the goal of this bug was for new developers to get the opportunity
> to do it :)
> 
> Anyways, found another file that needs to be removed, so I might as well do
> it.

(background-noise-toolbar.png)
Hey Tim , 
     Is it enough to remove noise.png reference or even background-noise-toolbar.png ? Thank you :)
(In reply to vikneshwar from comment #5)
> Hey Tim , 
>      Is it enough to remove noise.png reference or even
> background-noise-toolbar.png ? Thank you :)

Yeah, just remove both of them,  but only in the devtools/ directory.
Other files with those names shouldn't be removed if they're not in the devtools/ directory.

I'm guessing you want this assigned to you ?
Assignee: nobody → lviknesh
Status: NEW → ASSIGNED
Actually, I don't think either of these files can be fully removed.  

background-noise-toolbar is used for codemirror:
http://dxr.mozilla.org/mozilla-central/search?q=regexp%3Aurl\%28[%27%22]background-noise-toolbaar|url\%28[%27%22].*devtools\%2Fbackground-noise-toolbar&redirect=true.

The only thing I think we can remove is the reference to noise.png from browser/devtools/framework/connect/connect.css.
Summary: Remove browser/themes/shared/images/noise.png and it's references → Remove reference to noise.png from browser/devtools/framework/connect/connect.css
Attached patch noise.patch (obsolete) — Splinter Review
Attachment #8420949 - Flags: feedback?(bgrinstead)
Comment on attachment 8420949 [details] [diff] [review]
noise.patch

Review of attachment 8420949 [details] [diff] [review]:
-----------------------------------------------------------------

Can you add r=bgrins at the end of the patch commit message?
Attachment #8420949 - Flags: feedback?(bgrinstead) → feedback+
Since its feedback for the previous patch , i had doubt about adding review to the commit message :)
Attachment #8420957 - Flags: review?(bgrinstead)
Attachment #8420949 - Attachment is obsolete: true
Attachment #8420957 - Flags: review?(bgrinstead) → review+
https://hg.mozilla.org/integration/fx-team/rev/c07f77a27d5b

Thanks for the patch! One request, can you please make sure that future patches include all of the necessary commit information when requesting checkin? Thanks!
https://developer.mozilla.org/en-US/docs/Mercurial_FAQ#How_can_I_generate_a_patch_for_somebody_else_to_check-in_for_me.3F
Keywords: checkin-needed
Whiteboard: [good first bug][lang=css] → [good first bug][lang=css][fixed-in-fx-team]
https://hg.mozilla.org/mozilla-central/rev/c07f77a27d5b
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [good first bug][lang=css][fixed-in-fx-team] → [good first bug][lang=css]
Target Milestone: --- → Firefox 32
Why should background-noise-toolbar.png stay for the devtools ? CodeMirror only used it for it's findbar to match the older theme. Now that we made our UI flat, we should get rid of it right ?
Flags: needinfo?(bgrinstead)
(In reply to Tim Nguyen [:ntim] from comment #13)
> Why should background-noise-toolbar.png stay for the devtools ? CodeMirror
> only used it for it's findbar to match the older theme. Now that we made our
> UI flat, we should get rid of it right ?

I guess so, I don't see much of a difference with or without it.  We could possibly use that as an opportunity to do a better job of theming the 'find' popup it to match the light theme (adding a theme-light, theme-dark rule for .CodeMirror-dialog).   Want to open a new bug for it?
Flags: needinfo?(bgrinstead)
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: