clients
clients copied to clipboard
[EC-417] Extracting the app name from the Android user item on CSV import
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:
Solution:
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)