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

rules editor create/update tweaks #229

Merged
merged 3 commits into from
Apr 2, 2021
Merged

rules editor create/update tweaks #229

merged 3 commits into from
Apr 2, 2021

Conversation

cyx
Copy link
Contributor

@cyx cyx commented Apr 2, 2021

Description

This adds basic changes for the create/update path. For now we're
keeping them separate with an assertion that we want the straightforward
edit paths to bypass the survey bits -- since that becomes unnecessary
(e.g. when creating a rule, there's only way to do that -- and that's by
editing the rule).

For update, we'll utilize the surveyext bits heavily bollowed from
github to have the ? prompt.

Demo

asciicast

== Description

This adds basic changes for the create/update path. For now we're
keeping them separate with an assertion that we want the straightforward
edit paths to bypass the survey bits -- since that becomes unnecessary
(e.g. when creating a rule, there's only way to do that -- and that's by
editing the rule).

For update, we'll utilize the surveyext bits heavily bollowed from
github to have the `?` prompt.
@cyx cyx force-pushed the editor-prompt-changes branch from 9bd2040 to eb3e4f1 Compare April 2, 2021 21:09
internal/cli/rules.go Outdated Show resolved Hide resolved
Co-authored-by: Rita Zerrizuela <[email protected]>
Copy link
Contributor

@Widcket Widcket left a comment

Choose a reason for hiding this comment

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

Awesome! Thank you

@cyx cyx merged commit b14a9e6 into main Apr 2, 2021
@cyx cyx deleted the editor-prompt-changes branch April 2, 2021 21:40
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