Skip to content

[PM-46898] fix: Use "My items" casing consistently - #24752

Merged
nick-livefront merged 5 commits into
mainfrom
vault-my-items-lowercase
Nov 13, 2026
Merged

nick-livefront merged 5 commits into
mainfrom
vault-my-items-lowercase

Conversation

@nick-livefront

@nick-livefront nick-livefront commented Nov 13, 2026 •

Copy link
Copy Markdown
Collaborator

🎟️ Tracking

PM-46898

📔 Objective

"My items" was lowercased to match Figma in PM-43013 (myItemsV2), but some places still showed "My Items":

  • New default collections were named from myItems ("My Items"). They now use myItemsV2 on web, browser, desktop and CLI, and the unused myItems key is removed.
  • Import error now uses a new errorImportingMyItemsMultiCollectionV2 key ("…into My items…").
  • Vault table, item view and edit form showed the collection's stored name. A new sharedFolderDisplayName helper labels the member's own default collection with myItemsV2, and keeps the email on other members' default collections so admins can tell them apart.

Note: Existing default collections will still have My Items stored on the server. I will create a follow up ticket on a path forward there.

📸 Screenshots

Screen Web Desktop Browser
Vault list, Shared folders filter Web vault table Shared folders filter showing My items Desktop vault table Shared folders filter showing My items Browser vault list filtered to My items
Item view details — Desktop View login showing USDev Org and My items —
Edit form collection picker Web Edit login dialog with My items in Shared folders Desktop Edit login panel with My items in Shared folders Browser Edit login with My items in Shared folders
Import error Web import error: You cannot import items into My items that are part of multiple collections — —
Admin Console, Shared folders list (other members keep their email) Admin Console Shared folders list showing the member's default collection by email — —
Admin Console, a member's default collection Admin Console viewing nick+3@livefront.com's default collection — —

🤖 AI-assisted review

Standard local review (code-review-local): approved, no findings deferred.

The default user collection was named from the "myItems" key ("My Items"),
while the rest of the UI uses "myItemsV2" ("My items"). Switch the web,
browser, desktop and CLI paths that create the collection to "myItemsV2"
and drop the now-unused "myItems" key. Existing collections keep their
stored name.
@nick-livefront nick-livefront added ai-review Request a Claude code review t:bugfix Change Type - Bugfix labels Nov 13, 2026
@github-actions

github-actions Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

🤖 Bitwarden Claude Code Review

Overall Assessment: APPROVE

This PR names new default ("My items") collections with myItemsV2 in the web data-ownership policy, the CLI confirm command, and the shared DefaultOrganizationUserService. It replaces the import error key with errorImportingMyItemsMultiCollectionV2 in browser, desktop, and web, and removes the old en keys, which no source still references. A new sharedFolderDisplayName helper labels the member's own default collection from i18n in the vault table, item view, and edit form. Other members' default collections keep their defaultUserCollectionEmail, which matches how the CollectionView.name getter already resolves names.

Code Review Details

No findings.

@nick-livefront
nick-livefront marked this pull request as ready for review November 13, 2026 15:58
@nick-livefront
nick-livefront requested review from a team as code owners November 13, 2026 15:58

@BTreston BTreston left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved for AC files

@codecov

codecov Bot commented Nov 13, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 92.85714% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 62.90%. Comparing base (80507e6) to head (5a03b0f).
⚠️ Report is 3 commits behind head on main.
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
...finitions/organization-data-ownership.component.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main   #24752   +/-   ##
=======================================
  Coverage   62.89%   62.90%           
=======================================
  Files        4991     4991           
  Lines      160883   160890    +7     
  Branches    25859    25861    +2     
=======================================
+ Hits       101192   101203   +11     
+ Misses      52789    52785    -4     
  Partials     6902     6902           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@nick-livefront
nick-livefront merged commit 09e5296 into main Nov 13, 2026
214 of 223 checks passed
@nick-livefront
nick-livefront deleted the vault-my-items-lowercase branch November 13, 2026 16:36
nick-livefront added a commit that referenced this pull request Nov 13, 2026
* [PM-46898] fix: Name new My items collections with myItemsV2

The default user collection was named from the "myItems" key ("My Items"),
while the rest of the UI uses "myItemsV2" ("My items"). Switch the web,
browser, desktop and CLI paths that create the collection to "myItemsV2"
and drop the now-unused "myItems" key. Existing collections keep their
stored name.

* Use errorImportingMyItemsMultiCollectionV2 for the lowercase My items import error

* Label the My items shared folder from i18n in the vault table

* Label the My items shared folder from i18n in the item view and edit form

* Keep other members' emails on their My items collections and test the labels
@djsmith85 djsmith85 added browser Browser Extension desktop Desktop Application cli CLI Application web labels Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-review Request a Claude code review browser Browser Extension cli CLI Application desktop Desktop Application t:bugfix Change Type - Bugfix web

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants