consul/ui-v2/app/styles/components
John Cowen f21b17a1f2 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
..
app-view UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
auth-form UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
auth-modal UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
brand-loader ui: Split out product css component into its separate elements (#7342) 2020-05-12 17:14:11 +00:00
card ui: Create CSS variables for box-shadowing consistency (#7337) 2020-05-12 17:14:09 +00:00
code-editor UI: ACL Roles (#5635) 2019-05-01 18:22:37 +00:00
composite-row ui: Redesign - Instance Detail Proxy Info tab (#7745) 2020-05-12 17:14:46 +00:00
confirmation-dialog ui: Use base fonts throughout the app (#6881) 2019-12-18 12:26:45 +00:00
consul-intention-list ui: Moves intentions listing and form into components (#7549) 2020-05-12 17:14:21 +00:00
discovery-chain ui: Split out product css component into its separate elements (#7342) 2020-05-12 17:14:11 +00:00
dom-recycling-table ui: Small CSS tweaks (#7808) 2020-05-12 17:14:47 +00:00
empty-state UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
expanded-single-select ui: Update the shadows for radio buttons and the cards (#7391) 2020-05-12 17:14:14 +00:00
feedback-dialog UI: Tooltips and feedback-dialogs are the same thing - merge (#4678) 2018-09-21 11:13:21 +01:00
filter-bar ui: Create PopoverSelect, CatalogToolbar, and update tests (#7489) 2020-05-12 17:14:48 +00:00
flash-message ui: Add `stats-card` component, integrate more `@hashicorp/structure-icons` (#6021) 2019-09-04 08:35:11 +00:00
footer ui: Split out product css component into its separate elements (#7342) 2020-05-12 17:14:11 +00:00
freetext-filter UI: CSS Refactor (#4919) 2019-05-01 18:21:38 +00:00
healthcheck-info ui: Add `stats-card` component, integrate more `@hashicorp/structure-icons` (#6021) 2019-09-04 08:35:11 +00:00
healthcheck-output ui: Redesign - Instance Detail Proxy Info tab (#7745) 2020-05-12 17:14:46 +00:00
loader ui: Split out product css component into its separate elements (#7342) 2020-05-12 17:14:11 +00:00
main-header-horizontal ui: Split out product css component into its separate elements (#7342) 2020-05-12 17:14:11 +00:00
main-nav-horizontal UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
oidc-select UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
phrase-editor ui: Fix CSS related to icons and h2 changes done in different PRs 2019-05-01 19:01:32 +00:00
progress UI: New ACLs (#4789) 2018-10-19 08:45:05 -07:00
secret-button ui: Use structure-icons as much as possible (#6851) 2020-01-16 09:10:32 +00:00
tabular-details ui: Create CSS variables for box-shadowing consistency (#7337) 2020-05-12 17:14:09 +00:00
tag-list ui: Redesign - Create ConsulExternalSource (#7632) 2020-05-12 17:14:25 +00:00
anchors.scss ui: Use structure-icons as much as possible (#6851) 2020-01-16 09:10:32 +00:00
app-view.scss UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
auth-form.scss UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
auth-modal.scss UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
brand-loader.scss ui: Split out product css component into its separate elements (#7342) 2020-05-12 17:14:11 +00:00
breadcrumbs.scss ui: CSS Components Migration (#5913) 2019-09-04 08:35:01 +00:00
buttons.scss UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
code-editor.scss ui: Adds multi syntax linting to the code editor (#4814) 2018-10-19 17:36:38 +01:00
confirmation-dialog.scss UI: New ACLs (#4789) 2018-10-19 08:45:05 -07:00
consul-intention-list.scss ui: Moves intentions listing and form into components (#7549) 2020-05-12 17:14:21 +00:00
consul-service-instance-list.scss ui: Redesign - Instance Detail Proxy Info tab (#7745) 2020-05-12 17:14:46 +00:00
consul-service-list.scss ui: Redesign - Instance Detail Proxy Info tab (#7745) 2020-05-12 17:14:46 +00:00
discovery-chain.scss ui: Split out product css component into its separate elements (#7342) 2020-05-12 17:14:11 +00:00
empty-state.scss ui: Logout button (#7604) 2020-05-12 17:14:24 +00:00
feedback-dialog.scss ui: Logout button (#7604) 2020-05-12 17:14:24 +00:00
filter-bar.scss ui: Create PopoverSelect, CatalogToolbar, and update tests (#7489) 2020-05-12 17:14:48 +00:00
flash-message.scss ui: Fixes styling of 'duplicate intention' error message (#6936) 2019-12-18 12:26:46 +00:00
footer.scss ui: Split out product css component into its separate elements (#7342) 2020-05-12 17:14:11 +00:00
form-elements.scss UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
freetext-filter.scss ui: Use structure-icons as much as possible (#6851) 2020-01-16 09:10:32 +00:00
grid-collection.scss ui: Redesign Service List page (#7605) 2020-05-12 17:14:25 +00:00
healthcheck-info.scss ui: Use structure-icons as much as possible (#6851) 2020-01-16 09:10:32 +00:00
healthcheck-output.scss ui: Expose checks (#6575) 2019-12-18 12:26:43 +00:00
healthchecked-resource.scss ui: Use structure-icons as much as possible (#6851) 2020-01-16 09:10:32 +00:00
index.scss UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
list-collection.scss ui: Redesign - Create ConsulExternalSource (#7632) 2020-05-12 17:14:25 +00:00
loader.scss ui: Split out product css component into its separate elements (#7342) 2020-05-12 17:14:11 +00:00
main-header-horizontal.scss ui: Fix CSS typo (#7791) 2020-05-12 17:14:43 +00:00
main-nav-horizontal.scss ui: Split out product css component into its separate elements (#7342) 2020-05-12 17:14:11 +00:00
modal-dialog.scss ui: CSS Upgrade (action-group,form-elements,sliding-toggle,breadcrumbs) (#6495) 2019-12-18 12:26:43 +00:00
notice.scss ui: Misc CSS amends, mainly changes to empty-state (#7743) 2020-05-12 17:14:39 +00:00
oidc-select.scss UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
phrase-editor.scss ui: Search improvements (#5540) 2019-05-01 18:22:36 +00:00
pill.scss ui: Redesign - Service List page with Gateways (#7781) 2020-05-12 17:14:42 +00:00
popover-select.scss ui: Create PopoverSelect, CatalogToolbar, and update tests (#7489) 2020-05-12 17:14:48 +00:00
progress.scss UI: New ACLs (#4789) 2018-10-19 08:45:05 -07:00
secret-button.scss ui: Use structure-icons as much as possible (#6851) 2020-01-16 09:10:32 +00:00
sort-control.scss ui: Adds a `sort-control` component for asc/desc sorting of columns etc (#6034) 2019-09-04 08:35:16 +00:00
table.scss ui: Redesign - Instance Detail Proxy Info tab (#7745) 2020-05-12 17:14:46 +00:00
tabs.scss ui: Tab Improvements (animations/branding) (#7772) 2020-05-12 17:14:43 +00:00
tabular-collection.scss ui: Namespace Support (#6639) 2019-12-18 12:26:47 +00:00
tabular-details.scss UI: New ACLs (#4789) 2018-10-19 08:45:05 -07:00
tag-list.scss UI: Service Instances (#5326) 2019-05-01 18:22:10 +00:00
tomography-graph.scss UI: CSS Refactor (#4919) 2019-05-01 18:21:38 +00:00
tooltip.scss ui: Various amends for 1.7beta (#6965) 2019-12-18 18:27:54 +00:00