[PM-40510] feat: rename vault-filter query param to sharedFolderId#21968
[PM-40510] feat: rename vault-filter query param to sharedFolderId#21968jaasen-livefront wants to merge 1 commit into
Conversation
…erId Behind the vfo1-foundation flag, RoutedVaultFilterService now reads both sharedFolderId and legacy collectionId query params (preferring the new one) and, in createRoute(), writes sharedFolderId while nulling collectionId when the flag is on (reverse when off). Split from PM-40252 (terminology-only).
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE Reviewed the rename of the vault-filter query param from Code Review DetailsNo findings. The one behavioral nuance — app-level direct query-param writers still write |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #21968 +/- ##
==========================================
+ Coverage 52.03% 52.11% +0.07%
==========================================
Files 4098 4114 +16
Lines 129733 130240 +507
Branches 20349 20447 +98
==========================================
+ Hits 67507 67873 +366
- Misses 57237 57349 +112
- Partials 4989 5018 +29 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-40510
📔 Objective
Behind the
vfo1-foundationfeature flag (off by default), rename the vault-filter query param fromcollectionIdtosharedFolderIdin the sharedRoutedVaultFilterService:filter$) accepts bothsharedFolderIdand legacycollectionId(preferring the new one), so existing/bookmarked?collectionId=links keep working during the transition. TheRoutedVaultFilterModel.collectionIdfield name is unchanged — only the URL param is renamed.createRoute()writessharedFolderIdand nullscollectionIdwhen the flag is on; writescollectionIdand nullssharedFolderIdwhen off (queryParamsHandling: "merge"clears the stale param).Split from PM-40252 (terminology-only) — it is the only routing/behavioral change and is coupled to the per-client reader/writer migrations. App-level direct query-param readers/writers (apps/web
vault.component,vault-collection-actions.service; apps/browsernew-item-page) are migrated in the per-client tickets; until then the flag stays off, so no broken window.