1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-09 05:57:40 +02:00
bitwarden-browser/apps/web/src/app/layouts
Nick Krantz 07076ebf9d
[PM-7231] Product Switcher within navigation sidebar (#8810)
* refactor: move logic for products into a service

- This is in preparation for having having the navigation menu show products based off of the same logic.

* add extra small font size to tailwind config

* remove absolute positioning from toggle width component
- it now sits beneath the product switcher

* update product switcher to have UI details that are only shown in the navigation pane

* add navigation oriented product switcher

* integrate navigation product switcher into secrets manager

* integrate navigation product switcher into provider console

* integrate navigation product switcher into user layout

* integrate navigation product switcher into organizations

* add translation for "switch"

* hide active styles from navigation product switcher

* update storybook for product switcher stories

* remove unneeded full width style

* use protected readonly variable instead of getter

* migrate stories to CSF3

* remove double subscription to `moreProducts$`

* only use wrapping div in navigation switcher story

- less vertical space is taken up

* update to satisfies

* refactor `navigationUI` to `otherProductOverrides`

* move observables to protected readonly

* apply margin-top via class on the host component

* remove switch text from the navigation product switcher

* Allow for the active navigation switcher to be shown

* remove xxs font style

* remove unneeded module

* remove switch from stories

* remove defensive nullish coalescing

* remove merge leftovers

* Defect PM-7899 - show organizations product at the top of the other products list

* Defect PM-7951 use attr.icon to keep the icon as an attribute after prod mode is enabled

* Defect PM-7948 update path based on the current org

* force active styles for navigation items (#9128)

* add horizontal margin to icon

---------

Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
2024-05-16 08:18:58 -05:00
..
header [PM-6688] Use AccountService as account source (#8893) 2024-04-30 09:13:02 -04:00
org-switcher [AC-1913] Update OrganizationLayoutComponent to use PolicyService to check if the user has the SingleOrg policy and use the value to hide the 'New Org' button (#8349) 2024-04-03 15:51:21 +01:00
product-switcher [PM-7231] Product Switcher within navigation sidebar (#8810) 2024-05-16 08:18:58 -05:00
frontend-layout.component.html [deps] Autofill: Update prettier to v3 (#7014) 2023-11-29 16:15:20 -05:00
frontend-layout.component.ts [PM-142] Add environment selector to trial initiation (#5546) 2023-06-30 16:50:00 +01:00
navbar.component.html Vertical Vault Navigation (#6957) 2024-02-23 09:22:45 -08:00
password-manager-logo.ts Vertical Vault Navigation (#6957) 2024-02-23 09:22:45 -08:00
secrets-manager-logo.ts [AC-1453] Move SecretsManagerLogo into OSS code (#6447) 2023-09-29 16:58:06 +01:00
toggle-width.component.ts [PM-7231] Product Switcher within navigation sidebar (#8810) 2024-05-16 08:18:58 -05:00
user-layout.component.html [PM-7231] Product Switcher within navigation sidebar (#8810) 2024-05-16 08:18:58 -05:00
user-layout.component.ts [PM-7231] Product Switcher within navigation sidebar (#8810) 2024-05-16 08:18:58 -05:00