clients
clients copied to clipboard
[SM-198] Empty Secrets View
Type of change
- [ ] Bug fix
- [X] New feature development
- [ ] Tech debt (refactoring, code cleanup, dependency upgrades, etc)
- [ ] Build/deploy pipeline (DevOps)
- [ ] Other
Objective
This PR is for creating a view for when no secrets are available.
Code changes
- apps/web/src/locales/en/messages.json
Adding new messages for empty secrets view
- bitwarden_license/bit-web/src/app/sm/secrets/secrets-list.component.html
Display empty secrets view if no secrets are passed in as input.
- bitwarden_license/bit-web/src/app/sm/secrets/secrets-list.component.ts
Add event emitters for when buttons are clicked for empty secret view.
- bitwarden_license/bit-web/src/app/sm/secrets/secrets.component.html bitwarden_license/bit-web/src/app/sm/secrets/secrets.component.ts
Handle launching new secret dialog
Screenshots
Before you submit
- Please add unit tests where it makes sense to do so (encouraged but not required)
- If this change requires a documentation update - notify the documentation team
- If this change has particular deployment requirements - notify the DevOps team