Skip to content
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

Don't show animation of content setting image at all #2639

Merged
merged 1 commit into from
Jun 11, 2019

Conversation

simonhong
Copy link
Member

@simonhong simonhong commented Jun 10, 2019

Frequent slide animation distracts users.

Fix brave/brave-browser#3751

Submitter Checklist:

Test Plan:

See brave/brave-browser#3751 for STR.

Reviewer Checklist:

  • New files have MPL-2.0 license header.
  • Request a security/privacy review as needed.
  • Adequate test coverage exists to prevent regressions
  • Verify test plan is specified in PR before merging to source

After-merge Checklist:

  • The associated issue milestone is set to the smallest version that the
    changes has landed on.
  • All relevant documentation has been updated.

@simonhong simonhong added this to the 0.68.x - Nightly milestone Jun 10, 2019
@simonhong simonhong self-assigned this Jun 10, 2019
@simonhong simonhong force-pushed the content_setting_imaga_slide_animation branch 3 times, most recently from b4540ee to 975637c Compare June 10, 2019 12:16
@simonhong simonhong marked this pull request as ready for review June 10, 2019 12:20
Copy link
Member

@darkdh darkdh left a comment

Choose a reason for hiding this comment

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

we can get rid of the entire autoplay animation by removing this line

set_explanatory_string_id(IDS_BLOCKED_AUTOPLAY_TITLE);

Widevine used to have this animation and it is removed
so why do we still show it for the first time if user find it annoying?

@bsclifton
Copy link
Member

Asking for designer/pm input now... cc: @bradleyrichter @rebron

@simonhong
Copy link
Member Author

@darkdh Yup, we can hide with empty explanatory string for autoplay.
This PR is more general fix for disabling all slide animation not just for autoplay. (waiting for @rebron 's more inputs about this.)

@simonhong simonhong force-pushed the content_setting_imaga_slide_animation branch from 975637c to 1909b12 Compare June 10, 2019 22:28
@rebron
Copy link
Collaborator

rebron commented Jun 10, 2019

I discussed with @bradleyrichter. Let's remove slide animation altogether, don't even show for first time use.

@simonhong simonhong force-pushed the content_setting_imaga_slide_animation branch from 1909b12 to 5c6cd0b Compare June 10, 2019 22:29
Frequent slide animation distracts users.
@simonhong simonhong force-pushed the content_setting_imaga_slide_animation branch from 5c6cd0b to a5e5467 Compare June 11, 2019 01:37
@simonhong simonhong changed the title Don't show animation of content setting image for every tab changing Don't show animation of content setting image at all Jun 11, 2019
@simonhong
Copy link
Member Author

@darkdh slide animations for all content settings are disabled. PTAL again.

@simonhong simonhong requested a review from darkdh June 11, 2019 01:47
@simonhong simonhong merged commit fa8d3a5 into master Jun 11, 2019
@simonhong simonhong deleted the content_setting_imaga_slide_animation branch June 11, 2019 11:18
@bsclifton
Copy link
Member

Awesome job on this one, @simonhong! Thanks for the quick review, @darkdh 😄

@the-4-limbos
Copy link

Is it normal that i am still getting the auto video play is blocked 'notification' in my adress bar?

Brave is up to date
Version 0.66.99 Chromium: 75.0.3770.100 (Official Build) (64-bit)

It show it to me every time i go to another page on facebook

Untitled12

@simonhong
Copy link
Member Author

@the-4-limbos yes, this change is not yet in current stable(0.66). It is int dev channel (0.68.x)

hashmi-waseem pushed a commit to hashmi-waseem/brave-core that referenced this pull request May 6, 2024
call `Initialize` at the time that brave ads is disabled, not on shut…
hashmi-waseem pushed a commit to hashmi-waseem/brave-core that referenced this pull request May 6, 2024
call `Initialize` at the time that brave ads is disabled, not on shut…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

please delete
5 participants