Repository navigation
Conversation
… current view Add clear_console() calls to menu flows to ensure only the active prompt is shown _prompt_select: redraw menu cleanly, show last feedback on next render, clear before manual input _choose_directory: clear on each navigation step, show feedback for invalid/empty inputs, clear before manual path prompt Interactive entry: pass header to selector, clear when falling back to manual datastore input, clear after selection completes Bump version to 2.4.2 This improves UX by removing stale output and keeping the interface focused.
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.
Redesign interactive flow to always show only the current menu/prompt.
Clear the terminal before each render and when switching to manual input.
Provide concise feedback messages on the next redraw after invalid input.
Changes
Add clear screen behavior to selection menu and directory browser.
_prompt_select:
Clear before each render and before manual input.
Preserve and display feedback (e.g., invalid input, empty manual entry) on next render.
_choose_directory:
Clear on each loop iteration and before manual path entry.
Show feedback for invalid selections and missing/unknown paths on next redraw.
Interactive entry flow:
Provide header in the datastore selection prompt.
Clear the screen when falling back to manual datastore input.
Clear the screen after both selections complete to start processing output cleanly.
Bump version to 2.4.2.
Motivation
Previously the interactive mode appended new prompts and options below old ones, making it hard to follow. Clearing the screen between steps keeps the UI focused and readable, especially over longer browsing sessions.