Closed
Bug 1062617
Opened 10 years ago
Closed 8 years ago
DevTools: Style Editor Import button should Open a Dialog box which defaults to CSS files
Categories
(DevTools :: Style Editor, defect, P3)
Tracking
(firefox49 fixed)
RESOLVED
FIXED
Firefox 49
Tracking | Status | |
---|---|---|
firefox49 | --- | fixed |
People
(Reporter: sys.sgx, Assigned: tephra)
Details
(Whiteboard: [good first bug][lang=js])
Attachments
(1 file)
850 bytes,
patch
|
miker
:
review+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:35.0) Gecko/20100101 Firefox/35.0 Build ID: 20140903072057 Steps to reproduce: Open DevTools Style Editor, and then click on the Import button. The OS dialog box that opens, should be allowed by default to select only files with the extension of css.
Component: Untriaged → Developer Tools: Style Editor
OS: Windows 7 → All
Hardware: x86 → All
Comment 1•10 years ago
|
||
I am able to reproduce the bug reported above: the OS dialog box that opens lists all files, not only the ones with extension css.
Updated•8 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Updated•8 years ago
|
Whiteboard: [good first bug][lang=js]
Assignee | ||
Comment 2•8 years ago
|
||
First contribution to devtools. Seems like we called the wrong function here and should have called appendFilters instead of appendFilter. Not sure who to tag to review this any help with that? // Eric
Comment 3•8 years ago
|
||
Thanks for your contribution Eric. Not sure who knows the file picker API to review this change. I have never used it. I think maybe Mike might know more about this.
Updated•8 years ago
|
Attachment #8747476 -
Flags: review?(mratcliffe)
Comment on attachment 8747476 [details] [diff] [review] Patch v1 Review of attachment 8747476 [details] [diff] [review]: ----------------------------------------------------------------- (In reply to eric from comment #2) > Created attachment 8747476 [details] [diff] [review] > Patch v1 > > First contribution to devtools. Seems like we called the wrong function here > and should have called appendFilters instead of appendFilter. > > Not sure who to tag to review this any help with that? > > // Eric We should have called appendFilter instead of appendFilters, which is what your patch does. Great work! It is much appreciated.
Attachment #8747476 -
Flags: review?(mratcliffe) → review+
Assignee | ||
Comment 5•8 years ago
|
||
(In reply to Michael Ratcliffe [:miker] [:mratcliffe] from comment #4) > Comment on attachment 8747476 [details] [diff] [review] > Patch v1 > > Review of attachment 8747476 [details] [diff] [review]: > ----------------------------------------------------------------- > > (In reply to eric from comment #2) > > Created attachment 8747476 [details] [diff] [review] > > Patch v1 > > > > First contribution to devtools. Seems like we called the wrong function here > > and should have called appendFilters instead of appendFilter. > > > > Not sure who to tag to review this any help with that? > > > > // Eric > > We should have called appendFilter instead of appendFilters, which is what > your patch does. > > Great work! It is much appreciated. Thanks Michael! It's been a while since my last contribution to firefox so correct me if I'm wrong. This needs to get pushed to the try-server before adding the checkin needed flag right? // Eric
Flags: needinfo?(mratcliffe)
Yes, and to push to try you would need Level 1 Commit Access, but we normally wait for you to submit a few patches first. Would you like me to push this to try?
Flags: needinfo?(mratcliffe)
Assignee | ||
Comment 7•8 years ago
|
||
(In reply to Michael Ratcliffe [:miker] [:mratcliffe] from comment #6) > Yes, and to push to try you would need Level 1 Commit Access, but we > normally wait for you to submit a few patches first. > > Would you like me to push this to try? Yeah that would be great thanks!
https://treeherder.mozilla.org/#/jobs?repo=try&revision=6d68c28660e4
Assignee: nobody → eric
This passes on try, marking as checkin-needed.
Keywords: checkin-needed
Assignee | ||
Comment 10•8 years ago
|
||
(In reply to Michael Ratcliffe [:miker] [:mratcliffe] from comment #9) > This passes on try, marking as checkin-needed. Thanks Michael, had some work stuff over the weekend and haven't had time to mark it yet! Thanks for the help on this bug :)
Comment 11•8 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/3bc242e75155
Keywords: checkin-needed
This originally had the wrong bug number (102617), I backed that out and relanded it with the right number in https://hg.mozilla.org/integration/fx-team/rev/3bc242e75155
Comment 13•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/3bc242e75155
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox49:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 49
Comment 14•8 years ago
|
||
I have reproduced this bug with Nightly 35.0a1(2014-09-03) on Windows 10, 64 bit! The Bug's fix is now verified on Beta 49.0b1. Build ID 20160802125918 User Agent Mozilla/5.0 (Windows NT 10.0; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 [bugday-20160803]
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•