Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Closes #9131: Add site permission indicators in the toolbar #9162

Merged
merged 3 commits into from
Dec 10, 2020

Conversation

Amejia481
Copy link
Contributor

@Amejia481 Amejia481 commented Dec 8, 2020

We want to add an icon in the toolbar to make users aware of some site permissions that are allowed/denied on a site.
For the moment, we want to start with autoplay to mimic the same behaviour as we have in desktop see #9131 (comment), later we could add an site permission indicator when sites are granted location access (same as desktop).

This is an example of how the icon will work after we finish working on #9156, for now we want to introduce the api.

Fenix pr mozilla-mobile/fenix#16947

Pull Request checklist

  • Quality: This PR builds and passes detekt/ktlint checks (A pre-push hook is recommended)
  • Tests: This PR includes thorough tests or an explanation of why it does not
  • Changelog: This PR includes a changelog entry or does not need one
  • Accessibility: The code in this PR follows accessibility best practices or does not include any user facing features

After merge

  • Milestone: Make sure issues closed by this pull request are added to the milestone of the version currently in development.
  • Breaking Changes: If this is a breaking change, please push a draft PR on Reference Browser to address the breaking issues.

@Amejia481 Amejia481 added the 🕵️‍♀️ needs review PRs that need to be reviewed label Dec 8, 2020
@Amejia481 Amejia481 requested a review from pocmo December 8, 2020 04:05
@Amejia481 Amejia481 requested review from csadilek and a team as code owners December 8, 2020 04:05
@Amejia481 Amejia481 removed request for csadilek and a team December 8, 2020 04:05
@mergify
Copy link
Contributor

mergify bot commented Dec 8, 2020

This pull request has conflicts when rebasing. Could you fix it @Amejia481? 🙏

@Amejia481 Amejia481 force-pushed the issue-9131 branch 3 times, most recently from dc11b4e to fb8a8b7 Compare December 8, 2020 20:36
@Amejia481 Amejia481 requested a review from jonalmeida as a code owner December 8, 2020 20:36
@Amejia481 Amejia481 requested a review from pocmo December 8, 2020 20:55
@Amejia481
Copy link
Contributor Author

@pocmo I updated the pr!

@Amejia481
Copy link
Contributor Author

I added this separated commit 7dfcf44 for updating indicator when need and showing it on sample browsers

Copy link
Contributor

@pocmo pocmo left a comment

Choose a reason for hiding this comment

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

Awesome.

Great that we were able to continue have a flat layout :)

@pocmo pocmo added 🛬 needs landing PRs that are ready to land and removed 🕵️‍♀️ needs review PRs that need to be reviewed labels Dec 10, 2020
@mergify mergify bot merged commit e5876a1 into mozilla-mobile:master Dec 10, 2020
@Amejia481
Copy link
Contributor Author

:)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🛬 needs landing PRs that are ready to land
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants