1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-24 03:32:51 +02:00
bitwarden-browser/libs/common/src
Andreas Coroiu ea6666780a
[EC-775] [Technical Dependency] Refactor Vault Filters to be routable (#4733)
* [EC-775] feat: add compatibility layer from #4154

* [EC-775] fix: ciphers not reloading on filter change

* [EC-775] feat: add support for cipher types

* [EC-775] feat: implement organization switching

* [EC-775] feat: remove invalid folder and collection checks

Had to remove these becuase they were causing double navigations on each click.

* [EC-775] fix: fix reverse data flow race condition

vault-filter.component was pushing up old filter models which would sometimes overwrite new filter models that came from the routed filter service.

* [EC-775] fix: No folder use-case not working

* [EC-775] feat: make navigation behave like master

* [EC-775] feat: add support for trash

* [EC-775] chore: simplify findNode

* [EC-775] feat: add support for org vault

* [EC-775] feat: add support for orgId in path

* [EC-775] feat: use proper treenode constructor

* [EC-775] chore: remove unnecessary variable

* [EC-775] docs: add docs to relevant classes

* [EC-775] chore: use existing function for searching tree

* [EC-775] fix: hide "new" button in trash view

* [EC-775] feat: add explicit handling for `AllItems`

* [EC-775] fix: prune folderId when changing organization

* [EC-775] fix: properly use `undefined` instead of `null`

* [EC-775] chore: simplify setters using ternary operator

* [EC-775] feat: add static typing to `type` filter

* [EC-775] feat: use new `All` variable for collections

* [EC-775] feat: return `RouterLink` compatible link from `createRoute`

* [EC-775] feat: add ordId path support to `createRoute`

* [EC-775] fix: interpret params differently in org vault

This is needed due to how defaults used to work when using `state-in-code`. We really want to get rid of this type of logic going forward.

* [EC-775] doc: clarify `createRoute`

* [EC-775] fix: better `type` typing

* [EC-775] feat: remove support for path navigation

It's better that we circle back to this type of navigationt when we're working on the VVR and have more knowledge about how this is supposed to work.

* [EC-775] fix: refactor bridge service to improve readability

Refactor follows feedback from PR review
2023-03-06 08:34:13 +01:00
..
abstractions [EC-859] update billing routes for owners of Managed orgs (#4611) 2023-02-27 16:31:55 -05:00
auth Defect/SG-1083 - Fix SSO Form Validation (#4791) 2023-02-17 16:55:57 -05:00
email-forwarders [TDL-192] Rename email forwarders per ADR #12 (#4107) 2022-11-24 14:55:24 +01:00
enums [SM-389] Event log for service account (#4679) 2023-02-24 16:44:24 +01:00
factories [SM-288] Rename models to follow naming convention (#3795) 2022-10-14 18:25:50 +02:00
importers Fix subfolders not being created (#4653) 2023-02-17 21:01:21 +01:00
interfaces [EC-272] Web workers using EncryptionService (#3532) 2022-10-28 07:38:54 +10:00
misc [EC-775] [Technical Dependency] Refactor Vault Filters to be routable (#4733) 2023-03-06 08:34:13 +01:00
models [SM-389] Event log for service account (#4679) 2023-02-24 16:44:24 +01:00
services [EC-859] update billing routes for owners of Managed orgs (#4611) 2023-02-27 16:31:55 -05:00
types Auth/ps 2298 reorg auth (#4564) 2023-02-06 15:53:37 -06:00
vault Auth/ps 2298 reorg auth (#4564) 2023-02-06 15:53:37 -06:00
globals.d.ts Move to libs 2022-06-03 16:24:40 +02:00