Zack Moore
e6ce95acd3
Replace codemirror 6 code editor with HDS CodeEditor component ( #30188 )
...
* Completed initial replacement of editor
* fixing ts issues
* removing codemirror modifier and deps
* working on replacing the code editor
* addressing linting concerns
* cleaning up policy-form editor
* fixing linting issues
* fixing linting issues
* fixing tests
* fixing tests
* fixing tests
* fixing tests
* fixing failing tests
* cleaning up PR
* fixing tests
* remove outdated message for navigating editor
* fix linting in tests
* add changelog
* fix tests
* update naming
* remove unused lint param + name changes
* update test selector usage
* update test selector usage
* update test selector usage
* lint fixes
* replace page object selectors
* lint fix
* fix lint
* fix lint after merge
* update tests
* remove import
---------
Co-authored-by: Lane Wetmore <lane.wetmore@hashicorp.com>
2025-07-23 11:12:20 -07:00
Angel Garbarino
c7ca295816
Solve cntrl+f issue on KVv2 JSON details and edit views ( #28808 )
...
* initial changes need to add test coverage
* change icon
* replace original idea with hds::codeblock on kvv2 details view
* changelog
* fixing edit view by addressing viewportMargin
* fix failing test
* missedone
* Update 28808.txt
* Update json-editor.js
* test coverage
* update codeblock selector
* Update general-selectors.ts
* Update kv-data-fields.js
* Update ui/lib/core/addon/components/json-editor.js
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* Update ui/lib/kv/addon/components/kv-data-fields.js
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
* update test name
* add default to modifier
---------
Co-authored-by: claire bontempo <68122737+hellobontempo@users.noreply.github.com>
2024-11-08 18:23:01 +00:00
Angel Garbarino
66268d6648
UI Bug fix, cursor jumps in KVv2 after initial input ( #27120 )
...
* the fix
* changelog
* fix tests
* fix kv test
* fix
2024-05-20 09:03:38 -06:00
Chelsea Shaw
7c14aa6e00
UI: KV version 2 advanced secret updates ( #25235 )
...
* Show JSON editor by default if secret data is complex, but do not disable JSON toggle
* Add text object warning to kv object editor
* a11y fix: do not disable show diff toggle
* test and language cleanup
* update language
* Update tests for expected behavior
* language!
* Add changelog
2024-02-06 11:50:22 -06:00
Angel Garbarino
a4c8ce62fc
Bug fix: Update KV data when you change the version of a nested secret ( #25152 )
...
* wip need to address testing but want to test something quick on 1.13
* add test coverage
* changelog
* update test comment
* rename getter
* Update kv-data-fields.hbs
revert accidental next step
* linting things
2024-02-01 12:24:21 -07:00
Steven Clark
ade75bcf00
Update licensing across various source files ( #24672 )
2024-01-04 12:59:46 -05:00
Chelsea Shaw
f0d8dab056
UI: Obscure values for nested KV v2 secret ( #24530 )
...
* Add obfuscateData method and tests
* add obscure option to JsonEditor + tests
* Enable obscured values for KV v2 details when secret is advanced
* coverage on kv acceptance test
* Add changelog
2023-12-14 19:55:45 +00:00
Angel Garbarino
2e9578bc96
Default to Json editor if KV secret is nested ( #24290 )
...
* initial fix
* changelog
* fix
* fix test and add test coverage
* remove useless escape characters
* pr comments add more test coverage
2023-11-30 16:36:26 +00:00
Chelsea Shaw
82ca52d447
UI: Fix KV v2 json editor ( #24224 )
...
* Fix JSON editor in KVv2 unable to paste. Fixes #23940
* Default to JSON view on edit with secret is complex
* Add changelog
2023-11-21 15:11:14 -06:00
Angel Garbarino
e2cadfc9ff
Create KV V2 Ember Engine ( #22426 )
2023-08-24 10:02:53 -05:00