clients icon indicating copy to clipboard operation
clients copied to clipboard

[EC-417] Extracting the app name from the Android user item on CSV import

Open r-tome opened this issue 1 year ago • 0 comments

Type of change

- [ ] Bug fix
- [ ] New feature development
- [ ] Tech debt (refactoring, code cleanup, dependency upgrades, etc)
- [ ] Build/deploy pipeline (DevOps)
- [X] Other

Objective

Currently if a user has any Android items on their Chrome passwords list and they export it to CSV this results in these items appearing with the name “--” on the Bitwarden vault items list.

These changes will fill out the item name with the app name from the username value.

Code changes

  • libs/common/src/importers/chromeCsvImporter.ts: Added a RegEx check to get the app name from the Android format in case the "name" value is empty on the CSV.

Screenshots

Currently: image

Solution: image

Before you submit

- [X] I have checked for **linting** errors (`npm run lint`) (required)
- [ ] I have added **unit tests** where it makes sense to do so (encouraged but not required)
- [ ] This change requires a **documentation update** (notify the documentation team)
- [ ] This change has particular **deployment requirements** (notify the DevOps team)

r-tome avatar Aug 05 '22 10:08 r-tome