open-consul/ui-v2/app/styles/base/components
John Cowen 412eec7f5d UI: Improved Login/Logout flow inc SSO support (#7790)
* 6 new components for new login/logout flow, plus SSO support

UI Components:

1. AuthDialog: Wraps/orchestrates AuthForm and AuthProfile
2. AuthForm: Authorization form shown when logged out.
3. AuthProfile: Simple presentational component to show the users
'Profile'
4. OidcSelect: A 'select' component for selecting an OIDC provider,
dynamically uses either a single select menu or multiple buttons
depending on the amount of providers

Data Components:

1. JwtSource: Given an OIDC provider URL this component will request a
token from the provider and fire an donchange event when it has been
retrieved. Used by TokenSource.
2. TokenSource: Given a oidc provider name or a Consul SecretID,
TokenSource will use whichever method/API requests required to retrieve
Consul ACL Token, which is emitted to the onchange event handler.

Very basic README documentation included here, which is likely to be
refined somewhat.

* CSS required for new auth/SSO UI components

* Remaining app code required to tie the new auth/SSO work together

* CSS code required to help tie the auth/SSO work together

* Test code in order to get current tests passing with new auth/SSO flow

..plus extremely basics/skipped rendering tests for the new components

* Treat the secret received from the server as the truth

Previously we've always treated what the user typed as the truth, this
breaks down when using SSO as the user doesn't type anything to retrieve
a token. Therefore we change this so that we use the secret in the API
response as the truth.

* Make sure removing an dom tree from a buffer only removes its own tree
2020-05-12 17:14:51 +00:00
..
action-group ui: CSS Upgrade (action-group,form-elements,sliding-toggle,breadcrumbs) (#6495) 2019-12-18 12:26:43 +00:00
anchors ui: Misc CSS amends, mainly changes to empty-state (#7743) 2020-05-12 17:14:39 +00:00
breadcrumbs ui: Update Breadcrumbs styling (#7687) 2020-05-12 17:14:30 +00:00
buttons ui: Create PopoverSelect, CatalogToolbar, and update tests (#7489) 2020-05-12 17:14:48 +00:00
checkbox-group ui: CSS Upgrade (action-group,form-elements,sliding-toggle,breadcrumbs) (#6495) 2019-12-18 12:26:43 +00:00
confirmation-alert ui: New Confirmation Dialogs (#7007) 2020-01-22 12:08:29 +00:00
display-toggle ui: New Confirmation Dialogs (#7007) 2020-01-22 12:08:29 +00:00
form-elements UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
inline-alert ui: CSS Upgrade (action-group,form-elements,sliding-toggle,breadcrumbs) (#6495) 2019-12-18 12:26:43 +00:00
menu-panel ui: Tab Improvements (animations/branding) (#7772) 2020-05-12 17:14:43 +00:00
modal-dialog ui: Create CSS variables for box-shadowing consistency (#7337) 2020-05-12 17:14:09 +00:00
notice ui: Add stats-card component, integrate more @hashicorp/structure-icons (#6021) 2019-09-04 08:35:11 +00:00
pill ui: Redesign - Service List page with Gateways (#7781) 2020-05-12 17:14:42 +00:00
popover-menu ui: Create PopoverSelect, CatalogToolbar, and update tests (#7489) 2020-05-12 17:14:48 +00:00
radio-group ui: CSS Upgrade (action-group,form-elements,sliding-toggle,breadcrumbs) (#6495) 2019-12-18 12:26:43 +00:00
sliding-toggle ui: CSS Upgrade (action-group,form-elements,sliding-toggle,breadcrumbs) (#6495) 2019-12-18 12:26:43 +00:00
sort-control ui: Adds a sort-control component for asc/desc sorting of columns etc (#6034) 2019-09-04 08:35:16 +00:00
stats-card ui: Update the shadows for radio buttons and the cards (#7391) 2020-05-12 17:14:14 +00:00
table ui: Redesign - Instance Detail Proxy Info tab (#7745) 2020-05-12 17:14:46 +00:00
tabs ui: Small CSS tweaks (#7808) 2020-05-12 17:14:47 +00:00
toggle-button ui: CSS Components Migration (#5913) 2019-09-04 08:35:01 +00:00
tooltip ui: Create CSS variables for box-shadowing consistency (#7337) 2020-05-12 17:14:09 +00:00