1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-08 09:43:42 +01:00

[PM-9344] Clarify accepted user state (#9861)

* Prefer `Needs confirmation` to `Accepted` display status

This emphasizes that action is still required to complete setup.

* Remove unused message
This commit is contained in:
Matt Gibson 2024-07-01 13:03:00 -07:00 committed by GitHub
parent 150c4b6f2d
commit da7e466252
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 7 deletions

View File

@ -64,7 +64,7 @@
bitBadge bitBadge
variant="warning" variant="warning"
*ngIf="c.status === emergencyAccessStatusType.Accepted" *ngIf="c.status === emergencyAccessStatusType.Accepted"
>{{ "accepted" | i18n }}</span >{{ "needsConfirmation" | i18n }}</span
> >
<span <span
bitBadge bitBadge
@ -184,7 +184,7 @@
bitBadge bitBadge
variant="warning" variant="warning"
*ngIf="c.status === emergencyAccessStatusType.Accepted" *ngIf="c.status === emergencyAccessStatusType.Accepted"
>{{ "accepted" | i18n }}</span >{{ "needsConfirmation" | i18n }}</span
> >
<span <span
bitBadge bitBadge

View File

@ -2795,9 +2795,6 @@
"invited": { "invited": {
"message": "Invited" "message": "Invited"
}, },
"accepted": {
"message": "Accepted"
},
"confirmed": { "confirmed": {
"message": "Confirmed" "message": "Confirmed"
}, },

View File

@ -27,7 +27,7 @@
</bit-toggle> </bit-toggle>
<bit-toggle [value]="userStatusType.Accepted"> <bit-toggle [value]="userStatusType.Accepted">
{{ "accepted" | i18n }} {{ "needsConfirmation" | i18n }}
<span bitBadge variant="warning" *ngIf="acceptedCount">{{ acceptedCount }}</span> <span bitBadge variant="warning" *ngIf="acceptedCount">{{ acceptedCount }}</span>
</bit-toggle> </bit-toggle>
</bit-toggle-group> </bit-toggle-group>
@ -123,7 +123,7 @@
"invited" | i18n "invited" | i18n
}}</span> }}</span>
<span bitBadge variant="warning" *ngIf="u.status === userStatusType.Accepted">{{ <span bitBadge variant="warning" *ngIf="u.status === userStatusType.Accepted">{{
"accepted" | i18n "needsConfirmation" | i18n
}}</span> }}</span>
<small class="text-muted d-block" *ngIf="u.name">{{ u.name }}</small> <small class="text-muted d-block" *ngIf="u.name">{{ u.name }}</small>
</td> </td>