+list
---------- Forwarded message ----------
From: Girish Sharma <
scrapm...@gmail.com>
Date: Sat, Jun 8, 2013 at 3:41 AM
Subject: Re: UI suggestions for black boxing?
To:
fit...@mozilla.com
On Sat, Jun 8, 2013 at 3:36 AM, Fitzgerald, Nick <
nfitz...@mozilla.com>wrote:
> Hey Toolers,
>
> I'm hoping for some ideas and feedback on possible UIs for black boxing
> sources.
>
> What I initially imagined was having a context menu on each source in the
> left pane of the debugger where you could toggle black boxing on and off.
>
> But I was talking with Benvie this morning and he brought up some great
> points: what if you want to black box a bunch of different sources?
> Selecting them each one at a time sucks. What if you always want to black
> box minified sources? Again, selecting them one at a time sucks.
>
How many of these libraries people use on an average ? 3 ? 5 ? Selecting 4
libraries one time would not seem a much to me, but ..
I think if we also did a context menu on the directory dividers to black
> box all sources for that directory, we would handle a large chunk of the
> first problem. Generally my experience has been that devs keep all third
> party libraries inside a single directory, and they could just black box
> that directory this way.
>
> this will be a much better approach (along side the above one).
Another option is maybe allowing devs to specify a regexp on sources they
> want to black box. Then they could specify something like /.+\.min\.js/ to
> match and black box minified files. I don't know how we would actually
> present this option to the user, though.
>
> May be for the first landing, this can be avoided and then lets see how
much is this needed. If quite a few number of people requested regex based
blackboxing, then it can be provided in a followup.
> Does anyone have any feedback or ideas?
>
> Nick
>
> PS, the bug for this is here:
https://bugzilla.mozilla.org/**
> show_bug.cgi?id=877686<
https://bugzilla.mozilla.org/show_bug.cgi?id=877686>
> ______________________________**_________________
> dev-developer-tools mailing list
> dev-developer-tools@lists.**
mozilla.org<
dev-devel...@lists.mozilla.org>
>
https://lists.mozilla.org/**listinfo/dev-developer-tools<
https://lists.mozilla.org/listinfo/dev-developer-tools>
>
--
Girish Sharma
B.Tech(H), Civil Engineering,
Indian Institute of Technology, Kharagpur
--
Girish Sharma
B.Tech(H), Civil Engineering,
Indian Institute of Technology, Kharagpur