Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ui: [Bugfix] KV creation from within a 'folder' #8613

Merged
merged 2 commits into from Sep 9, 2020

Conversation

johncowen
Copy link
Contributor

In #8307 moved the KV area to use KVForm and KVListing components.

This unfortunately broke the creation of KVs when within a folder.

This fixes the bug by prefilling an empty KV for the form if we are on a create page.

We also added some more acceptance tests here.

@johncowen johncowen marked this pull request as ready for review September 4, 2020 12:03
Copy link
Contributor

@kaxcode kaxcode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@johncowen johncowen merged commit 5cc1fef into master Sep 9, 2020
@johncowen johncowen deleted the ui/bugfix/kv-folder-create branch September 9, 2020 08:12
@hashicorp-ci
Copy link
Contributor

🍒✅ Cherry pick of commit 5cc1fef onto release/1.8.x succeeded!

hashicorp-ci pushed a commit that referenced this pull request Sep 9, 2020
* ui: Prefill an newly created KV for the when we are on a create route

* ui: Add some KV creation tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme/ui Anything related to the UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants