[PR #6709] [MERGED] PM-32721: bug: Sort password history before persisting #64075

Closed
opened 2026-05-12 03:35:21 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/6709
Author: @david-livefront
Created: 3/23/2026
Status: Merged
Merged: 3/25/2026
Merged by: @david-livefront

Base: mainHead: PM-32721-sort-password-history


📝 Commits (1)

  • 4d383a3 PM-32721: Sort password history before persisting

📊 Changes

2 files changed (+10 additions, -7 deletions)

View changed files

📝 app/src/main/kotlin/com/x8bit/bitwarden/ui/vault/feature/vault/util/VaultAddItemStateExtensions.kt (+5 -2)
📝 app/src/test/kotlin/com/x8bit/bitwarden/ui/vault/feature/vault/util/VaultAddItemStateExtensionsTest.kt (+5 -5)

📄 Description

🎟️ Tracking

PM-32721

📔 Objective

This PR updates the logic for how we persist the password history. We now ensure that it is saved in sorted order so that other client that do not sort the list before displaying the data still display everything in the correct order.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/bitwarden/android/pull/6709 **Author:** [@david-livefront](https://github.com/david-livefront) **Created:** 3/23/2026 **Status:** ✅ Merged **Merged:** 3/25/2026 **Merged by:** [@david-livefront](https://github.com/david-livefront) **Base:** `main` ← **Head:** `PM-32721-sort-password-history` --- ### 📝 Commits (1) - [`4d383a3`](https://github.com/bitwarden/android/commit/4d383a3597302d43a6f6b521b8c526b281fb2478) PM-32721: Sort password history before persisting ### 📊 Changes **2 files changed** (+10 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `app/src/main/kotlin/com/x8bit/bitwarden/ui/vault/feature/vault/util/VaultAddItemStateExtensions.kt` (+5 -2) 📝 `app/src/test/kotlin/com/x8bit/bitwarden/ui/vault/feature/vault/util/VaultAddItemStateExtensionsTest.kt` (+5 -5) </details> ### 📄 Description ## 🎟️ Tracking [PM-32721](https://bitwarden.atlassian.net/browse/PM-32721) ## 📔 Objective This PR updates the logic for how we persist the password history. We now ensure that it is saved in sorted order so that other client that do not sort the list before displaying the data still display everything in the correct order. [PM-32721]: https://bitwarden.atlassian.net/browse/PM-32721?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-12 03:35:21 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#64075