1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-20 11:24:07 +00:00
Commit Graph

189 Commits

Author SHA1 Message Date
Jason Ng
2ea2a20fd8 [PM-31700] Desktop Vault V3 Unarchive and Save Button (#18885)
* update vault-v3 to use new btn text for archive and use signals
2026-02-12 13:43:16 -05:00
Jason Ng
d18ddd3480 [PM-31680] remove archive buttons from footer for edit view desktop (#18858) 2026-02-11 09:53:46 -05:00
Leslie Xiong
2b6158668d fixed collections still appearing when no organizations (#18779) 2026-02-05 15:36:33 -05:00
Jason Ng
febb64605a [PM-31400] skip MP reprompt when archive/unarchive in footer (#18678) 2026-02-04 10:31:02 -05:00
Oscar Hinton
c3d0a2d858 Add a way to add folders in the desktop ui migration milestone 1 (#18632) 2026-02-04 10:03:43 -05:00
Jason Ng
f3686c657b [PM-31476] Desktop Archive Empty State Vault-V3 (#18695)
* add empty state for archive desktop
2026-02-03 15:29:11 -05:00
Jason Ng
50063c7f71 [PM-31477] Align Desktop V3 with Archive Premium Banner (#18696)
* adding showPremiumCallout to vault-v3 for non premium banner
2026-02-03 14:21:40 -05:00
Jason Ng
971f264c39 [PM-31387] Desktop Footer update archive/trash btn values (#18640)
* update footer component when action changes for desktop
2026-02-02 18:43:46 -05:00
Jackson Engstrom
47edae1c21 [PM 21939] Use family icon for free and family orgs
* adds check for a free/family org and updates the icon
2026-02-02 11:56:53 -08:00
Jackson Engstrom
a1bf6afad6 [PM-21564] Hide buttons when user has View access to an item
* Changes attachment modal to remove choose file button and changes upload button to close button if the user doesn't have edit rights to the cipher.
2026-01-30 14:01:10 -08:00
Jason Ng
50427beba6 [PM-29951] add archive flag check to vault-v3 desktop (#18660)
* add archive flag check to vault-v3 desktop, sync vault-v2 and vault-v3
2026-01-29 17:10:37 -05:00
Oscar Hinton
a4355dbcab Ensure "MyVault" is not identified as an organaization (#18643)
When creating a new vault item in the My Vault filter owner would not be set.
2026-01-29 16:21:46 +01:00
Leslie Xiong
1db00097d2 fixed nested folders missing 'onEditFolder' (#18629) 2026-01-29 10:51:46 +01:00
Jason Ng
bddd6f5fb1 [PM-31253] Desktop Footer Tooltip Updates (#18580)
* update desktop archive and delete btns so tooltip shows on hover consistently.
2026-01-28 13:31:49 -05:00
Oscar Hinton
cf6d02fafa [PM-31264] Broken vault filters in milestone-1 (#18589)
* Fix vault filters

Now uses the same `createFilterFunction` as web rather than the custom proxy like approach.

* Remove provide
2026-01-27 19:00:13 +01:00
Oscar Hinton
8bd8a12f65 Fix milestone 1 vault list not showing when not using sdk crypto (#18550) 2026-01-26 10:20:38 -05:00
Jason Ng
47a2f59784 [PM-31188] Desktop Trash Items Context Menu Updates (#18530)
* apply isDeleted check to other options in desktop context menu for items
2026-01-26 10:19:51 -05:00
Leslie Xiong
f57cb83d46 [BUG FIX]Desktop/Pm 31148/Pm 31149/Unexpected behaviors for Collections and Folders (#18506)
* fixed collections still appearing if all orgs are suspended

* fixed 'No folders' not displaying vault items

* PR followup:
- converted `allOrganizationsDisabled` to computed property
- converted observables to signals
2026-01-23 16:55:41 +01:00
Leslie Xiong
a28193f880 fixed misalignment of suspended org icon (#18502) 2026-01-22 17:08:46 -05:00
Nick Krantz
a9d8edc52c [PM-28749] Desktop Transfer Items (#18410)
* add transfer items prompt to desktop

* add transfer service to vault v3
2026-01-22 15:20:53 -06:00
Jason Ng
eee6fb895c [PM-30889] Remove clone option from archive item desktop (#18457)
* remove clone option from archive item desktop for users who lose premium status
2026-01-22 08:58:17 -05:00
Jason Ng
d80ca85e50 [PM-30857] add empty state to desktop archives (#18414)
* add empty state to desktop archives
2026-01-21 18:24:17 -05:00
Jason Ng
2860f0684d [PM-30761] remove archive from trash (#18361)
* add isDeleted check to showUnarchiveBtn and other optionss in vault cipher row
* remove unarchive options from desktop trash, remove archive options in bulk menu for items in trash
2026-01-21 13:49:07 -05:00
Jason Ng
d4b8558956 [PM-30748] update archived restored toast (#18367) 2026-01-21 12:30:31 -05:00
Jason Ng
cb162c12dc [PM-30794] Desktop Archive Filter Remove Truncate (#18405) 2026-01-20 10:58:12 -05:00
Oscar Hinton
e3d66aa5be Fix archive premium badge & fix strict ts errors. (#18440)
Fixes the archive badge to be visible by placing it in the end slot. Resolves strict TS errors.
2026-01-20 12:30:09 +01:00
Leslie Xiong
44bdaf71b3 Desktop/pm 18769/migrate vault filters (#17919)
Migrated vault filters to new v3 vault's navigation

* Decoupled existing vault filtering from vault component by using routed params with routed-vault-filter-bridge
* Converted vault filters to standalone components
* Removed extending filter Base Components from deprecated /libs/angular library and handled logic directly
* Moved shared 'models' and 'services' directories from web-vault into /libs/vault
2026-01-15 16:17:00 +01:00
Zhaolin Liang
4aa69a769b [PM-25402] auto-assign new logins to current folder/collection (#16268)
* auto-assign selected collection for new vault items

* Ensure a selected collectionId in the vault filter is passed on to a newly created cipher.

Fixes #15485

* Assign selected folder and collection when creating a new cipher

Added here to prevent a regression whenever we switch over to this componet and deprecate vault-v2.component

* account for null folderIds

---------

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
Co-authored-by: Jordan Aasen <166539328+jaasen-livefront@users.noreply.github.com>
Co-authored-by: jaasen-livefront <jaasen@livefront.com>
2026-01-09 00:19:56 +01:00
rr-bw
d6b23670aa feat(auth-request-answering): [Auth / PM-26209] Use AuthRequestAnsweringService on Desktop (#16906)
Update Desktop to use the AuthRequestAnsweringService, bringing it into feature parity with the Extension.
2026-01-06 13:48:07 -08:00
Jason Ng
a4b5192bd8 [PM-26516] Archive Vault Updates Non Premium (#18068)
* add callout to vault-items for non premium users, add upgrade premium flow
* add archive badge to item details only for desktop
* update desktop edit item save for unarchive
* updated success toast for edited archive item non premium
2026-01-06 16:34:52 -05:00
Jordan Aasen
1cb5d5ce7a [PM-30249] - allow org ciphers to be archived (#18214)
* allow org ciphers to be archived

* fix title in item footer unarchive
2026-01-05 15:18:00 -08:00
Jason Ng
e2a1cfcbe8 [PM29951] add archive flag check to desktop vault-v2 (#18056) 2025-12-29 10:11:12 -05:00
Nick Krantz
dab1a37bfe PM-24535 Web premium upgrade path for archive (#16854)
* add premium badge to web filter when the user does not have access to premium

* remove feature flag pass through in favor of showing/hiding archive vault observable

* refactor archive observable to be more generic

* add archive premium badge for the web

* show premium badge inline for archive filter

* show premium subscription ended message when user has archived ciphers

* fix missing refactor

* remove unneeded can archive check

* reference observable directly

* reduce the number of firstValueFroms by combining observables into a single stream

* fix failing tests

* add import to storybook

* update variable naming for premium filters

* pass event to `promptForPremium`

* remove check for organization

* fix footer variable reference

* refactor back to `hasArchiveFlagEnabled$` - more straight forward to the underlying logic

* update archive service test with new feature flag format
2025-12-03 14:19:26 -06:00
Leslie Xiong
d373eefc9d [PM-27793] Create new v3 vault component (#17684)
Created Vault component for desktop vault-v3
- copied content from vault-v2.component.ts/html
- removed vault filters from html
2025-12-02 10:26:28 -08:00
Isaac Ivins
d05356dbeb [PM-27792] Scaffold layout desktop migration (#17658)
Introduces foundational scaffolding for the Bitwarden Desktop application UI migration
2025-12-01 10:04:07 -08:00
Nick Krantz
273f04c6a3 [PM-26513] Desktop Archive Upgrade (#16964)
* always shows desktop archive filter regardless of the users premium status

* include spec files in tsconfig

* add upgrade path for desktop

* combine duplicate class instances

* remove optional chaining

* update tests to avoid null assertions

* add test files to the spec tsconfig

* implement signal for premium badge component

* remove badge template reference
2025-11-25 15:12:20 -06:00
Nick Krantz
326cd40628 cipher.id now defaults to an empty string rather than null/undefined - use bang to transform into a boolean (#17137) 2025-10-30 15:44:49 -05:00
Oscar Hinton
af6e19335d Vault - Prefer signal & change detection (#16947) 2025-10-27 11:13:11 -04:00
Nick Krantz
22eb49aed1 [PM-19337] Desktop Archive (#16787)
* fix typescript errors

* add archive filter to desktop

* exclude archive items from search

* add left click menu options for archive

* add MP prompt checks for archive/unarchive

* assure that a cipher cannot be assigned to collections when archived

* move cipher from archive vault if a user loses premium

* ensure clone only shows when archive is active

* refactor right side footer actions to getter so it can be expanded

* add confirmation prompt for archiving cipher

* add utility service for archiving/unarchiving a cipher

* add archive/unarchive ability to footer of desktop

* add tests for utilities service

* handle null emission of `cipherViews$`

* use active user id directly from activeAccount

* remove unneeded load of vault items

* refresh internal cipher when archive is toggled - forcing the footer view to update

* refresh current cipher when archived from the left-click menu

* only show archive for viewing a cipher

* add cipher form tests

* clear archive date when soft deleting

* update success messages

* remove archive date when cloning

* fix crowdin message swap

* fix test

* move MP prompt before archive prompt - match PM-26994

* fix failing test

* add optional chaining

* move template logic into class

* condense logic

* `unArchive`
2025-10-20 10:04:32 -05:00
Colton Hurst
e9fc230dc1 [PM-26505] Fix Autotype update login issue (#16732) 2025-10-13 17:34:06 -04:00
Shane Melton
9f0a565241 [PM-25682] Migrate CipherView and subviews to be TS strict compliant (#16463)
* [PM-25682] Remove ts-strict-ignore from Vault view models and update types to be strict

* [PM-25682] Ignore ViewEncryptableKeys error for old decrypt methods

* [PM-25682] Add null/undefined as possible types for isNull* and other helpers that include null checks internally

* [PM-25682] Use patchValue instead of setValue which does not support undefined values

* [PM-25682] Add type assertions and other misc. null checks where necessary

* [PM-25682] Fix importers specs

* [PM-25682] Cleanup card view/details

* [PM-25682] Fix cipher view hasAttachment helper

* [PM-25682] Cleanup unecessary null assignments in notification.background.spec.ts

* [PM-25682] Ensure linkedId is undefined instead of null

* [PM-25682] Cleanup misc typing errors

* [PM-25682] Make the CipherId required

* [PM-25682] Undo CipherId assertions

* [PM-25682] Undo brand initial value change

* [PM-25682] Update SshKeyView

* [PM-25682] Add constructor to Fido2CredentialView

* [PM-25682] Prettier

* [PM-25682] Fix strict type warnings after merge with main

* [PM-25682] Cleanup cipher view spec

* [PM-25682] Cleanup new type warnings after merge

* [PM-25682] Undo removed eslint-disable-next-line comment

* [PM-25682] Fix flaky test

* [PM-25682] Use satisfies instead of as for Fido2CredentialAutofillView
2025-10-07 11:40:57 -04:00
Oscar Hinton
8cf379d997 [PM-22305] Upgrade typescript to 5.8 (#15044)
Upgrade to the latest supported typescript version in Angular.

Resolved TS errors by:
  - adding `: any` which is what the compiler previously implied and now warns about.
  - adding `toJSON` to satisfy requirement.
2025-10-06 12:39:40 -04:00
Jordan Aasen
7a38b22667 [PM-24951] - update "My Items" icon to bwi-user (#16674)
* update "My Items" icon to bwi-user

* fix tests

* revert changse to reports. fix assign collections.

* revert remaining changes to reports
2025-10-02 14:39:13 -07:00
rr-bw
5f7e1f99bf chore(flag-removal): [Auth/PM20439] Remove flagging logic and flag (BrowserExtensionLoginApproval) (#16568) 2025-09-29 13:29:56 -07:00
Jordan Aasen
6024f6eef2 [PM-25879][PM-25881] - [Defect] Premium badges missing reusable component (#16461)
* clean up premium badge component

* add provider to desktop settings

* rename prop.

* add provider to send component

* fix storybook

* fix test

* move dependency to new send dropdown component

* Revert "move dependency to new send dropdown component"

This reverts commit f134526279.

* remove hasPremium
2025-09-23 09:32:45 -07:00
Jordan Aasen
7313a5f2a3 [PM-825] - Desktop not minimizing on right click password when first opened (#16464)
* minimize item when copying regardless of action

* remove unused import
2025-09-23 08:57:33 -07:00
Jordan Aasen
3a6088c187 clear orgId when switching to a personal vault (#16396) 2025-09-16 11:52:46 -07:00
Jordan Aasen
8aa9f986f5 [PM-24935] - [Desktop] Fix loading state in cipher form save button (#16368)
* use bitButton for handling loading state

* remove unecessary code
2025-09-09 16:23:27 -07:00
Daniel James Smith
ee772703fe When using assistive technology announce that a dialog is opened when the generator history link is clicked (#15815)
Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
2025-09-05 12:58:57 +02:00
Oscar Hinton
e0da2671b4 [PM-13374] Update all SDK uuids (#14962)
* fix: broken SDK interface

* Fix all compile errors related to uuids

* Fix browser desktop

* Fix tests

---------

Co-authored-by: Andreas Coroiu <andreas.coroiu@gmail.com>
2025-08-29 13:09:33 -04:00