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

new Shields #78

Merged
merged 20 commits into from
Oct 30, 2018
Merged

new Shields #78

merged 20 commits into from
Oct 30, 2018

Conversation

cezaraugusto
Copy link
Contributor

@cezaraugusto cezaraugusto commented Oct 29, 2018

@bsclifton
Copy link
Member

Some notes for reviewers after @cezaraugusto, @tomlowenthal, and myself met 😄

@bsclifton
Copy link
Member

bsclifton commented Oct 29, 2018

Nitpick: We should probably hide the Allow all and/or Block all if there are 0 items blocked
screen shot 2018-10-29 at 3 43 37 pm

@bsclifton
Copy link
Member

bsclifton commented Oct 29, 2018

Even when I hover over these entries (blocked resources), there doesn’t appear to be a way to either see the full resource or (when selecting manually and copy/pasting) copying the full resource to the clipboard

screen shot 2018-10-29 at 3 46 34 pm

My suggestion here would be to show the full resource name and then wrap to next line, like the current implementation:
screen shot 2018-10-29 at 3 54 39 pm

@bsclifton
Copy link
Member

bsclifton commented Oct 29, 2018

Kind of a weird white box shown after the origin when you inspect scripts blocked:
screen shot 2018-10-29 at 4 00 21 pm

UPDATE: on Windows, it becomes a little more obvious (a scrollbar is being added?!?); maybe this is due to overflow?
screen shot 2018-10-29 at 4 14 54 pm

@bsclifton
Copy link
Member

Nitpick: kind of a weird looking focus ring? Important to show I believe, for keyboard users. But the ring extends itself into the counter
omg-focus-ring

@bsclifton
Copy link
Member

Here’s one that seems to be Windows specific; and since this is supposed to be a native drop-down, I’m not sure what is happening?
(text is a little hard to read)
screen shot 2018-10-29 at 4 16 44 pm

Existing one (in our live release) doesn't seem to have any color issues:
screen shot 2018-10-29 at 4 21 01 pm

Copy link
Member

@bsclifton bsclifton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on macOS and Windows (needs a Linux test). Several issues called out- the ability to see full resource name (ex: for copy/pasting) is important... same with the weird boxes / color being off for select box. The nitpick items are nice-to-haves IMO, but not blockers

Great job with this 😄 I can re-review after you're able to check out those items

@diracdeltas
Copy link
Member

when i go to vox.com with scripts blocked and select 'allow once' for all scripts, it still shows 2 scripts blocked no matter how many times i repeat the 'allow all' process:
screen shot 2018-10-29 at 8 22 12 pm

when i expand the scripts section, it shows only one script blocked from origin null/ :(

screen shot 2018-10-29 at 8 21 56 pm

Copy link
Member

@diracdeltas diracdeltas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

noscript null origin issue: #78 (comment)

@yrliou
Copy link
Member

yrliou commented Oct 30, 2018

reproduced #78 (comment) in current brave-core and browser-laptop, so I think we should open a separate issue to track this one.

browser-laptop:
screen shot 2018-10-29 at 8 38 59 pm
screen shot 2018-10-29 at 8 42 51 pm

current brave-core:
screen shot 2018-10-29 at 8 33 26 pm
screen shot 2018-10-29 at 8 33 30 pm

@bsclifton
Copy link
Member

@diracdeltas since that behavior was present before, I created brave/brave-browser#1901 to track it

While this new approach might make that more visible, the bug was present before. I'd like to propose approving and then fixing in 0.57.x. We could then ask folks if uplifting the fix to 0.56.x would be appropriate

Copy link
Member

@bsclifton bsclifton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works great after the fixes! 😄Awesome job on this one

Copy link
Member

@yrliou yrliou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

codes LGTM, tested on linux and mac.
It would be nice to have the updated design for blocked scripts list from @karenkliu because the current UI would confuse users and also we would lost details of blocked scripts that we currently have.
I'll let others to decide if it should block this PR, cc @bsclifton @tomlowenthal @karenkliu

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