Skip to content

Improve interactive menu UX by clearing screen between steps - #8

Merged
VoltKraft merged 2 commits into
mainfrom
WIP
Nov 7, 2025
Merged

VoltKraft merged 2 commits into
mainfrom
WIP

Conversation

@VoltKraft

Copy link
Copy Markdown
Owner

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.

VoltKraft and others added 2 commits October 31, 2025 23:30
… 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.
@VoltKraft
VoltKraft merged commit c7d015e into main Nov 7, 2025
4 checks passed
@VoltKraft
VoltKraft deleted the WIP branch November 7, 2025 21:20
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.

1 participant