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

Add omnibar icon for exempted malicious site #5594

Conversation

CrisBarreiro
Copy link
Contributor

@CrisBarreiro CrisBarreiro commented Feb 4, 2025

Task/Issue URL: https://app.asana.com/0/1205008441501016/1209289567264350

Description

Add omnibar icon for exempted malicious site

Steps to test this PR

Feature 1

UI changes

Before After
!(Upload before screenshot) (Upload after screenshot)

@CrisBarreiro CrisBarreiro mentioned this pull request Feb 4, 2025
4 tasks
Copy link
Contributor Author

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link
Contributor

@malmstein malmstein left a comment

Choose a reason for hiding this comment

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

Works as expected, thanks @CrisBarreiro !

I’ve added a question about the colors, but nothing that blocks this PR.

WARNING -> {
val res = if (appTheme.isLightModeEnabled()) R.raw.unprotected_shield else R.raw.dark_unprotected_shield
MALICIOUS -> {
val res = R.raw.alert_red
Copy link
Contributor

Choose a reason for hiding this comment

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

Asked in https://app.asana.com/0/1203867924525323/1209269732493260 about the single file for both themes.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch, I initially thought we probably didn't need to do anything, but I had forgotten about the different shade of red. Thanks!

@CrisBarreiro CrisBarreiro force-pushed the feature/cris/malicious-site-protection/integrate-privacy-dashboard branch from 44269fd to e52cd0f Compare February 5, 2025 14:05
@CrisBarreiro CrisBarreiro force-pushed the feature/cris/malicious-site-protection/add-exempted-site-omnibar-icon branch from 2dc9c0c to b85824f Compare February 5, 2025 14:05
@CrisBarreiro CrisBarreiro merged commit b85824f into feature/cris/malicious-site-protection/integrate-privacy-dashboard Feb 5, 2025
2 of 5 checks passed
@CrisBarreiro CrisBarreiro deleted the feature/cris/malicious-site-protection/add-exempted-site-omnibar-icon branch February 5, 2025 14:22
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.

2 participants