Skip to content

Commit bd18531

Browse files
xsh310Isaac
andcommitted
Reassure users while the picker loads more rows
The streaming picker footer read "⏳ loading more <noun>…" during the background walk, which can read like a hang. Reword it to "⏳ Loading more <noun>, this might take a few seconds..." so the wait reads as expected. All three pickers (skills, skill schemas, MCP services) share this footer. Co-authored-by: Isaac <no-reply@databricks.com>
1 parent 69d4f6a commit bd18531

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎src/ucode/ui/interactive_picker.py‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def scrolling_checkbox(
136136
on screen: it's run on a daemon thread and handed an ``append(choices)`` callback that
137137
adds rows (deduped by value) and repaints, so the picker opens instantly on whatever
138138
``choices`` are ready and fills in the rest without blocking. A footer shows a live
139-
"loading more {loading_noun}…" count while it runs.
139+
"Loading more {loading_noun}, this might take a few seconds..." count while it runs.
140140
141141
``show_description`` adds a footer previewing the highlighted row's ``Choice.description``.
142142
It's a separate window rather than questionary's inline ``show_description`` because the
@@ -188,7 +188,8 @@ def loading_tokens() -> list[tuple[str, str]]:
188188
return [
189189
(
190190
"class:instruction",
191-
f" ⏳ loading more {loading_noun}… ({loading['found']} found)",
191+
f" ⏳ Loading more {loading_noun}, this might take a few seconds..."
192+
f" ({loading['found']} found)",
192193
)
193194
]
194195
return [("class:instruction", f" {loading['message']}")]

0 commit comments

Comments
 (0)