Browser-laptop: On disable switch make the text grayed out

Created on 9 Mar 2017  Â·  16Comments  Â·  Source: brave/browser-laptop

Test plan

See https://github.com/brave/browser-laptop/pull/12455

Original issue description

  • Did you search for similar issues before submitting this one?

  • Describe the issue you encountered:

  • Platform (Win7, 8, 10? macOS? Linux distro?):

  • Brave Version (revision SHA):

  • Steps to reproduce:
    1.
    2.
    3.

  • Actual result:

  • Expected result:

  • Will the steps above reproduce in a fresh profile? If not what other info can be added?

  • Is this an issue in the currently released version?

  • Can this issue be consistently reproduced?

  • Extra QA steps:
    1.
    2.
    3.

  • Screenshot if needed:

  • Any related issues:

Qchecked-Linux Qchecked-Win64 Qchecked-macOS Qtest-plan-specified bug bugood-first-bug design release-noteinclude

All 16 comments

Like this?

screenshot 2017-03-08 16 41 27

Yes

CC @bradleyrichter for a comment

yes please

When would the switch be disabled?
This shouldn't be off state if that's what is meant.

@bradleyrichter would you want this grayed out when disabled? Or also when the switch is turned to off?

I would only grey out when checkbox is disabled

Correct. Only if a switch is disabled, not toggled off. I think we currently have few examples of this.

On Mar 11, 2017, at 11:16 PM, Nejc Zdovc notifications@github.com wrote:

I would only grey out when checkbox is disabled

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Moving to 0.13.7

Example in Preferences > Plugins:
image
It looks like the shields panel already has this behavior:
image

Removing milestone

I'd like to attempt a PR for this if no on else is working on it.

Is there any way to use the browser's Developer tools to debug the browser's UI? This would help me understand the code better and debug.

Shift+F8 activates the devtool ;-)

Attached a screenshot in the pull request as well, thank you for reviewing. 😄

Verified on Windows 10 x64 using

  • 0.23.11 6565c06
  • Muon 7.1.0
  • libchromiumcontent 67.0.3396.87

Verified on Ubuntu 17.10 x64

  • 0.23.12 - 88f6f0767c05ba5c4793ec2430a5cd742092fa6d
  • Muon - 7.1.1
  • libchromiumcontent - 67.0.3396.87

Verified on macOS 10.13.4 x64 using the following build:

  • 0.23.12 88f6f0767c05ba5c4793ec2430a5cd742092fa6d
  • muon: 7.1.1
  • libchromiumcontent: 67.0.3396.87
Was this page helpful?
0 / 5 - 0 ratings

Related issues

luixxiul picture luixxiul  Â·  3Comments

stevespringett picture stevespringett  Â·  3Comments

shortstuffsushi picture shortstuffsushi  Â·  3Comments

bsclifton picture bsclifton  Â·  3Comments

antiroyalty picture antiroyalty  Â·  3Comments