open-consul/ui-v2/app/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
..
acl-filter ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
action-group ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
app-view ui: Redesign - Instance Detail Proxy Info tab (#7745) 2020-05-12 17:14:46 +00:00
aria-menu ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
auth-dialog 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-profile UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
catalog-filter ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
catalog-toolbar ui: Create PopoverSelect, CatalogToolbar, and update tests (#7489) 2020-05-12 17:14:48 +00:00
changeable-set ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
child-selector UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
code-editor ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
confirmation-dialog ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
consul-external-source ui: Redesign - Service List page with Gateways (#7781) 2020-05-12 17:14:42 +00:00
consul-intention-form ui: Change wording used in the intention forms (#7831) 2020-05-12 17:14:50 +00:00
consul-intention-list ui: Moves intentions listing and form into components (#7549) 2020-05-12 17:14:21 +00:00
consul-kind ui: Redesign - Service List page with Gateways (#7781) 2020-05-12 17:14:42 +00:00
consul-loader ui: ConsulLoader component (#7719) 2020-05-12 17:14:35 +00:00
consul-metadata-list ui: Add `<ConsulMetadataList />` and use it in 2 places (#7568) 2020-05-12 17:14:21 +00:00
consul-service-instance-list ui: Redesign - Service Detail Page (#7655) 2020-05-12 17:14:27 +00:00
consul-service-list ui: Create PopoverSelect, CatalogToolbar, and update tests (#7489) 2020-05-12 17:14:48 +00:00
copy-button ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
copy-button-feedback ui: Redesign - Instance Detail Proxy Info tab (#7745) 2020-05-12 17:14:46 +00:00
data-sink ui: Logout button (#7604) 2020-05-12 17:14:24 +00:00
data-source ui: Use DataSources in ACLs area (#7681) 2020-05-12 17:14:29 +00:00
delete-confirmation ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
discovery-chain ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
dom-buffer UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
dom-buffer-flush ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
empty-state ui: Logout button (#7604) 2020-05-12 17:14:24 +00:00
feedback-dialog ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
form-component UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
freetext-filter ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
grid-collection ui: Redesign Service List page (#7605) 2020-05-12 17:14:25 +00:00
hashicorp-consul UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
healthcheck-info ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
healthcheck-list ui: Redesign - Instance Detail Proxy Info tab (#7745) 2020-05-12 17:14:46 +00:00
healthcheck-output ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
healthcheck-status ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
healthchecked-resource ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
intention-filter ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
jwt-source UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
list-collection ui: Redesign - Instance Detail Proxy Info tab (#7745) 2020-05-12 17:14:46 +00:00
modal-dialog ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
modal-layer ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
oidc-select UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
phrase-editor ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
policy-form ui: Use DataSources in ACLs area (#7681) 2020-05-12 17:14:29 +00:00
policy-selector UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
popover-menu ui: Exposes the <ToggleButton /> 'click' action (#7479) 2020-05-12 17:14:19 +00:00
popover-select ui: Create PopoverSelect, CatalogToolbar, and update tests (#7489) 2020-05-12 17:14:48 +00:00
radio-group ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
ref ui: Move <Ref /> docs to README.mdx (#7459) 2020-05-12 17:14:17 +00:00
resolver-card ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
role-form UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
role-selector ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
route-card ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
secret-button ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
service-identity ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
sort-control ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
splitter-card ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
state ui: Add `<State /> and `{{state-matches}}` ember component/helper (#7556) 2020-05-12 17:14:20 +00:00
state-chart ui: Adds `<StateChart />` component for wiring together Ember+XState (#7742) 2020-05-12 17:14:38 +00:00
stats-card ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
tab-nav ui: Tab Improvements (animations/branding) (#7772) 2020-05-12 17:14:43 +00:00
tab-section ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
tabular-collection ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
tabular-details ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
tag-list ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
templated-anchor ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
toggle-button ui: Exposes the <ToggleButton /> 'click' action (#7479) 2020-05-12 17:14:19 +00:00
token-list ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00
token-source UI: Improved Login/Logout flow inc SSO support (#7790) 2020-05-12 17:14:51 +00:00
tomography-graph ui: Move to new ember nested file structure for components (#7403) 2020-05-12 17:14:15 +00:00