bitwarden-estensione-browser/libs
Shane Melton bcda04ee86
[AC-358] SelfHosted update subscription page (#5101)
* [AC-358] Add selfHostSubscriptionExpiration property to organization-subscription.response.ts

* [AC-358] Update selfHost org subscription template

- Replace "Subscription" with "SubscriptionExpiration"
- Add question mark help link
- Add helper text for grace period
- Add support for graceful fallback in case of missing grace period in subscription response

* Update libs/common/src/billing/models/response/organization-subscription.response.ts

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

* [AC-358] Remove unnecessary hypen

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

* [AC-358] Introduce SelfHostedOrganizationSubscription view
- Encapsulate expiration/grace period logic in the new view object.
- Remove API response getters from the angular component
- Replace the API response object with the new view

* [AC-358] Clarify name for new expiration without grace period field

* [AC-358] Update constructor parameter name

* [AC-358] Simplify new selfhost subscription view

- Make expiration date properties public
- Remove obsolete expiration date getters
- Update the component to use new properties
- Add helper to component for determining if the subscription should be rendered as expired (red text)

* [AC-358] Rename isExpired to isExpiredAndOutsideGracePeriod to be more explicit

---------

Co-authored-by: Thomas Rittson <31796059+eliykat@users.noreply.github.com>
2023-05-15 07:38:53 -07:00
..
.vscode Multi root workspace tweaks (#2858) 2022-06-13 21:39:36 -05:00
angular [PM-2054] Updated Password Generator History to use Component Library on Web (#5414) 2023-05-15 12:01:28 +01:00
common [AC-358] SelfHosted update subscription page (#5101) 2023-05-15 07:38:53 -07:00
components [PM-1950] Add support for a loading state in dialogs (#5268) 2023-05-09 11:26:13 +02:00
exporter [PM-2132] Move all specs to the src directory (#5367) 2023-05-09 11:27:09 +02:00
importer [PM-1877] Spellcheck (#5237) 2023-04-26 12:16:07 +02:00
node [PM-2132] Move all specs to the src directory (#5367) 2023-05-09 11:27:09 +02:00
shared [PM-328] Move exporter to tools (#5070) 2023-04-19 11:30:46 +02:00