1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-15 06:57:58 +02:00
bitwarden-browser/libs/vault/src/cipher-form
Nick Krantz 83d141c914
[PM-8803] Edit Custom Fields (#10054)
* initial add of custom fields

* add fields for custom field

* integrate custom field into cipher form service for text fields

* add hidden field type

* add boolean custom field

* add linked option type

* add testids for automated testing

* add edit option for each custom field

* update dialog component name to match add/edit nature

* add delete button for fields

* initial add of drag and drop

* collect tailwind styles from vault components

* add drag and drop functionality with announcement

* add reorder via keyboard

* update tests to match functionality

* account for partial edit of custom fields

* fix change detection for new fields

* add label's to the edit/reorder translations

* update dynamic heading to be inline

* add validation/required for field label

* disable toggle button on hidden fields when the user cannot view passwords

* remove the need for passing `updatedCipherView` by only using a single instance of `CustomFieldsComponent`

* lint fix

* use bitLink styles rather than manually defining tailwind classes

* use submit action, no duplicated button and allows for form submission via enter

* add documentation for `newField`
2024-07-17 09:11:42 -05:00
..
abstractions [PM-7162] Cipher Form - Item Details (#9758) 2024-07-02 13:22:51 -07:00
components [PM-8803] Edit Custom Fields (#10054) 2024-07-17 09:11:42 -05:00
services [PM-7162] Cipher Form - Item Details (#9758) 2024-07-02 13:22:51 -07:00
cipher-form-container.ts [PM-8803] Edit Custom Fields (#10054) 2024-07-17 09:11:42 -05:00
cipher-form.mdx [PM-7162] Cipher Form - Item Details (#9758) 2024-07-02 13:22:51 -07:00
cipher-form.module.ts [PM-7162] Cipher Form - Item Details (#9758) 2024-07-02 13:22:51 -07:00
cipher-form.stories.ts [PM-7896] Cipher Form - Additional Options section (#9928) 2024-07-11 15:01:24 -07:00
index.ts [PM-7162] Cipher Form - Item Details (#9758) 2024-07-02 13:22:51 -07:00