1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-13 06:54:07 +00:00
Commit Graph

306 Commits

Author SHA1 Message Date
Victoria League
a617fbc24e Merge branch 'main' into ps/extension-refresh 2024-08-14 10:53:36 -04:00
Nick Krantz
0b5afa6252 [PM-10731] Move vault icons (#10453)
* move NoFolders icon to vault library

* move DeactivatedOrg icon to vault library

* move Vault icon to vault library

* move NoResults icon to vault library

* clean up barrel file

* Revert "move NoResults icon to vault library"

This reverts commit 43abd45db7.

* re-export no results
2024-08-12 08:38:11 -05:00
Nick Krantz
28a2014e69 [PM-8204] V2 Folder View (#10423)
* add no folders icon to icon library

* add/edit folder contained within a dialog

* add/edit folder dialog contained new item dropdown

* browser refresh folders page component

* swap in v2 folder component for extension refresh

* add copy for all folder related changes
2024-08-08 13:24:49 -05:00
Victoria League
46d17788c0 [CL-229] Update icon button styles (#10405) 2024-08-08 11:57:30 -04:00
SmithThe4th
c1bf1a797f [PM-9714] Search results should clear and results reset after navigating away from Vault tab but persist if navigating to an Item view (#10378)
* created guard to clear search text when navigating between tabs

* removed reset filter from from vault list filter component on destroy and move to guard

renamed guard to clear vault state

* Fixed bug on chip select when comparing complex objects

moved compare values function to utils

* Added comment for future reference

* moved compare values to a seperate file

* fixed lint issue
2024-08-08 11:29:33 -04:00
Maciej Zieniuk
a3bf74ae1b SM-1146: Display total counts of projects, machine accounts, secrets in Secrets Manager (#9791)
* SM-1146: Secrets Manager total counts

* SM-1146: Tab link component simplifications

* SM-1146: Total counts update on CRUD

* SM-1146: Total counts API paths update

* SM-1146: Unit test coverage for services

* SM-1146: Fix incorrect types returned

* SM-1146: Storybook example for tab-link with child counter

* SM-1146: Tailwind states with groups

* SM-1146: Moving counts view types in one file

* SM-1146: Moving counts methods, responses to one shared service

* SM-1146: Removing redundant services imports

* SM-1146: Removing redundant observables

* SM-1337: Total counts hidden for suspended organizations

* SM-1336: Total counts updated on import

* SM-1336: Import error handling refactor

* SM-1336: Import error handling improvements

* SM-1336: Import error not working with project errors, Unit Test coverage

* Update bitwarden_license/bit-web/src/app/secrets-manager/settings/porting/sm-import.component.ts

Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>

* SM-1336: UT deprecation removal

* SM-1336: Better UT

* SM-1336: Lint fix

* SM-1146: Linter fix

---------

Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com>
2024-08-08 15:12:55 +02:00
Victoria League
f545dca3b6 [CL-381] Update spacing around form elements (#10432) 2024-08-07 15:45:03 -04:00
Vicki League
36921ed80b Merge branch 'main' into ps/extension-refresh 2024-08-07 13:23:52 -04:00
Nick Krantz
d51226929c center all content in no items content (#10431)
- firefox extension has default css that overrides the inheritance of align center
2024-08-07 11:25:23 -05:00
Jonathan Prusik
66d9ab5dc0 [PM-9969] Papercut - Update component library storybook docs (#10191)
* add component import examples

* component library story html formatting/cleanup nits

* Update libs/components/src/dialog/dialog/dialog.mdx

Co-authored-by: Will Martin <contact@willmartian.com>

* Update libs/components/src/badge/badge.mdx

Co-authored-by: Will Martin <contact@willmartian.com>

* Update libs/components/src/dialog/simple-dialog/simple-dialog.mdx

Co-authored-by: Will Martin <contact@willmartian.com>

---------

Co-authored-by: Will Martin <contact@willmartian.com>
2024-08-07 11:13:29 -04:00
Vicki League
2d0d8364e2 Merge branch 'main' into ps/extension-refresh 2024-08-07 11:08:31 -04:00
Victoria League
1e471e0e3f [CL-271] Update styles for toggle (#10377) 2024-08-07 10:52:55 -04:00
Will Martin
181c697ff7 [CL-342] make overflow text wrap in simple dialog (#10418)
* add overflow story and fix to simple dialog

* Update libs/components/src/dialog/simple-dialog/simple-dialog.stories.ts

Co-authored-by: Victoria League <vleague@bitwarden.com>

---------

Co-authored-by: Victoria League <vleague@bitwarden.com>
2024-08-07 10:30:13 -04:00
rr-bw
b2a995462f [PM-9605] Extension AnonLayout wrapper component (#10338)
* setup extension component

* setup extension service

* update icon based on theme, adjust padding, service injection

* override service

* add stories

* add current-account component

* add ConfigService to storybook

* use null checks for boolean data - otherwise false values are ignored

* update translations

* remove router implementation test

* remove imports in main.background.ts

* add showLogo to template

* update icon usage

* fix app-current-account storybook style issue
2024-08-06 16:02:47 -07:00
Vicki League
445ca8fd04 Merge branch 'main' into ps/extension-refresh 2024-08-02 14:41:37 -04:00
Oscar Hinton
c50a9063bc [PM-2340] Enable use-lifecycle-interface (#5488)
Enables one of the recommended rules of @angular-eslint. Since this rule was fairly trivial to fix and has no QA effects it seemed reasonable to migrate all code.
2024-08-02 13:59:38 -04:00
Shane Melton
0d76835cd8 [PM-9190] Edit Login - Autofill Options (#10274)
* [PM-8524] Update appA11yTitle to keep attributes in sync after first render

* [PM-8524] Introduce UriOptionComponent

* [PM-9190] Introduce AutofillOptionsComponent

* [PM-9190] Add AutofillOptions to LoginDetailsSection

* [PM-9190] Add autofill options component unit tests

* [PM-9190] Add UriOptionComponent unit tests

* [PM-9190] Add missing translations

* [PM-9190] Add autofill on page load field

* [PM-9190] Ensure updatedCipherView is completely separate from originalCipherView

* [CL-348] Do not override items if there are no OptionComponents available

* [PM-9190] Mock AutoFillOptions component in Login Details tests

* [PM-9190] Cleanup storybook and missing web translations

* [PM-9190] Ensure storybook decryptCipher returns a separate object
2024-08-01 08:35:04 -07:00
Victoria League
45542438cf [CL-338] Remove extra space in item content when end slot is empty (#10350) 2024-08-01 10:29:35 -04:00
Victoria League
ac6d4f248b [CL-274] Update styling for radio button (#10333) 2024-08-01 10:28:50 -04:00
Victoria League
bfadccdb24 [CL-273] Update styles for checkbox and form control (#10146) 2024-07-30 12:09:56 -04:00
Victoria League
b81c2d22f1 [CL-352] Fix Angular errors related to form element changes (#10211) 2024-07-30 11:48:45 -04:00
William Martin
625da0776d run prettier again after giving node more memory (lol) 2024-07-25 14:06:43 -04:00
renovate[bot]
b9eb4003a1 [deps] Autofill: Update prettier to v3.3.3 (#10228)
* [deps] Autofill: Update prettier to v3.3.3

* prettier formatting changes

* fix SyntaxError for literal @ inline html

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Prusik <jprusik@classynemesis.com>
2024-07-25 11:11:55 -04:00
Will Martin
2be34c3b8f [CL-376] add dialog background input (#10237) 2024-07-24 16:51:56 -04:00
Will Martin
0d5e4f998d Merge branch 'main' into ps/extension-refresh 2024-07-24 16:36:41 -04:00
Victoria League
5a2db79235 [CL-305] Allow margin to be disabled for elements at the bottom of a page (#10132) 2024-07-24 12:08:33 -04:00
Victoria League
c52709e6f0 [CL-337] Fix toggle group visual bug from tw-group collisions (#10188) 2024-07-24 11:40:10 -04:00
Will Martin
4a3aa66f85 [CL-244] readonly fields (#10164)
* add readonly styles

* update label styles; update stories

* code review changes
2024-07-24 08:55:57 -04:00
Nick Krantz
8a86a699ff [PM-9952][PM-9954] Minor assign collection fixes (#10190)
* disable organization selector when only one org is selected

* break long org names in assign collections copy

- applicable more in the browser implementation

* add `title` to each select option so a mouse over presents the name

- more applicable to the browser extension where names can overflow

* truncate options that overflow a select

* set max width of form fields to 100%
2024-07-22 09:26:38 -05:00
Will Martin
b863488406 Merge branch 'main' into ps/extension-refresh 2024-07-18 12:40:38 -04:00
Shane Melton
f75c1ab02d [PM-8524] Cipher Form - Edit Login Details Section (#10081)
* [PM-8524] Introduce login details section component

* [PM-8524] Add ability to remove passkey

* [PM-8524] Introduce TotpCaptureService and the Browser implementation

* [PM-8524] Tweak storybook

* [PM-8524] Add note regarding existing login view references

* [PM-8524] Fix clone mode so that a new cipher is created

* [PM-8524] Add support for generating usernames/passwords and auditing passwords

* [PM-8524] Migrate password/username generation to CipherFormGenerationService

* [PM-8524] Add optional passwordInput to BitPasswordInputToggle to support conditionally rendered password toggle buttons

* [PM-8524] Add LoginDetailsSection tests

* [PM-8524] Add BrowserTotpCaptureService tests

* Revert "[PM-8524] Add optional passwordInput to BitPasswordInputToggle to support conditionally rendered password toggle buttons"

This reverts commit e76a0ccfe8.

* [PM-8524] Add null check to password input toggle
2024-07-18 09:38:55 -07:00
Will Martin
d2488b6973 [CL-239][CL-251][CL-342] dialog style refresh (#10096)
* update styles and add card story

* update docs

* add important to typography styles

* [CL-239] simple dialog style refresh

* [CL-342] fix text overflow in dialog; add story

* use main color for headers

* update loading styles: spinner height and alt text; body min height

* update simple dialog border radius

* add badge to story
2024-07-12 18:30:47 -04:00
Will Martin
951e4377c8 Merge branch 'main' into ps/extension-refresh 2024-07-11 15:12:07 -04:00
Oscar Hinton
39eed02904 [PM-8517] Create web specific layout (#9209)
We currently duplicate some logic between our layouts. In an effort to streamline our experience I'm exploring if we can create a web specific layout that handles some of this.
2024-07-11 12:20:56 -04:00
Victoria League
e1223346a2 [CL-233] Update form field styles (#9776) 2024-07-11 10:51:17 -04:00
Will Martin
0bfbba2d03 [CL-234] callout style refresh (#9920)
* update callout styles; make component standalone

* add import block to mdx page
2024-07-03 15:17:47 -04:00
Shane Melton
17d37ecaeb [PM-7162] Cipher Form - Item Details (#9758)
* [PM-7162] Fix weird angular error regarding disabled component bit-select

* [PM-7162] Introduce CipherFormConfigService and related types

* [PM-7162] Introduce CipherFormService

* [PM-7162] Introduce the Item Details section component and the CipherFormContainer interface

* [PM-7162] Introduce the CipherForm component

* [PM-7162] Add strongly typed QueryParams to the add-edit-v2.component

* [PM-7162] Export CipherForm from Vault Lib

* [PM-7162] Use the CipherForm in Browser AddEditV2

* [PM-7162] Introduce CipherForm storybook

* [PM-7162] Remove VaultPopupListFilterService dependency from NewItemDropDownV2 component

* [PM-7162] Add support for content projection of attachment button

* [PM-7162] Fix typo

* [PM-7162] Cipher form service cleanup

* [PM-7162] Move readonly collection notice to bit-hint

* [PM-7162] Refactor CipherFormConfig type to enforce required properties with Typescript

* [PM-7162] Fix storybook after config changes

* [PM-7162] Use new add-edit component for clone route
2024-07-02 13:22:51 -07:00
Will Martin
8df054cf51 [CL-319] custom back action in popup header component (#9829)
* expose FunctionReturningAwaitable from CL lib

* expose backAction as input on popup header component
2024-06-25 15:55:49 -04:00
Vicki League
b1246fa195 Merge branch 'main' into ps/extension-refresh 2024-06-25 15:13:35 -04:00
Will Martin
34766f8c74 [CL-314] improve TableDataSource filtering (#9708) 2024-06-20 12:42:14 -04:00
Will Martin
06410a0633 [CL-118][CL-164][PM-8019] collapsible side navigation (#6383) 2024-06-17 14:10:50 -04:00
Shane Melton
6687ef5978 [PM-7683] Fix dynamic item defects (#9575)
* [PM-8639] Add data-testid attribute for test automation

* [PM-8669] Add autofill aria label

* [PM-8674] Show autofill menu options for card/identities when not in the autofill suggestion list

* [PM-8635] Hide menu items when copy cipher field directive is disabled

* [PM-8636] Disable copy menu dropdown when no items available to copy

* [CL-309] Add title override to bitBadge

* [PM-8669] Update menu-item directive disabled input

* [PM-7683] Fix race condition for remainingCiphers$

* [PM-7683] Use strict equality check
2024-06-12 14:33:18 -07:00
Victoria League
1d939c3aa7 [CL-250] Update badge styles for extension refresh (#9572) 2024-06-11 11:05:56 -04:00
Victoria League
6b9aa9e282 Merge branch 'main' into ps/extension-refresh 2024-06-10 10:22:26 -04:00
Victoria League
43d01bec4c [CL-286] Update badge to use focus-visible instead of focus (#9551) 2024-06-10 10:21:33 -04:00
Victoria League
c895f961a4 [CL-267] Add 100-level color variants and update primary-600 (#9550) 2024-06-10 10:20:32 -04:00
Victoria League
15e6266014 [CL-237] Update menu styles for extension refresh (#9525) 2024-06-07 10:25:16 -04:00
Jason Ng
37a07b9fd8 [PM-8627] No Results Icon light/dark theme colors (#9522)
* update no results icon for light/dark theme
2024-06-05 18:05:40 -04:00
Victoria League
d3f1992ad5 [CL-294] Make section-header work across clients (#9386) 2024-06-05 15:07:00 -04:00
Will Martin
419c107f87 [CL-243] honor initial disabled state in bitFormButton (#9510)
* honor initial disabled state

* update story
2024-06-05 11:39:40 -04:00