Closed
Bug 1074880
Opened 10 years ago
Closed 10 years ago
Remove file icons on file tree view
Categories
(DevTools Graveyard :: WebIDE, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 35
People
(Reporter: jfong, Assigned: jfong)
Details
Attachments
(1 file, 1 obsolete file)
18.01 KB,
patch
|
jryans
:
review+
|
Details | Diff | Splinter Review |
We probably don't need images to represent the file types in the file viewer. They take up space and popular editors like Sublime just have the filename only.
Comment 1•10 years ago
|
||
+1
Assignee | ||
Comment 2•10 years ago
|
||
I think this is okay, but wanted to make sure I didn't actually blow up something else that might have been using this too.
Attachment #8499669 -
Flags: feedback?(jryans)
Comment on attachment 8499669 [details] [diff] [review]
bug1074880.patch
Review of attachment 8499669 [details] [diff] [review]:
-----------------------------------------------------------------
This looks good to me. It doesn't look like your patch actually deletes the PNG, so we should do that assuming Brian agrees below. (Bugzilla tends to fail at showing binary file changes, so I wasn't completely sure.)
Brian, did we have other consumers of project editor planned that might want these icons? If we do, we could make this a project editor option, or we could delete them for now, and revive them from source history if we do end up wanting them later.
Attachment #8499669 -
Flags: feedback?(jryans)
Attachment #8499669 -
Flags: feedback?(bgrinstead)
Attachment #8499669 -
Flags: feedback+
Comment 4•10 years ago
|
||
Comment on attachment 8499669 [details] [diff] [review]
bug1074880.patch
Review of attachment 8499669 [details] [diff] [review]:
-----------------------------------------------------------------
> Brian, did we have other consumers of project editor planned that might want
> these icons? If we do, we could make this a project editor option, or we
> could delete them for now, and revive them from source history if we do end
> up wanting them later.
Not that I know of. I don't feel too strongly about the icons either way - I actually kind of like them for things like distinguishing empty folders that don't have arrows by them - but I'm fine with removing them entirely and reviving them if we want them back in the future. The binary file does seem to be deleted in this patch, so that's already taken care of.
The only change I'd request is that all references to this.icon in tree.js get removed as well.
::: browser/devtools/projecteditor/lib/tree.js
@@ -124,5 @@
> this.elt.hidden = !visible;
>
> this.tree.options.resourceFormatter(this.resource, this.label);
>
> - this.icon.className = "file-icon";
this.icon is created and deleted elsewhere in this file - those references should be removed as well
Attachment #8499669 -
Flags: feedback?(bgrinstead) → feedback+
Updated•10 years ago
|
Status: NEW → ASSIGNED
Comment 5•10 years ago
|
||
Jen, here is a random tip for doing frontend work on the project editor - I usually just open this URL in a tab: chrome://browser/content/devtools/projecteditor-loader.xul. Then I can use devtools on it so it makes styling changes a lot easier.
Assignee | ||
Comment 6•10 years ago
|
||
Attachment #8499669 -
Attachment is obsolete: true
Attachment #8500631 -
Flags: review?(jryans)
Attachment #8500631 -
Flags: review?(jryans) → review+
Assignee | ||
Comment 7•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 8•10 years ago
|
||
Keywords: checkin-needed
Whiteboard: [fixed-in-fx-team]
Comment 9•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 35
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•5 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•