* removing separate hds icon class
* removing duplicate class, adding separate class to handle toolbar link misalignment
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
* Update container margins and padding
* Use 64px padding
* Add centered-container
* This wraps all the page content in vault
Co-authored-by: Kianna <30884335+kiannaquach@users.noreply.github.com>
* update styles and casing
* fix check for default secret engines
* show content behind intro modal
* revert header changes
* update alert and test
* add test coverage and update flash message
* update doc link style class and update test
* update tests
* update test to avoid state mismatches
* update test
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
* improve dismissal logic, use AutomationSnippet component, use wizard service for tracking dismissal
* use class helper to check for multiple nodes when rendering tree chart, add test coverage
* update comments
* add modal for namespace intro and improve reusability
* style updates and general reusability updates
* make intro pages more generic and rename welcome to intro
* update tests
* update styles, use service to track intro visibility, rename components
* Update arg docs
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
* fill guided start content
* move namespace logic into page component
* add page component tests for namespace wizard
* add tree chart and changelog, update state management
* fix failing page usage test
* add back in breadcrumb update lost in merge conflict resolution across files
* fix test
* update terraform template function usage
* Update ui/app/components/wizard/namespaces/step-3.hbs
* formatting and fixes
* revert usage page changes
* move snippet generators into util and update code snippet initialization
* update test namespace page args
* move namespace wizard logic into its own component
* fix nested namespace creation via api and cli code snippets
* test update
* nested namespace terraform snippet
* remove outdated comment
* test clean up and hide wizard in CE
---------
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* add automation snippets to policy and convert to page component
* only show for acl types
* remove unnecessary tag
* update test coverage
* last fix, oops!
* wait for dropdown to close
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* VAULT-17006 - Replaced EmptyState component with HDS ApplicationState for "identity" directory
* reverted top margin spacing to use top padding instead
Co-authored-by: mohit-hashicorp <mohit.ojha@hashicorp.com>
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
* replace Hds::Reveal with Hds::Accordion
* adjust spacing to render in Hds::Form component
* fix spacing in policy-example
* cleanup form-section class usage
* implement visual builder in create policy form
* hide visual editor in search select modal
* use general selectors, alphabetize form/field selectors
* update test coverage to check for visual policy editor
* reorganzie tests by module
* add saving functionality for visual editor
* refactor event handling methods
* refactor component so parent manages stanzas
* move snippets to automation-snippets tab component
* polish up policy diff modal
* refactor arg to be isCompact
* update test coverage and export new component
* rearrange methods to make diff easier
* small cleanup, abc vars and remove unneeded change
* add lanuage and update test coverage
* update comment
* fix form hierarchy
* fix modal spacing;
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* UI: Render total monthly clients for HVD managed clusters and "new" for only self-managed (#10472)
* rename byMonthNewClients to byMonthClients
* render total vs new clients depending on cluster type
* fix mutation of original array order
* add changelog
* Apply suggestion from @hellobontempo
* Apply suggestion from @hellobontempo
* Apply suggestion from @hellobontempo
* add test coverage
* hide client list tab for HVD clusters
* add test coverage
* make copy changes
* apply copy updates from feedback sync
* skip hvd test on CE runs
* restart tests
---------
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
Co-authored-by: claire bontempo <cbontempo@hashicorp.com>
* replace instances of ToolTip component with HDS tooltip
* Replace InfoTooltip component instances with HDS tooltip
* update tests
* remove remaining custom tooltip code
* remove rich tooltip with copy
* update test and update toolbar link with styling to remove extra link
* Apply suggestions from code review
* update test and remove setRunOptions now that tooltip violations are addressed
* Revert "Apply suggestions from code review"
This reverts commit 90f01c653be68f23b6dbd75f252d227e38dbe53f.
* Remove unused disabled tooltip code
* add comment and TODO explaining conditional modifier pattern
---------
Co-authored-by: lane-wetmore <lane.wetmore@hashicorp.com>
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* license: update headers to IBM Corp.
* `make proto`
* update offset because source file changed
Signed-off-by: Ryan Cragun <me@ryan.ec>
Co-authored-by: Ryan Cragun <me@ryan.ec>
* support wide width splash page
* add enable_self_enrollment param to mfa-method config
* build and implement mfa setup-card display only component
* fix transition bug navigating away from mfa method
* rename mfa card
* WIP implement self-enrollment workflow
* wip integration tests
* convert mfa-form to typescript
* remove unused import
* show alert whenver there is a QR code
* organze mfa steps into Mfa::VerifyForm and Mfa::SelfEnroll
* WIP stretch goals of mfa redesign
* add copyright headers
* update test
* add support for multiple constraints with self-enrollment
* remove comment
* fix multi-method UX
* fix state for failed validation
* remove changing button for error states
* add error handling and validation messages
* minor cleanup for params
* first round of cleanup and reorganization
* final round of logic cleanup and organization
* touch ups after testing with live backend
* fix comment
* final test cleanup!
* Apply suggestions from code review
* improve mirage error handling to more accurately mimic real failures
* add test coverage
* make qr rendering logic easier
* address PR feedback
* submit enroll form on enter, remove code digit number from copy, reset enroll state
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* build mirage handler for snapshot recovery endpoints
* WIP add namespace and mount fields to read/recover form
* change option to engine object
* update badge color according to status and make loaded snapshot reqs within root ns
* wip read reqs and view
* add recovery banner and form validation
* move read view into modal
* tidying
* organize
* tests
* style fixes
* error handling
* tests
* update requests with snapshot params
* style fix
* yarn lock update for latest spec updates
* tests
* add polling for snapshot status
* disable button when not in ready state
* reset errors
* don't poll during tests
* remove todo
* test updates
* fix ns select + test
* remove todo
* styling, tidy, mount options, engine types
* lots of tidying, add manual mount input, slower polling
* make read + recover requests in selected namespace
* link to child ns if recovering there
* test updates
* centralize recovery data values
* type, state and error improvements
---------
Co-authored-by: claire bontempo <cbontempo@hashicorp.com>
Co-authored-by: Lane Wetmore <lane.wetmore@hashicorp.com>
* render export activity in table by client type
* refactor filter toolbar to apply filters when selected
* finish filter toolbar refactor
* finish building client-list page
* remaing test updates from the filter-toolbar refactor
* WIP tests
* finish tests for export tab!
* add test for bar chart colors
* reveal client list tab
* add changelog
* filter root namespace on empty string or "root"
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* fix chart legend order and make sync clients last
* reimplement using idx in chart legend
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
Co-authored-by: claire bontempo <cbontempo@hashicorp.com>
* rename query params to match keys from api response
* move type guard check to util
* update color scheme
* remove passing selected namespace to export activity data request
* remove namespace and mount filter toolbar
* update response, sort by client count number
* remove default page size for testing
* implement table and filters in overview tab
* remove old query params
* cleanup unused args
* revert page header changes
* update mirage, remove month from utils
* update client count utils
* one more color!
* reset table to page 1;
* workaround to force Hds::Pagination::Numbered to update when currentPage changes
* add empty state test for no attribution
* delete unused methods
* add test for new utils
* add changelog
* rename changelog
---------
Co-authored-by: claire bontempo <cbontempo@hashicorp.com>
* updating components to use hds flex, removing custom css
* creating layout, updating fields to use select instead of dropdown
* conditional render, remove commented code
* adding external link
* update handlers and style
* updating general settings layout so TTL doesnt stretch other cards
* typo
Co-authored-by: Dan Rivera <dan.rivera@hashicorp.com>
* wrap ember-power-select overrides in search-select css selector
* move class accidentally applied to nested block
* make renderInPlace default to true
* resolve todos
* rename chart container component
* template the client-list route
* update tests
* only render colon if items is selected
* stub clients endpoint so activity is consistent
* delete vertical bar grouped
* delete individual routes and tabs for client count types
* add nav-bar component to hide tab in production
* first round of test updates
* skip client list tests for now
* reogranize overview tests
* fix css color for chart
* change chart styling from grid to flex
* add split view for running total chart
* update latest colors from designs
* add changelog
* rename yield blocks to be more flexible
* add conditional for description
* delete routes
* update greys to use hds tokens
* update blue vars
* remove unused color vars
* replace remaining colors, add hex codes in commnets
* update kv rgp color
* remove color_variables file and use hds tokens directly
* add request for custom login settings to auth route
* add tests to page integration before updating logic
* make tab component tests
* move form state logic to parent page component
* test updates for sanitizing query param in auth route
* add custom login feature
* add test for fetching login settings on ent only
* add changelog
* reword changelog
* rename variable from showOtherMethods to showAlternateView
* cleanup store
* cleanup comments per PR feedback
* abc
* VAULT-34672 render line breaks in description
* update endpoints after testing with live api
* add test coverage
* word
* remove backup types from test-ns for testing
* change to manually log in
* add error handling for no login settings
* add inheritance badge and make list item linkable
* increase bar width, show new clients only, add timestamp to header, update bar color
* remove extra timestamps, switch to basic bar chart
* update docs and styling
* remove unneeded timestamp args
* show new client running totatls
* initial test updates
* update test
* clean up new client total calc into util fn
* bits of clean up and todos
* update tests
* update to avoid activity call when in CE and missing either start or end time
* update todos
* update tests
* tidying
* move new client total onto payload for easier access
* update more tests to align with copy changes and new client totals
* remove addressed TODOs
* Update comment
* add changelog entry
* revert to using total, update tests and clean up
* Update ui/app/components/clients/page/counts.hbs
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* remove duplicate charts and update descriptions
* update tests after removing extra charts
* tidy
* update instances of byMonthActivityData to use byMonthNewClients and update tests
* Update ui/app/components/clients/running-total.ts
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* update chart styles
---------
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>