-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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-16194] Do not sort Favorite ciphers by last used date #12466
Conversation
*/ | ||
favoriteCiphers$: Observable<PopupCipherView[]> = this.autoFillCiphers$.pipe( | ||
withLatestFrom(this._filteredCipherList$), | ||
map(([autoFillCiphers, ciphers]) => | ||
ciphers.filter((cipher) => cipher.favorite && !autoFillCiphers.includes(cipher)), | ||
), | ||
map((ciphers) => |
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.
ℹ️ The ciphers are already sorted by name via the CipherService.cipherView$
observable and do not need to be sorted again now that we are not sorting by last used.
New Issues
Fixed Issues
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #12466 +/- ##
==========================================
- Coverage 33.52% 33.49% -0.03%
==========================================
Files 2913 2917 +4
Lines 91086 91162 +76
Branches 17338 17348 +10
==========================================
+ Hits 30533 30534 +1
- Misses 58146 58228 +82
+ Partials 2407 2400 -7 ☔ View full report in Codecov by Sentry. |
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.
✅ Double approving because it means so much more now ✅
@shane-melton, why? I rather like this new sort method. Couldn't you just let us change the sorting method? |
🎟️ Tracking
PM-16194
📔 Objective
Revert the change to favorite item sorting so that favorite items are once again only sorted alphabetically by name.
📸 Screenshots
⏰ 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