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

fix: emui yaml editor populating with values #2079

Merged
merged 1 commit into from
Feb 9, 2024

Conversation

Dartoxian
Copy link
Contributor

Description:

@mieubrisse performed the following:

  • open the postgres package for a new enclave
  • Click YAML (sees {})
  • Click Form
  • Click YAML (sees
persistent: false
launch_adminer: false

This is unexpected as the user has not specified values for these args. This PR fixes an issue specifically in boolean input that caused this problem - when we convert from 'kurtosis args' to 'form args' (YAML -> Form) we set the value for the boolean input to "" (rather than undefined - I don't think we can set values on the form to the undefined value). Then when we convert 'form args' to 'kurtosis args' (Form -> YAML) we need to treat the empty string as if no value were set, rather than a falsey value.

Is this change user facing?

YES

References (if applicable):

  • Direct message on slack.

@Dartoxian Dartoxian requested a review from adschwartz January 25, 2024 15:43
@Dartoxian Dartoxian added this pull request to the merge queue Jan 25, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jan 25, 2024
@Dartoxian Dartoxian added this pull request to the merge queue Feb 9, 2024
Merged via the queue into main with commit 9bd26a8 Feb 9, 2024
39 checks passed
@Dartoxian Dartoxian deleted the bgazzard/fix-emui-undefined-bool branch February 9, 2024 17:35
github-merge-queue bot pushed a commit that referenced this pull request Feb 12, 2024
🤖 I have created a release *beep* *boop*
---


##
[0.86.19](0.86.18...0.86.19)
(2024-02-09)


### Features

* build nix image
([#2132](#2132))
([0eae9fc](0eae9fc))
* enclave builder tweaks
([#2142](#2142))
([aaf64ca](aaf64ca))
* enforce enclave builder validation
([#2144](#2144))
([5dcdd9e](5dcdd9e))


### Bug Fixes

* emui yaml editor populating with values
([#2079](#2079))
([9bd26a8](9bd26a8))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: kurtosisbot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants