-
Notifications
You must be signed in to change notification settings - Fork 417
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
Manage Duck Addresses #1828
Manage Duck Addresses #1828
Conversation
ec98e38
to
6d39e3f
Compare
09b84aa
to
391d248
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@afterxleep it looks like there is still an issue with state not being properly reset. I was running through your test steps and found (and can reproduce consistently):
- If I test 3b from a fresh app launch, everything is good
- If I test 3a, and then 3b in the same session my personal duck address saves automatically
I spent some time digging into this and it looks to me that autogeneratedCredentials
in SecureVaultManager
is not being reset correctly to false after 3a
My exact test steps were:
- On
fill.dev
I generated a private address and entered a manual password - Credentials were saved automatically ✅
- I deleted this login and went back and chose my personal duck address
- Before entering a password or tapping submit, I checked Logins and found a partial login saved with my personal duck address
@amddg44 Looking into this |
@amddg44 I've made a couple minor updates to split the logic between autogenerated usernames and passwords, updated a test and added a new one to cover for this particular scenario: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@afterxleep nice work! just a couple of nits (mostly removing some dead code) 🙂
# Conflicts: # DuckDuckGo.xcodeproj/project.pbxproj # DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved # DuckDuckGo/AutofillLoginDetailsViewModel.swift # DuckDuckGo/TabViewController.swift
Task/Issue URL: https://app.asana.com/0/72649045549333/1204615490114675/f iOS PR: duckduckgo/iOS#1828 macOS PR: duckduckgo/macos-browser#1319 What kind of version bump will this require?: Minor Description: Allows users to manage their Private Email addresses from the browser.
# Conflicts: # DuckDuckGo.xcodeproj/project.pbxproj # DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved # DuckDuckGo/UserText.swift # DuckDuckGo/en.lproj/Localizable.strings
Task/Issue URL: https://app.asana.com/0/1142021229838617/1205057443326659/f
Description:
Allows you to manage your private Duck addresses
Steps to test this PR:
Other tests
Demo:
Orientation Testing:
Device Testing:
OS Testing:
Theme Testing:
Internal references:
Software Engineering Expectations
Technical Design Template