mozilla-mobile / firefox-ios

Firefox for iOS
Mozilla Public License 2.0
12.24k stars 2.94k forks source link

Bugfix FXIOS-10537 - Password Generator: Hide Strong Password in App Switcher #23271

Open DanielDervishi opened 1 day ago

DanielDervishi commented 1 day ago

:scroll: Tickets

Jira ticket Github issue

:bulb: Description

Hide the generated password for the password generator in the app switcher. I have received design approval to simply hide the generated password as done below.

Potential Concern: The actions for blurring and showing the password generator are sent each time the app enters the app switcher and when the app enters back into the foreground. This happens independent of whether or not the password generator is being shown. I don't believe we have a state for if the password generator is being shown available, so I'm not too sure how we'd check if its being displayed before dispatching the action. Any thoughts would be greatly appreciated :)

https://github.com/user-attachments/assets/a73d5266-fd10-4a2f-a8c2-66550e0d82a2

:pencil: Checklist

You have to check all boxes before merging