1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-29 22:53:44 +00:00

“Autofill” and “Autofill and Save” buttons for the browser extension Vault (#1367)

* Add autofill button to View cipher screen in Vault

* Add Autofill and Save button to View screen in Vault

* disable Vault Autofill buttons in popout

* tidy up 'autofill from vault' features as per feedback in PR #1367

Includes:
- remove duplicate code
- better handling of error and success messages
This commit is contained in:
eliykat
2020-08-24 23:10:15 +10:00
committed by GitHub
parent a09bd4a3fe
commit d4d5ccc4a4
3 changed files with 148 additions and 1 deletions

View File

@@ -268,6 +268,24 @@
</div>
<div class="box list">
<div class="box-content single-line">
<a class="box-content-row" href="#" appStopClick appBlurClick (click)="fillCipher()"
*ngIf="!cipher.isDeleted && !inPopout">
<div class="row-main text-primary">
<div class="icon text-primary" aria-hidden="true">
<i class="fa fa-pencil-square-o fa-lg fa-fw"></i>
</div>
<span>{{'autoFill' | i18n}}</span>
</div>
</a>
<a class="box-content-row" href="#" appStopClick appBlurClick (click)="fillCipherAndSave()"
*ngIf="!cipher.isDeleted && !inPopout">
<div class="row-main text-primary">
<div class="icon text-primary" aria-hidden="true">
<i class="fa fa-bookmark fa-lg fa-fw"></i>
</div>
<span>{{'autoFillAndSave' | i18n}}</span>
</div>
</a>
<a class="box-content-row" href="#" appStopClick appBlurClick (click)="clone()"
*ngIf="!cipher.organizationId && !cipher.isDeleted">
<div class="row-main text-primary">