mirror of
https://github.com/bitwarden/browser
synced 2025-12-27 21:53:25 +00:00
* Removed passkeys from the vault types filter and added fucntion to get the count of Fido2keys and Login types * Updated build filter to take Fido2key type as a Login type * Updated icon font files * Updated vault items and view to handle changes with fido2keys * Updated add edit view for fido2keys * Prevent moving passkeys to an organization where it exists * Prevent moving passkeys to an organization where it exists * Added view for non-discoverable passkeys * Added diaglog to inform user that passkey won't be copied when cloning a non discoverable key * Muted text that shows cipher item is available for 2fa * Changed conditional to check if an organization already has the same passkey item * Muted text to align with figma designs and used rpId for the application input value * Modified checkFido2KeyExistsInOrg function to workk with discoverable and non discoverable keys * Differentiate between non-discoverable and discoverable keys when moving to an organization * Added suggested changes from PR review * Updated font files css changes * Fixed bug preventing launch bitton from working for Login types (#5639) * [PM-1574] Display passkeys on web (#5651) * Allowed discoverable Fido2key type to be displayed alongside Login type * Added view during edit for discoverable and non-discoverable passkeys * Fixed PR comments, added relvant tests to domain changes * Fixed imports and updated the launch function to use the Launchable interface * Added launch on vault filter for fido2key types * Added missing passkey text field in edit view (#5800) * [PM-1977] Display passkeys properly on the desktop (#5763) * Allowed discoverable Fido2key type to be displayed alongside Login type * Added view during edit for discoverable and non-discoverable passkeys * Fixed PR comments, added relvant tests to domain changes * Fixed imports and updated the launch function to use the Launchable interface * Added fido2key to login filter and added view display for fido2key * Added passkeys view for non discoverable passkeys and edit view for passkeys * Fixed PR comments * switched date format to short * [PM-3046] [PM-3047] Defects for discoverable and non-discoverable passkeys on desktop and web (#5847) * Added missing passkey text field in edit view (#5800) * Added dialog to clone no discoverable passkeys on web and desktop.Also, removed clone on the desktop for discoverable passkeys and added passkey view to non- discoverable passkeys on desktop during edit * Prevent cloning dialog on non fido2key ciphers * Made fido2key use website favicon if avaialble instead of the passkey icon * Do not display passkey view on clone edit for dekstop * Do not display passkey view on clone edit for browser * Prevented movement of passkeys ND or D to an organization once one exists and also made it possible for org memebers with user roles to move passkeys to an organization. (#5868) * two step passkey view was outside the conditional (#5872)
103 lines
4.0 KiB
HTML
103 lines
4.0 KiB
HTML
<cdk-virtual-scroll-viewport [itemSize]="RowHeight" scrollWindow class="tw-pb-8">
|
|
<bit-table [dataSource]="dataSource" layout="fixed">
|
|
<ng-container header>
|
|
<tr>
|
|
<th bitCell class="tw-w-24 tw-whitespace-nowrap" colspan="2">
|
|
<input
|
|
class="tw-mr-2"
|
|
type="checkbox"
|
|
bitCheckbox
|
|
id="checkAll"
|
|
[disabled]="disabled || isEmpty"
|
|
(change)="$event ? toggleAll() : null"
|
|
[checked]="selection.hasValue() && isAllSelected"
|
|
/>
|
|
<label class="tw-mb-0 !tw-font-bold !tw-text-muted" for="checkAll">{{
|
|
"all" | i18n
|
|
}}</label>
|
|
</th>
|
|
<th bitCell [class]="showExtraColumn ? 'tw-w-2/5' : 'tw-w-full'">{{ "name" | i18n }}</th>
|
|
<th bitCell class="tw-w-3/5" *ngIf="showOwner">{{ "owner" | i18n }}</th>
|
|
<th bitCell class="tw-w-3/5" *ngIf="showCollections">{{ "collections" | i18n }}</th>
|
|
<th bitCell class="tw-w-3/5" *ngIf="showGroups">{{ "groups" | i18n }}</th>
|
|
<th bitCell class="tw-w-12 tw-text-right">
|
|
<button
|
|
[disabled]="disabled || isEmpty"
|
|
[bitMenuTriggerFor]="headerMenu"
|
|
bitIconButton="bwi-ellipsis-v"
|
|
size="small"
|
|
type="button"
|
|
appA11yTitle="{{ 'options' | i18n }}"
|
|
></button>
|
|
<bit-menu #headerMenu>
|
|
<button *ngIf="showBulkMove" type="button" bitMenuItem (click)="bulkMoveToFolder()">
|
|
<i class="bwi bwi-fw bwi-folder" aria-hidden="true"></i>
|
|
{{ "moveSelected" | i18n }}
|
|
</button>
|
|
<button
|
|
*ngIf="showBulkMove"
|
|
type="button"
|
|
bitMenuItem
|
|
(click)="bulkMoveToOrganization()"
|
|
>
|
|
<i class="bwi bwi-fw bwi-arrow-circle-right" aria-hidden="true"></i>
|
|
{{ "moveSelectedToOrg" | i18n }}
|
|
</button>
|
|
<button *ngIf="showBulkTrashOptions" type="button" bitMenuItem (click)="bulkRestore()">
|
|
<i class="bwi bwi-fw bwi-undo" aria-hidden="true"></i>
|
|
{{ "restoreSelected" | i18n }}
|
|
</button>
|
|
<button type="button" bitMenuItem (click)="bulkDelete()">
|
|
<span class="tw-text-danger">
|
|
<i class="bwi bwi-fw bwi-trash" aria-hidden="true"></i>
|
|
{{ (showBulkTrashOptions ? "permanentlyDeleteSelected" : "deleteSelected") | i18n }}
|
|
</span>
|
|
</button>
|
|
</bit-menu>
|
|
</th>
|
|
</tr>
|
|
</ng-container>
|
|
<ng-template body let-rows$>
|
|
<ng-container *cdkVirtualFor="let item of rows$">
|
|
<tr
|
|
*ngIf="item.collection"
|
|
bitRow
|
|
appVaultCollectionRow
|
|
alignContent="middle"
|
|
[disabled]="disabled"
|
|
[collection]="item.collection"
|
|
[showOwner]="showOwner"
|
|
[showCollections]="showCollections"
|
|
[showGroups]="showGroups"
|
|
[organizations]="allOrganizations"
|
|
[groups]="allGroups"
|
|
[canDeleteCollection]="canDeleteCollection(item.collection)"
|
|
[canEditCollection]="canEditCollection(item.collection)"
|
|
[checked]="selection.isSelected(item)"
|
|
(checkedToggled)="selection.toggle(item)"
|
|
(onEvent)="event($event)"
|
|
></tr>
|
|
<tr
|
|
*ngIf="item.cipher"
|
|
bitRow
|
|
appVaultCipherRow
|
|
alignContent="middle"
|
|
[disabled]="disabled"
|
|
[cipher]="item.cipher"
|
|
[showOwner]="showOwner"
|
|
[showCollections]="showCollections"
|
|
[showGroups]="showGroups"
|
|
[showPremiumFeatures]="showPremiumFeatures"
|
|
[useEvents]="useEvents"
|
|
[cloneable]="canClone(item)"
|
|
[organizations]="allOrganizations"
|
|
[collections]="allCollections"
|
|
[checked]="selection.isSelected(item)"
|
|
(checkedToggled)="selection.toggle(item)"
|
|
(onEvent)="event($event)"
|
|
></tr>
|
|
</ng-container>
|
|
</ng-template>
|
|
</bit-table>
|
|
</cdk-virtual-scroll-viewport>
|