Repository navigation
Conversation
An enum row opens its members as a list and writes once, on the pick, rather than cycling and writing every value on the way. The remove confirmation takes y only: enter is the editor's edit key. After a write the form says what the row was, and u puts it back with one write of its own; an undo is not itself undoable. Closes #1056
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1056. Merges into
tui-audit.What changes
(unset)when the field is optional), and the pick is the one write. Cycling used to PATCH the file on every press, so reaching the third value wrote two intermediate ones, possibly into a global workflow. A boolean still flips in place: that is one write.yonly.enteris the editor's edit key, sodfollowed by a reflexiveenterused to remove the item.saved <field> · it was <old value> · u puts it back. The newuwrites that old value back, moving the cursor to the row.usays when a write is still in flight or when there is nothing to undo.uis registered as a fixed key of the editor, with a probe.Not changed
The triggers form also cycles enum rows (
triggersform.go). The issue names only the workflow editor, so I left it; it can take the same picker if wanted.Checks
uwrites the replaced value and is not itself undoable; removal ignoresenterand takesy.go test ./internal/tuipasses andmage lintallis clean.