Skip to content

Conversation

@Szarny
Copy link
Contributor

@Szarny Szarny commented Jun 3, 2022

What this PR does / why we need it:

Omit empty fields (except required fields) on "Show the configuration" dialog.

Some fields of Piped config are struct, so omitempty is not applicable. Although omitempty can be applied by changing the field to a pointer to a struct, this PR leaves it as is because the scope of the change is too large.

スクリーンショット 2022-06-03 15 50 23

Which issue(s) this PR fixes:

Fixes #3712

Does this PR introduce a user-facing change?:

Omit empty fields in the "Show the configuration" dialog

@Szarny Szarny self-assigned this Jun 3, 2022
@Szarny Szarny changed the title Omit empty fields on "Show the configuration" dialog Omit empty fields in the "Show the configuration" dialog Jun 3, 2022
Copy link
Member

@khanhtc1202 khanhtc1202 left a comment

Choose a reason for hiding this comment

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

@Szarny Szarny enabled auto-merge (squash) June 3, 2022 07:00
Copy link
Member

@nghialv nghialv left a comment

Choose a reason for hiding this comment

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

Nice improvement!

@Szarny Szarny merged commit 113a859 into pipe-cd:master Jun 3, 2022
@github-actions github-actions bot mentioned this pull request Jun 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UX improvement related to "Show Piped configuration" feature

3 participants