Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

When a site is pinned, the 'Include' toggle should be ON automatically simultaneously. #11905

Closed
jenn-rhim opened this issue Nov 11, 2017 · 6 comments

Comments

@jenn-rhim
Copy link

jenn-rhim commented Nov 11, 2017

Test plan

  1. Settings > Payments
  2. Select a site that has not been included
  3. Pin the site should show included icon in orange but lighter than included icon

Description

A site can be pinned in the Payments table of visited sites even if it's not included. Then the 'Include' should be turned on as the user pins the site.

Steps to Reproduce

  1. Settings > Payments
  2. Select a site that has not been included
  3. Pin the site: it is pinned but not included.

Actual result:

Pinned but still indicated that the site is not included in the payment.

Expected result:
All pinned sites should be included: Pin to pay, not just pin to locate them at the top.

Reproduces how often:

Brave Version

about:brave info:

Reproducible on current live release:

Additional Information

screen shot 2017-11-10 at 4 36 26 pm

@NejcZdovc
Copy link
Contributor

@jenn-rhim not sure that I see from the print screen what the problem is. DDG (which is pinned) has include set to ON.

@jenn-rhim
Copy link
Author

@NejcZdovc I'm not sure if you're seeing the server data that is set to On, but on the UI, the toggle is off. Attaching another one. Brave version: 0.19.88

image

@NejcZdovc
Copy link
Contributor

@jenn-rhim this is not off, this is disabled state, so that users can't un-toggle (set to OFF) pinned items. At the bottom you can see OFF state where gray is more intense then for disabled state

@jenn-rhim
Copy link
Author

2 things:

  1. Disabled state of 'ON' button should still be showing the color that means ON. That means dimmed orange. I didn't even realize that the toggle was to the right because it's totally gray, my eye follows the color rules.

  2. But more fundamentally, I don't think this toggle should be disabled. This makes the UI inflexible and create extra steps if user wants to exclude the site: you'd need to first unpin and then turn off include. Keeping it enabled doesn't harm the system. I'd propose our UI to be flexible and make it easy for user to follow their intent:

  • keep the 'include' toggle enabled at all times
  • if user pins the unincluded site, include it as well as pin it.
  • if user exclude the pinned site, unpin it and exclude at the same time
  • if user unpin the site, unpin and keep it include.

@NejcZdovc NejcZdovc added this to the Triage Backlog milestone Nov 11, 2017
@cezaraugusto cezaraugusto added the priority/P5 Cosmetic. Spelling, copy, layout. New features (which should also be part of an initiative). label Nov 21, 2017
@bsclifton bsclifton modified the milestones: Triage Backlog, Prioritized Backlog Nov 21, 2017
@NejcZdovc NejcZdovc modified the milestones: Backlog (Prioritized), 0.22.x (Developer Channel) Feb 19, 2018
@NejcZdovc NejcZdovc self-assigned this Feb 19, 2018
@NejcZdovc
Copy link
Contributor

This was fixed in 0.22 #7321

@srirambv
Copy link
Collaborator

srirambv commented Jun 19, 2018

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.11 - 6565c06
  • Muon - 7.1.0
  • libchromiumcontent - 67.0.3396.87

Verified with macOS 10.12.6 using

  • 0.23.11 6565c06
  • Muon 7.1.0
  • libchromiumcontent 67.0.3396.87

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

9 participants