-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change permission UI on Desktop to enable / expose "permission until X" ability #14127
Comments
cc @karenkliu we would need assistance from the design team |
I made a simple implementation for the permission lifetime selector to use while the feature is in the development state. If it's okay, I can push it to nightly and then we can update it to the proper UI when it's ready. l27h0PmfC5.mp4 |
while in development we can merge it covered with a feature flag, so please make a PR |
@karenkliu personally I would prefer to keep the ability to allow in one click, with some reasonable default. |
I think that sounds good, though I think it'd be good to help curious users know more if they wanted. Could we add a "help" (or similar) link to a wiki or community support page? Then either I or someone from #support could write that up. |
Designs updated! |
@karenkliu The actual UI looks like this: "site permissions" links to
Please share you thoughts if we should improve it a little more or it's currently fine. Thanks! |
@goodov Thanks for walking me through it! 👍
No highlight is fine if we're not recommending either action.
It looks fine as is. We'll have a separate effort to bring the overall dialog style in line with the design system - Poppins typography, icons from our icon library, the correct link color and so on. Don't worry about it for now. |
Setting to |
I took a closer look at this today, using
@LaurenWags @rebron @kjozwiak thoughts on "good enough" to verify, for now, since the real work will be done over in #14126? Verified the above spot checks using
Verification passed on
Logged #15180 |
@stephendonner this looks good to me but let's get confirmation from @rebron @kjozwiak @karenkliu before proceeding on other platforms 👍🏻 |
To clarify, the UX is in-line, the UI is not 😆 . It works as designed, but the buttons/dropdowns don't look like what's in our style guide. There will be a separate effort to clean that up! I don't see any issues with carrying over this permissions control dialog to other platforms. |
Thanks for making the correction on the distinction between UI/UX - I didn't mean to conflate the two, and my verification steps basically attest the UX is good :-) |
@karenkliu I got this permission prompt for the first time and was really confused by it. I showed it to @bbondy and he assumed "Forever" was a mistake. I definitely don't feel like it's clear that the dropdown only applies to "Allow", but until @pes10k pointed me to this ticket (I didn't find anything in the original #14126) I had no idea if the @bbondy was right or if "Forever" was correct and the UI was just confusing. |
is there a reason why the permission length doesn't apply to "block"? |
I think it should just say Block as the timeframe is specified in the drop down. As long as functionality matches that. |
I appreciate your concerns, but let me explain. The decision to change Is this behavior change and consequences clear for everyone and we're okay with that? @bridiver @bbondy @pes10k |
The problem right now is that the UI is confusing. In my opinion we either need to change the behavior (apply the dropdown timeframe to block) or change the UI to make it more clear that the dropdown does not apply to block. I don’t have a strong opinion on which change, but I do think we need a change.
… On May 4, 2021, at 12:37 AM, Aleksey Khoroshilov ***@***.***> wrote:
is there a reason why the permission length doesn't apply to "block"?
I think it should just say Block as the timeframe is specified in the drop down. As long as functionality matches that.
I appreciate your concerns, but let me explain. The decision to change Block to Block forever and add Give permission label for the dropdown comes from the idea that Block button behavior shouldn't change so a user can block permission request (and browser should remember it!) just by clicking it right away. If we change it to use the dropdown then it will require 2 additional clicks to block a permission request forever for this site. The muscle memory is a thing and this may be quite irritating for users.
Is this behavior change and consequences clear for everyone and we're okay with that? @bridiver @bbondy @pes10k
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I've implemented a change to handle lifetime options in "Block" decision brave/brave-core#8693 We should also take into account the Android dialog. It's a little different from what we have on desktop and we have no many options to change it, so the #15603 will cover all confusions on desktop and it will apply to Android as well. |
@bridiver and @bbondy Can you take a look at the two proposed designs in #15603 to fix this UI issue and let us know which one is preferred? This design applies the time frame in the dropdown to both Allow and Block options: The downside is that it might be unnecessary to provide other time frame options for Block - would someone really want to block a permission request only until the site is closed? This design lets you block forever in a click, and only select an Allow time length after clicking Allow: The downside is that this design requires two clicks to allow a permission request. |
I guess I don't see why a temporary allow is any more useful than a temporary block. In both cases it saves users from accidental permanent block/allow since they may not know how to find permissions in the settings ui |
an even better option imo would be the first option, but when "Forever" is selected we could show a checkbox to "make forever the default for all permission prompts" |
The current default behaviour is to So I think the currently implemented lifetimes UI improves privacy: it limits "Allowed" stuff, but doesn't change the default lifetime for blocked permissions. IMO making "block" bound to the site lifetime would not be beneficial neither for privacy nor for UX (users will encounter more notifications) |
Maybe we could move "Allow" to the same line as the combobox, and leave |
Description
This issue is follow up work for #14126
This issue is specifically to track the design and implementation of UI for desktop Brave, to enable / expose the new capabilities defined in #14126
The current (from upstream / default Chromium) UI currently looks like this:
Design
Dropdown options:
Links:
brave://settings/content
.Assets
Figma: https://www.figma.com/file/pVwKlNQJU9wTVOa9tImKpo/Browser-Dialogs?node-id=26%3A51
Use button component: https://www.figma.com/file/z9wmg2FCwuXx9FLbDo5avJ/Platform-UI-Brave-desktop?node-id=1011%3A0
Use link component: https://www.figma.com/file/z9wmg2FCwuXx9FLbDo5avJ/Platform-UI-Brave-desktop?node-id=766%3A9370
The text was updated successfully, but these errors were encountered: