* chore: 🤖 create target worker explainer element
Create a element that will explain what the filters and diagrams mean
when toggled and on screen.
* refactor: 💡 add logic directly to worker-diagram
* refactor: 💡 added logic to all worker diagrams
Added logic to all worker diagrams
* feat: 🎸 create Worker Diagram for OSS
✅ Closes: ICU-7579
* refactor: 💡 change ordered series icon to have white background
* feat: 🎸 Create Worker Diagram for egress and ingress filters
✅ Closes: ICU-7592
* feat: 🎸 Add HCP logic to Worker Diagram component
✅ Closes: ICU-7594
* refactor: 💡 remove wrapping divs and update data-test attrs
* refactor: 💡 revert HDS icon background color change
* refactor: 💡 make data-test attr more verbose
* test: 💍 fix data-test selectors for dual filter tests
* refactor: 💡 refactor test for worker-diagram dual-filter
Seperate test for `worker-diagram/dual-filter` into tow seperate test.
One for HCP and one for Enterprise.
✅ Closes: ICU-7594
* chore: 🤖 actual test for last commit
actual test for last commit
* chore: 🤖 split woker-diagram dual-filter into two components
Split worker-diagram-dual-filter component into two seperate component
and fixed test to reflect changes.
✅ Closes: ICU-7594
* refactor: 💡 quick test refactor
Refactor test for `worker-diagram-dual-filter`
* refactor: 💡 refactor dual-filter test
Refactor worker-diagram-dual-filter test to better align with if the
diagram exist, rather than what the text inside of the diagram states.
✅ Closes: ICU-7594
Co-authored-by: dvonanderson <devon.anderson@hashicorp.com>
* feat: 🎸 OrderedSeriesDiagram component
Created `orderd-series-diagram` component to look a the state of the
ingress and egress filters and determine which diagram should be
displayed.
✅ Closes: ICU-6459
* refactor: 💡 sass lint fix
Fixed sass lint errors
✅ Closes: ICU-7347
* Update app.scss
added closing tag
* refactor: 💡 refactor of styling and test
Refactored styling for `ordered-series-diagram` to match mocks, and
fixed indent errors in test.
✅ Closes: ICU-7347
* refactor: 💡 clean up testing errors
Clean up testing errors for `ordered-series-diagram`
* refactor: 💡 refactor series diagram (#1577)
* refactor: 💡 merge refactor changes and fix test
Merged refactor changes to ordered series diagram and fix tests
✅ Closes: ICU-7347
Co-authored-by: Randall Morey <randall@randallmorey.com>
* fix: 🐛 Remove json_object from payload for non-json credentials
* refactor: 💡 update new route logic for type specific attributes
* test: 💍 remove typeIn and use fillIn for json credential test
* refactor: 💡 Migrate Target form to use HDS components
* chore: 🤖 add ember-test-selectors to remove data-test attribute
Removes data-test attributes in production builds
* refactor: 💡 Default Port marked requried or optional by type
* refactor: 💡 desktop display of complex nested secrets
A quick solution for displaying JSON secret objects in connection modal.
✅ Closes: ICU-7409
* refactor: 💡 refactor hidden-secret.js and test
Guard against null for in `typeof` return.
✅ Closes: ICU-7409
* Update ui/desktop/app/styles/app.scss
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
* refactor: 💡 test
Changed test to check for secret output after clicking on reveal
* refactor: 💡 fix style for hidden-secret and test
Refactor hidden-secret span styling to have content centered and
refactored testing for assert.dom instead of find
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
* fix: 🐛 refactor info-field component
Overall context of how the `<InfoField/>` was changed to the correct
order. Corrected css grid to have the order of
`label,input-field,helper-text`. Also refactored all component instances
affected by the change.
* refactor: 💡 refactor styling for icon to be center
refactor will get the icon as close to center as possible.
* chore: 🤖 ssh type first; update names and descriptions
* chore: 🤖 tweak info field styles
* chore: 🤖 fix formatting/linting issue
* refactor: 💡 credential stylistic changes per PR feedback
* chore: 🤖 reuse configPath
* fix: 🐛 fix lint error
* chore: 🤖 add target type field helper text
Co-authored-by: dvonanderson <devon.anderson@hashicorp.com>
* fix: 🐛 refactor info-field component
Overall context of how the `<InfoField/>` was changed to the correct
order. Corrected css grid to have the order of
`label,input-field,helper-text`. Also refactored all component instances
affected by the change.
* refactor: 💡 refactor styling for icon to be center
refactor will get the icon as close to center as possible.
* chore: 🤖 tweak info field styles
Co-authored-by: dvonanderson <devon.anderson@hashicorp.com>
* Added styelint to `ui/admin'
* refactor: 💡 quick refactor
Refactor attribute name back to original
✅ Closes: ICU-7083
* Update _notify.scss
for got to set the calling of the animation back in the selector
* refactor: 💡 quick refactor for stylelintrc file
possible pattern selector settings
* refactor: 💡 added rule for selector class pattern
Added rule for kebab-case, HDS, and CodeMirror
✅ Closes: ICU-7083
* Update app.scss
fixed linting errors.
* refactor: 💡 refactor stylelintrc
Simplify regex for `stylelintrc` and added
comments that details what
the regex is doing.
✅ Closes: ICU-7083
* Update ui/admin/.stylelintrc.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
Co-authored-by: Randall Morey <randall@randallmorey.com>
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
* fix: 🐛 refactor info-field component
Overall context of how the `<InfoField/>` was changed to the correct
order. Corrected css grid to have the order of
`label,input-field,helper-text`. Also refactored all component instances
affected by the change.
* refactor: 💡 refactor styling for icon to be center
refactor will get the icon as close to center as possible.
* feat: 🎸 create form for json credentials
✅ Closes: ICU-6682
* refactor: 💡 add new info field
* refactor: 💡 add feature flag
* refactor: 💡 add hds radio cards to json cred
* Update ui/admin/tests/acceptance/credential-store/credentials/create-test.js
* test: 💍 add test for json cred
* chore: 🤖 Remove ember-data-model-fragments package
* fix: 🐛 Update how json is added as a known credential type
* refactor: 💡 update credentialTypes if statement to ternary
* chore: 🤖 add ember-data back to addon/api project
* chore: 🤖 remove ember-feature-flag from addon/api
* refactor: 💡 remove if statement in cred form
* refactor: 💡 update selectors for json cred. tests
* refactor: 💡 Update Credential Form to use form.disabled
* test: 💍 Fix test selectors for radio card credential tests
* refactor: 💡 update credential types declaration to const
* style: 💄 Fix style issue with SecretEditor in edit mode
* refactor: 💡 remove disabled and readonly attributes in form
* refactor: 💡 Create credential ability canRead override
* test: 💍 add credential ability override tests
* test: 💍 Fix brokered credential test with json support added
* refactor: 💡 add attributes comment back to credential model
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>