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-15584] Fix autoprompt safari process reload #12352

Merged
merged 143 commits into from
Jan 9, 2025

Conversation

quexten
Copy link
Contributor

@quexten quexten commented Dec 11, 2024

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-15584

📔 Objective

Fixes safari's autoprompting behavior. Safari does not close the browser window on lock, instead it just reloads the webpage. The fix is to simply write the last process reload date to state, and then if there was a process reload within the last INTERVAL (5 seconds), do not autoprompt.

📸 Screenshots

Screen.Recording.2024-12-11.at.15.53.42.mov

⏰ 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

quexten and others added 30 commits August 30, 2024 15:34
Co-authored-by: Maciej Zieniuk <[email protected]>
Co-authored-by: Maciej Zieniuk <[email protected]>
Base automatically changed from km/pm-10741/refactor-biometrics to main January 8, 2025 09:46
@quexten quexten dismissed stale reviews from JaredSnider-Bitwarden and mzieniukbw January 8, 2025 09:46

The base branch was changed.

@quexten quexten requested a review from a team as a code owner January 8, 2025 09:46
@quexten quexten requested a review from addisonbeck January 8, 2025 09:46
@quexten quexten removed the request for review from addisonbeck January 9, 2025 11:32
@quexten quexten merged commit 67a59b6 into main Jan 9, 2025
87 of 88 checks passed
@quexten quexten deleted the km/pm-15584/fix-safari-biometrics branch January 9, 2025 12:01
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.

4 participants