Closed
Bug 872670
Opened 12 years ago
Closed 12 years ago
Visually indicate that the tool is not supported on the target type in the Options panel
Categories
(DevTools :: Framework, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
Firefox 24
People
(Reporter: Optimizer, Assigned: Optimizer)
References
Details
(Whiteboard: [fixed-in-fx-team])
Attachments
(1 file, 2 obsolete files)
11.84 KB,
patch
|
Optimizer
:
review+
|
Details | Diff | Splinter Review |
For example, if the tool does not support remote target, disable the checkbox and have a tooltip saying that target is not supported
Assignee | ||
Comment 1•12 years ago
|
||
Will disable the checkbox with a tooltip saying that target not supported.
Assignee: nobody → scrapmachines
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•12 years ago
|
||
Just calling isTargetSupported of the tool to see if target is supported. Adding a tooltip if not.
Attachment #754959 -
Flags: review?(jwalker)
Comment 3•12 years ago
|
||
Comment on attachment 754959 [details] [diff] [review]
patch v1
Review of attachment 754959 [details] [diff] [review]:
-----------------------------------------------------------------
This could be confusing couldn't it? By default we have disabled the new (theoretical) 'appcache' panel. Appcache is disabled whenever the site isn't using appcache.
Since it's disabled by default, people don't know about the appcache panel. You're browsing the web and you read about the new appcache panel, and there are instructions on how to enable it, so you then have to hunt around for a site that supports appcache in order to enable it.
Or did I misunderstand?
Attachment #754959 -
Flags: review?(jwalker)
Assignee | ||
Comment 4•12 years ago
|
||
(In reply to Joe Walker [:jwalker] from comment #3)
> Comment on attachment 754959 [details] [diff] [review]
> patch v1
>
> Review of attachment 754959 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> This could be confusing couldn't it? By default we have disabled the new
> (theoretical) 'appcache' panel. Appcache is disabled whenever the site isn't
> using appcache.
>
> Since it's disabled by default, people don't know about the appcache panel.
> You're browsing the web and you read about the new appcache panel, and there
> are instructions on how to enable it, so you then have to hunt around for a
> site that supports appcache in order to enable it.
umm. I have no idea what you are talking about.
> Or did I misunderstand?
This bug is for the following purpose :
Open a remote toolbox. Inspector is still not remote-able, so it will not be present in the toolbox. But when you go to options panel, the Inspector tool is still checked. The user is not confused, he tries to uncheck it and then check it again, but Inspector does not appear.
Same goes for any add-on that does not support either remote target or window target.
Comment 5•12 years ago
|
||
(In reply to Girish Sharma [:Optimizer] from comment #4)
> (In reply to Joe Walker [:jwalker] from comment #3)
> > Comment on attachment 754959 [details] [diff] [review]
> > patch v1
> >
> > Review of attachment 754959 [details] [diff] [review]:
> > -----------------------------------------------------------------
> >
> > This could be confusing couldn't it? By default we have disabled the new
> > (theoretical) 'appcache' panel. Appcache is disabled whenever the site isn't
> > using appcache.
> >
> > Since it's disabled by default, people don't know about the appcache panel.
> > You're browsing the web and you read about the new appcache panel, and there
> > are instructions on how to enable it, so you then have to hunt around for a
> > site that supports appcache in order to enable it.
>
> umm. I have no idea what you are talking about.
>
> > Or did I misunderstand?
>
> This bug is for the following purpose :
>
> Open a remote toolbox. Inspector is still not remote-able, so it will not be
> present in the toolbox. But when you go to options panel, the Inspector tool
> is still checked. The user is not confused, he tries to uncheck it and then
> check it again, but Inspector does not appear.
>
> Same goes for any add-on that does not support either remote target or
> window target.
So my understanding is correct.
Look at it another way - the options panel changes global options, but you're mixing target based information in with those global options.
We could perhaps indicate to the user with some text why the inspector doesn't appear ("Disabled for {reason}") or something. But altering the availability of global options based on locality doesn't make sense to me.
Assignee | ||
Comment 6•12 years ago
|
||
I see now what you are trying to say. So instead of disabling, should I just mark it with different color somehow ? Adding a text would take a lot of space, thus I reverted to using tooltips. How do you suggest to show a text alongside the checkbox.
Comment 7•12 years ago
|
||
(In reply to Girish Sharma [:Optimizer] from comment #6)
> I see now what you are trying to say. So instead of disabling, should I just
> mark it with different color somehow ? Adding a text would take a lot of
> space, thus I reverted to using tooltips. How do you suggest to show a text
> alongside the checkbox.
There's lots of space just to the right of the tool name isn't there?
Assignee | ||
Comment 8•12 years ago
|
||
Using similar approach as in bug 864249, added a double dagger mark after the non supported tool, and just below list of all tools, adding the explanation.
Attachment #754959 -
Attachment is obsolete: true
Attachment #759941 -
Flags: review?(jwalker)
Assignee | ||
Comment 9•12 years ago
|
||
Comment 10•12 years ago
|
||
Comment on attachment 759941 [details] [diff] [review]
patch v2
Review of attachment 759941 [details] [diff] [review]:
-----------------------------------------------------------------
Given bug 881807, we could use * rather than the double dagger thing!
Attachment #759941 -
Flags: review?(jwalker) → review+
Assignee | ||
Comment 11•12 years ago
|
||
(In reply to Joe Walker [:jwalker] from comment #10)
> Given bug 881807, we could use * rather than the double dagger thing!
Agreed. Let me see if I can fix that quickly before this one to not have a key change.
Assignee | ||
Comment 12•12 years ago
|
||
Using * instead of the dagger as star is free now (see bug 881807)
Attachment #759941 -
Attachment is obsolete: true
Attachment #765560 -
Flags: review+
Assignee | ||
Comment 13•12 years ago
|
||
Note that this bug and bug 881807 should be landed in the same push, this first then 881807
Assignee | ||
Updated•12 years ago
|
Whiteboard: [land-in-fx-team]
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Comment 14•12 years ago
|
||
Keywords: checkin-needed
Whiteboard: [land-in-fx-team]
Comment 15•12 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Updated•12 years ago
|
Target Milestone: --- → Firefox 24
Updated•7 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•