* 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>
* chore: 🤖 brokered and injected credential associations
Verified JSON credentials show up as a source that can be added to a
target as `brokered`, and not show up as a source that can be added to a
target as `injected`.
✅ Closes: ICU-6833, ICU-6834, ICU-6835, ICU-6836
* Update ui/admin/app/controllers/scopes/scope/targets/target/add-injected-application-credential-sources.js
Co-authored-by: Randall Morey <randall@randallmorey.com>
Co-authored-by: Randall Morey <randall@randallmorey.com>
* refactor: 💡 Rename attributes called filter
* refactor: 💡 Remove adapter handling of old attribute errors
* refactor: 💡 Check for undefined in serializer instead of falsy
* feat: 🎸 Custom information field
Create custom information component for views that need read-only
information listed.
✅ Closes: ICU-6957 ICU-6981
* refactor: 💡 fix setup for info-field component
Added conditional icon as a yield to `Hds::Form::TextInput::Field` to
avoid over complicating the css for `info-field` component.
✅ Closes: ICU-6957
* refactor `username_password` index.hbs
`@value` on `<InfoField>` was pointing to wrong variable.
* fix: 🐛 fixed lint
Lint errors
* fix: 🐛 linting errors fixed
linting errors fixed
* chore: 🤖 tweak info field styles and layout for icons
* refactor: 💡 switched `grid-area` in css to match design
Switched `grid-area`'s to match Design
* refactor: 💡 removed grid attribute from field wrapper
Removed display grid from `vertical` wrapper
Co-authored-by: Randall Morey <randall@randallmorey.com>
* refactor: 💡 change host_ids to a simple attribute
* refactor: 💡 manually manage host set array model attributes
* refactor: 💡 Fix host set IDs usage
* style: 💄 Fix comment and add braces for if statements
* refactor: 💡 Add back in empty array for normalizer
* refactor: 💡 Move attributes to generated model
* refactor: 💡 Update array actions when creating new host sets
* test: 💍 Add a few create tests for azure and aws host sets
* test: 💍 Add update tests for azure and aws host sets
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
* chore: 🤖 JSON credential data modeling
Added json type to credential model, created `json_object` attribute for
`json` type, updated credential serializer to handle `json_object`
attribute data being sent to backend and updated normalizer to handlle
secret untracked 'json_object'.
✅ Closes: ICU-6653, ICU-6684, ICU-6685, ICU-6802, ICU-6803
* Update en-us.yaml
fixed spelling
* Update addons/api/addon/models/credential.js
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
* refactor: 💡 refactor credential serializer and .yaml
Refactored credential serializer to check for `json_object` existence
before serializing and changed help variable in `.yaml` file for
credentials.
* refactor: 💡 refactor for credential serializer
Refactor credential serializer removed redundant code,
Co-authored-by: Cameron Perera <cameron.perera@hashicorp.com>
* feat: 🎸 Credential type selector refactor
When editing a credential or viewing the details screeen, the credential
type should be displayed as a readonly text field
✅ Closes: ICU-6839
* refactor: 💡 refactored disabled argument for credential type
BREAKING CHANGE: 🧨 ICU-6839
✅ Closes: ICU-6839
* refactor: 💡 Refactored credential-type-field
Refactored credential type card ui to look more like a message element
than a disabled input
✅ Closes: ICU-6839
Co-authored-by: Randall Morey <randall@randallmorey.com>
* refactor: 💡 update scope form to use HDS input and textarea
* chore: 🤖 tweak "optional" label text color in dark mode
* fix: 🐛 add HDS field margins and fix form tests
* fix: 🐛 fix acceptance tests and add TextInput event handlers
* refactor: 💡 migrate change-password form to HDS inputs
* fix: 🐛 use input event and fix set-from-event to handle empty
* chore: 🤖 reverse order of isRequired and isOptional
* fix: 🐛 use @type as required by HDS
* chore: 🤖 fix linting
* refactor: 💡 migrate set-password form to HDS text input
✅ Closes: icu-6918