Closed
Bug 796135
Opened 13 years ago
Closed 13 years ago
Provide some obvious UI for scripts filtering
Categories
(DevTools :: Debugger, defect, P3)
DevTools
Debugger
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: vporof, Assigned: vporof)
References
Details
Attachments
(2 files, 3 obsolete files)
1.01 MB,
image/png
|
Details | |
67.58 KB,
patch
|
past
:
review+
|
Details | Diff | Splinter Review |
Currently, there's little indication on how scripts filtering works. The only thing that happens is that the first matched file is selected and the unmatched files are hidden (in an unexpanded menulist).
We either need a perpetual-expanded-dropdown-while-filtering, or some other nicer UI. I was thinking of reusing the doorhanger/popup mechanism here as well, since we already have one for operators.
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → vporof
Status: NEW → ASSIGNED
Priority: -- → P3
Assignee | ||
Comment 2•13 years ago
|
||
Obviously this should be keyboard accessible.
Assignee | ||
Comment 3•13 years ago
|
||
WIP. Doesn't do much.
Assignee | ||
Comment 4•13 years ago
|
||
Assignee | ||
Comment 5•13 years ago
|
||
Works! Needs a test.
Attachment #689663 -
Attachment is obsolete: true
Assignee | ||
Comment 6•13 years ago
|
||
onClick all the things!
Attachment #689756 -
Attachment is obsolete: true
Assignee | ||
Comment 7•13 years ago
|
||
Added test.
Attachment #689769 -
Attachment is obsolete: true
Attachment #690359 -
Flags: review?(past)
Comment 8•13 years ago
|
||
Comment on attachment 690359 [details] [diff] [review]
v3
Review of attachment 690359 [details] [diff] [review]:
-----------------------------------------------------------------
I'm starting to think I'd just use the debugger frontend for coding, since it's growing to a pretty decent clone of Sublime Text! My only gripe with this patch is the slow response in sites like GitHub, where bug 819945 is biting us.
::: browser/devtools/debugger/debugger-toolbar.js
@@ +1057,5 @@
> +create({ constructor: FilteredSourcesView, proto: MenuContainer.prototype }, {
> + /**
> + * Initialization function, called when the debugger is started.
> + */
> + initialize: function DVFS_initialize() {
I wonder if this will make the debugger frontend slower to appear when opening. We should gather some data first though, before lazy-loading everything.
Attachment #690359 -
Flags: review?(past) → review+
Assignee | ||
Comment 9•13 years ago
|
||
(In reply to Panos Astithas [:past] from comment #8)
> Comment on attachment 690359 [details] [diff] [review]
> v3
> ::: browser/devtools/debugger/debugger-toolbar.js
> @@ +1057,5 @@
> > +create({ constructor: FilteredSourcesView, proto: MenuContainer.prototype }, {
> > + /**
> > + * Initialization function, called when the debugger is started.
> > + */
> > + initialize: function DVFS_initialize() {
>
> I wonder if this will make the debugger frontend slower to appear when
> opening. We should gather some data first though, before lazy-loading
> everything.
I wouldn't worry about it, since the only bottleneck in this function is a document.createElement("panel");. We're doing the same thing with the whole UI anyway, so optimizing here would be a bad place to start :)
Assignee | ||
Comment 10•13 years ago
|
||
Whiteboard: [fixed-in-fx-team]
Comment 12•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•