-
Notifications
You must be signed in to change notification settings - Fork 53
[PM-13015] Remember last opened view (View/Edit cipher) #1053
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
Conversation
… (currently View cipher and Edit cipher). UT not added yet.
No New Or Fixed Issues Found |
BitwardenShared/UI/Vault/VaultItem/ViewItem/ViewItemProcessor.swift
Outdated
Show resolved
Hide resolved
# Conflicts: # BitwardenShared/UI/Platform/Application/AppProcessor.swift
…ltiple accounts. Also changed the container for weak targets to be a WeakWrapper object to apply a common array instead of a NSPointerArray to be more like Swift language.
# Conflicts: # BitwardenShared/UI/Platform/Application/AppCoordinatorTests.swift
# Conflicts: # BitwardenShared/UI/Auth/Extensions/AuthRouter+Redirects.swift
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1053 +/- ##
==========================================
+ Coverage 89.36% 89.38% +0.02%
==========================================
Files 677 679 +2
Lines 42817 42964 +147
==========================================
+ Hits 38262 38405 +143
- Misses 4555 4559 +4 ☔ View full report in Codecov by Sentry. |
waitFor(!errorReporter.errors.isEmpty) | ||
XCTAssertEqual(errorReporter.errors as? [BitwardenTestError], [.example]) | ||
} | ||
|
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.
🔨 just a lint warning to clean up for file_length
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.
Done, nice catch, thanks!
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.
LGTM! just need to resolve conflicts but approving nonetheless
# Conflicts: # BitwardenShared/UI/Auth/Extensions/AuthRouter+Redirects.swift
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.
This turned out nice! One minor comment but I'll leave that up to you.
🎟️ Tracking
PM-13015
📔 Objective
This PR lays the grounds to remember the last opened view from the user when timeout lock happens.
So if user is automatically locked the last opened view with a minimum state will be saved and when the user unlocks, it will navigate to such view loading it.
This is currently constrained to:
And it's remembered for 5 minutes; after that unlocking will proceed to the default navigation.
📸 Screenshots
Remeber.last.opened.view.mov
⏰ Reminders before review
🦮 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