Refactor VaultPage component: remove exposed password checks, add bulk delete functionality for folders, and improve list rendering performance

- Removed password breach checking logic and related state management from VaultPage.
- Introduced bulk delete functionality for folders with a confirmation dialog.
- Enhanced list rendering with virtualization to improve performance.
- Updated styles for folder actions and list items for better UI consistency.
- Removed unused password breach library and related translations.
This commit is contained in:
shuaiplus
2026-03-11 02:22:35 +08:00
parent bc5efbf2fd
commit f4d2e7932a
11 changed files with 491 additions and 490 deletions
+10 -3
View File
@@ -601,6 +601,12 @@ input[type='file'].input::file-selector-button:hover {
margin-bottom: 0;
}
.folder-title-actions {
display: inline-flex;
align-items: center;
gap: 8px;
}
.folder-add-btn {
border: none;
background: transparent;
@@ -808,9 +814,11 @@ input[type='file'].input::file-selector-button:hover {
border-radius: 10px;
padding: 10px 12px;
display: flex;
align-items: flex-start;
align-items: center;
gap: 10px;
margin-bottom: 8px;
min-height: 66px;
box-sizing: border-box;
}
.list-item:hover {
@@ -836,7 +844,7 @@ input[type='file'].input::file-selector-button:hover {
background: transparent;
padding: 0;
display: flex;
align-items: flex-start;
align-items: center;
gap: 10px;
text-align: left;
cursor: pointer;
@@ -848,7 +856,6 @@ input[type='file'].input::file-selector-button:hover {
display: grid;
place-items: center;
flex-shrink: 0;
margin-top: 1px;
}
.list-icon {