Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions src/ucode/ui/interactive_picker.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def scrolling_checkbox(
on screen: it's run on a daemon thread and handed an ``append(choices)`` callback that
adds rows (deduped by value) and repaints, so the picker opens instantly on whatever
``choices`` are ready and fills in the rest without blocking. A footer shows a live
"loading more {loading_noun}" count while it runs.
"Loading more {loading_noun}, this might take a few seconds..." count while it runs.

``show_description`` adds a footer previewing the highlighted row's ``Choice.description``.
It's a separate window rather than questionary's inline ``show_description`` because the
Expand Down Expand Up @@ -183,7 +183,11 @@ def is_loading() -> bool:

def loading_tokens() -> list[tuple[str, str]]:
return [
("class:instruction", f" ⏳ loading more {loading_noun}… ({loading['found']} found)")
(
"class:instruction",
f" ⏳ Loading more {loading_noun}, this might take a few seconds..."
f" ({loading['found']} found)",
)
]

@Condition
Expand Down
Loading