1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 18:23:31 +00:00

[PM-16807] Update text and behavior for show id/card vault settings (#12808)

* update text and behavior for show id/card vault settings

* add new crowdin entry

* update crowdin entries

* revert default

---------

Co-authored-by: Evan Bassler <evanbassler@Mac.attlocal.net>
This commit is contained in:
Evan Bassler
2025-01-23 13:59:39 -06:00
committed by GitHub
parent f9f30f8ec4
commit 8a2aa1eac2
3 changed files with 8 additions and 8 deletions

View File

@@ -992,8 +992,8 @@
"addLoginNotificationDescAlt": { "addLoginNotificationDescAlt": {
"message": "Ask to add an item if one isn't found in your vault. Applies to all logged in accounts." "message": "Ask to add an item if one isn't found in your vault. Applies to all logged in accounts."
}, },
"showCardsInVaultView": { "showCardsInVaultViewV2": {
"message": "Show cards as Autofill suggestions on Vault view" "message": "Always show cards as Autofill suggestions on Vault view"
}, },
"showCardsCurrentTab": { "showCardsCurrentTab": {
"message": "Show cards on Tab page" "message": "Show cards on Tab page"
@@ -1001,8 +1001,8 @@
"showCardsCurrentTabDesc": { "showCardsCurrentTabDesc": {
"message": "List card items on the Tab page for easy autofill." "message": "List card items on the Tab page for easy autofill."
}, },
"showIdentitiesInVaultView": { "showIdentitiesInVaultViewV2": {
"message": "Show identities as Autofill suggestions on Vault view" "message": "Always show identities as Autofill suggestions on Vault view"
}, },
"showIdentitiesCurrentTab": { "showIdentitiesCurrentTab": {
"message": "Show identities on Tab page" "message": "Show identities on Tab page"

View File

@@ -118,7 +118,7 @@
(change)="updateShowCardsCurrentTab()" (change)="updateShowCardsCurrentTab()"
[(ngModel)]="showCardsCurrentTab" [(ngModel)]="showCardsCurrentTab"
/> />
<bit-label for="showCardsSuggestions">{{ "showCardsInVaultView" | i18n }}</bit-label> <bit-label for="showCardsSuggestions">{{ "showCardsInVaultViewV2" | i18n }}</bit-label>
</bit-form-control> </bit-form-control>
<bit-form-control> <bit-form-control>
<input <input
@@ -129,7 +129,7 @@
[(ngModel)]="showIdentitiesCurrentTab" [(ngModel)]="showIdentitiesCurrentTab"
/> />
<bit-label for="showIdentitiesSuggestions" class="tw-whitespace-normal"> <bit-label for="showIdentitiesSuggestions" class="tw-whitespace-normal">
{{ "showIdentitiesInVaultView" | i18n }} {{ "showIdentitiesInVaultViewV2" | i18n }}
</bit-label> </bit-label>
</bit-form-control> </bit-form-control>
<bit-form-control disableMargin> <bit-form-control disableMargin>

View File

@@ -71,9 +71,9 @@ export class VaultPopupItemsService {
this.vaultPopupAutofillService.nonLoginCipherTypesOnPage$, this.vaultPopupAutofillService.nonLoginCipherTypesOnPage$,
]).pipe( ]).pipe(
map(([showCardsSettingEnabled, showIdentitiesSettingEnabled, nonLoginCipherTypesOnPage]) => { map(([showCardsSettingEnabled, showIdentitiesSettingEnabled, nonLoginCipherTypesOnPage]) => {
const showCards = showCardsSettingEnabled && nonLoginCipherTypesOnPage[CipherType.Card]; const showCards = showCardsSettingEnabled || nonLoginCipherTypesOnPage[CipherType.Card];
const showIdentities = const showIdentities =
showIdentitiesSettingEnabled && nonLoginCipherTypesOnPage[CipherType.Identity]; showIdentitiesSettingEnabled || nonLoginCipherTypesOnPage[CipherType.Identity];
return [ return [
...(showCards ? [CipherType.Card] : []), ...(showCards ? [CipherType.Card] : []),