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

PM-12736: Dismiss badge for autofill once enabled #1020

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

matt-livefront
Copy link
Collaborator

@matt-livefront matt-livefront commented Oct 8, 2024

🎟️ Tracking

PM-12736

📔 Objective

Dismisses the autofill badge if the app is foregrounded and the autofill extension is enabled. Previously this was only happening on start up or when the autofill view was open.

📸 Screenshots

Simulator.Screen.Recording.-.iPhone.15.Pro.-.2024-10-08.at.12.38.55.mp4

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • ❓ (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • ❌ (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

@@ -77,6 +83,10 @@ public class AppProcessor {
for await _ in services.notificationCenterService.willEnterForegroundPublisher() {
startEventTimer()
await checkAccountsForTimeout()
await completeAutofillAccountSetupIfEnabled()
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

ℹ️ This was the primary change here, adding this check when the app is foregrounded.

Copy link

codecov bot commented Oct 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.10%. Comparing base (0ddd1a5) to head (a2c95a6).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1020   +/-   ##
=======================================
  Coverage   89.09%   89.10%           
=======================================
  Files         660      660           
  Lines       41354    41364   +10     
=======================================
+ Hits        36846    36858   +12     
+ Misses       4508     4506    -2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

github-actions bot commented Oct 8, 2024

Logo
Checkmarx One – Scan Summary & Details60aa4f9b-84d1-4b9a-a4ee-3b4b60e72be0

No New Or Fixed Issues Found

fedemkr
fedemkr previously approved these changes Oct 8, 2024
phil-livefront
phil-livefront previously approved these changes Oct 8, 2024
Base automatically changed from matt/PM-12780-vault-unlock-action-card-get-started to main October 8, 2024 21:17
@matt-livefront matt-livefront dismissed stale reviews from phil-livefront and fedemkr October 8, 2024 21:17

The base branch was changed.

@matt-livefront matt-livefront merged commit d5979fa into main Oct 9, 2024
9 checks passed
@matt-livefront matt-livefront deleted the matt/PM-12736-dismiss-settings-badges branch October 9, 2024 14:09
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.

3 participants