Commit Graph

64 Commits

Author SHA1 Message Date
Patrick H. Lauke 55a9403ee3
[PS-540] Accessibility: remove `appBlurClick`, add `aria-expanded` to cog options, links to buttons, fix unsufficient focus indication (#1514) 2022-05-05 16:36:46 +02:00
Oscar Hinton a81c3c95a4
[CP-30] Add credit card pipe (#1517) 2022-05-02 19:45:24 +02:00
Patrick H. Lauke 0396d682b1
Change links to buttons, expose `aria-pressed` for toggles, add `aria-expanded` to send view's "Options" (#1437)
* Change links to buttons, expose `aria-pressed` for toggles

- also make existing `<a routerLink...>` type controls keyboard focusable with the addition of `tabindex="0"`

* Correctly set aria-pressed

now that I have a working build environment, could verify correct way to set this with my limited Angular knowledge

* Change more links to buttons, initial style changes

* Fix layout of <button> elements with .box-content-row

* Update jslib submodule

* Add `aria-expanded` to the send view's "Show options" expand/collapse control

* Fix position of "Edit" pencil when hovering over folders

* Update jslib

* Change sends list links to buttons

* Add `aria-pressed` to vault and send list buttons

Programmatically denote which of the buttons is currently active/shown in the right-most panel

* Fix incorrect "Options" expand/collapse button in add-edit view

Currently, that buttons lacks an accName because the "Options" text is outside of it.

* Add `aria-pressed` to the send left-hand column filters

* Simplify base, list, and vault styles

Since links are now buttons, no need to double up selectors for both types of elements. No need to double-up theming in base, as this also causes incorrect "x" in toasts.

* Remove unnecessary `position:relative`

Fixes issue with cut-off focus outlines, has no other adverse effect

* Fix styling for last child of action buttons

Old approach of making right padding smaller results in unsightly, off-center icon (noticeable when focus outline is visible). This visually remains the same, but reduces right-hand margin instead.
2022-04-30 16:09:41 +02:00
Kyle Spearrin 9e0cc45704
Username generator (#1456)
* username generator implemented

* disable type when coming from add/edit

* restyle buttons to new icon-btn

* update generated-wrapper styles

* only show policy messages for passwords

* make generated-wrapper a standalone style

* Update src/app/vault/password-generator.component.html

Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>

* aria-expanded on show options

Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
2022-03-29 15:01:57 -04:00
Patrick H. Lauke 4ddeff2eee
Add `aria-pressed` to all eye/toggle visibility buttons (#1443)
* Add `aria-pressed` to all eye/toggle visibility buttons

Closes #1442

* Correct custom field visibility toggle `aria-pressed` value
2022-03-27 22:42:47 +02:00
Vincent Salucci ec3c95d736
[Icons] Update Font Sheet (#1245)
* [Icons] Update Font Sheet

* Added import statement for styles

* updated to clone icon

* Changed save to save changes icon

* Revert to using base bwi class

* Updated import order for bwi icon styles

* Converted new account switcher ui updates

* Bump jslib

* Fix occurances where bwi-eye-slash was used instead of btw-eye-slash-2

* Move settings cog to the left side

* Updated eye/eye-slash icon references

* Update jslib

* Update jslib

* Update fallback image for cipher icon

* Update jslib

Co-authored-by: Hinton <oscar@oscarhinton.com>
2022-01-27 11:21:53 -06:00
Oscar Hinton 521feae535
Apply Prettier (#1202) 2021-12-20 15:47:17 +01:00
Thomas Rittson c385efdbd2
Move custom fields to separate components (#1076)
* Move custom fields to own component

* Update jslib

* Fix import statements

* Fix linting
2021-09-21 10:48:17 +10:00
Oscar Hinton cdac1a4508
Improve ViewComponent (#1069) 2021-09-10 15:32:08 +02:00
Oscar Hinton 42564285d9
Password reprompt (#838)
* Add support for password reprompt
2021-05-04 21:32:03 +02:00
K. Sasa 7eee81f977
Replaced the clipboard icon with a clone icon to improve UX (#490)
* Replace copy value button fa-clipboard to fa-clone

* Replace clone item button fa-clone to fa-files-o
2020-07-27 13:21:46 -04:00
Matt Smith 05ee1b6a06 Modified url list to show port where applicable 2020-07-14 11:38:11 -05:00
hinton 876b45d82e Disable TOTP field, disable edit and show of hidden fields. 2020-06-04 22:23:02 +02:00
hinton 982d35a404 Merge branch 'master' of https://github.com/bitwarden/desktop into feature/hide-passwords 2020-06-04 22:09:46 +02:00
Kyle Spearrin 160c161782
fix null ref of cipher.isDeleted (#462) 2020-06-01 10:30:49 -04:00
hinton 66de9e93fa Hide passwords functionality for desktop 2020-05-27 22:41:57 +02:00
Chad Scharf c2eafba442 [Soft Delete] - Added trash to desktop app 2020-04-13 15:13:10 -04:00
Vincent Salucci 337f4ad987
Adding personal item cloning capability (#371) 2020-01-31 11:07:32 -05:00
Veit-Hendrik Schlenker 86360dd3cb Start drag only on row label (#337) 2019-10-24 19:55:21 -04:00
Veit-Hendrik Schlenker 55e0749687 enabled drag of username, password and totp in desktop app (#333) 2019-10-19 21:15:01 -04:00
Kyle Spearrin 7dd11511c6 event logging on view page 2019-07-09 13:11:10 -04:00
Kyle Spearrin 92a51cbb17 full address part 2 2019-04-29 10:13:35 -04:00
Kyle Spearrin 5506d1c5ca button roles 2019-04-03 00:04:42 -04:00
Kyle Spearrin b296dbb6de mark icons as hidden from a11y 2019-04-01 23:08:54 -04:00
Kyle Spearrin 20bc5a6870 aria-hidden on titles icons 2019-04-01 22:56:28 -04:00
Kyle Spearrin 4d46338a4b a11y titles 2019-04-01 22:43:42 -04:00
Kyle Spearrin 9f842f6fbd dont use flex for password-wrapper positioning 2019-04-01 13:40:49 -04:00
Kyle Spearrin 4397c0ed5d pre-wrap notes field, resolves #238 2019-03-28 12:09:08 -04:00
Kyle Spearrin a1592e4545 format html files 2019-02-21 16:53:32 -05:00
Kyle Spearrin e0c7cb4bd6 notes white-space is pre-line 2019-02-11 22:16:22 -05:00
Kyle Spearrin f8d987781a fkex copy directive 2019-01-23 16:27:22 -05:00
Kyle Spearrin 2ccbcb75bf show whitespace for hidden fields 2018-12-20 23:01:21 -05:00
Kyle Spearrin 865658734a style fixes for colorized passwords 2018-12-08 13:48:30 -05:00
Andreas Schneider 4597390166 Color passwords (#177)
* Highlight passwords in the cipher view

* Highlight generated password
2018-12-08 11:06:46 -05:00
Kyle Spearrin d207469fc0 show attachments belonging to org cipher as well 2018-11-16 07:45:23 -05:00
Kyle Spearrin df98ae1d8d allow attachments if can access premium 2018-08-29 09:21:34 -04:00
Kyle Spearrin 12d39edec6 implement view reload 2018-08-20 17:01:25 -04:00
Kyle Spearrin 5c9bc1f493 re-style password change history in box footer 2018-07-30 22:22:17 -04:00
Kyle Spearrin 1fc1768d58 no cipher to pass to view method 2018-07-30 10:54:56 -04:00
Kyle Spearrin a7318e0937 password history and updated dates on view 2018-07-30 10:05:36 -04:00
Kyle Spearrin cd48afd415 toggle card code on add/edit 2018-06-18 17:29:45 -04:00
Neil Burrows 99e23ad190 Masking Card Security Code - Issue #78 (#99) 2018-06-13 12:34:41 -04:00
Kyle Spearrin f66a71f279 switch to hostname or uri 2018-04-19 14:43:32 -04:00
Kyle Spearrin 86226990ee move component code out to jslib 2018-04-05 23:50:06 -04:00
Kyle Spearrin 72771d4b90 add support for login uris 2018-03-01 23:45:12 -05:00
Kyle Spearrin 093071c8f3 password breach check moved to view page 2018-02-28 11:35:48 -05:00
Kyle Spearrin e24a083936 show toasts on copying, resolves #28 2018-02-23 16:31:52 -05:00
Kyle Spearrin 34b3890647 context menu options for cipher listing 2018-02-16 13:59:46 -05:00
Kyle Spearrin 9cb2d2087c show full url in title 2018-02-09 22:47:41 -05:00
Kyle Spearrin 51f578f4d3 text default class for attachments 2018-02-04 15:52:32 -05:00