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

Highlight invalid entries in manual pipeline trigger #4153

Merged
merged 6 commits into from
Oct 6, 2024

Conversation

6543
Copy link
Member

@6543 6543 commented Oct 2, 2024

and move key-value editor into own component

vid-20241006-131241.mp4

image
image

picked from #4131

@6543 6543 added ui frontend related enhancement improve existing features ux user experience labels Oct 2, 2024
@6543 6543 requested a review from qwerty287 October 2, 2024 18:02
@qwerty287
Copy link
Contributor

Nice! Can you make it impossible to click the save/confirm button if something is invalid?

@6543
Copy link
Member Author

6543 commented Oct 5, 2024

Oh! Let me kook

@6543
Copy link
Member Author

6543 commented Oct 6, 2024

@qwerty287 done

@6543
Copy link
Member Author

6543 commented Oct 6, 2024

updated video

Copy link
Contributor

@qwerty287 qwerty287 left a comment

Choose a reason for hiding this comment

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

Lgtm, but untested.

However, I wonder whether this is used for more? E.g. the allowed plugin list on secrets?

@6543
Copy link
Member Author

6543 commented Oct 6, 2024

we can addopt it more later :)

@6543 6543 merged commit 496859c into woodpecker-ci:main Oct 6, 2024
7 checks passed
@6543 6543 deleted the refactor/webui/kv-edit branch October 6, 2024 13:34
@6543
Copy link
Member Author

6543 commented Oct 6, 2024

we can addopt it more later :)

no that wont be of use as it is no key value map

@woodpecker-bot
Copy link
Collaborator

@woodpecker-bot woodpecker-bot mentioned this pull request Oct 6, 2024
1 task
@qwerty287
Copy link
Contributor

no that wont be of use as it is no key value map

OK, but we could generalize the editor to have an option "with-keys" or something like this to switch between value only and key-value. But I don't know if these cases are too different to merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement improve existing features ui frontend related ux user experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants