dashboard: show answer feedback and auto-select the resumed run
The answer flow ran the whole resume + LLM assessment synchronously before the frontend cleared the input or flashed anything, so a slow answer looked like a no-op. Make it optimistic: clear input, disable the button, and show an in-flight 'answering…' state immediately; then persist a consumed-feedback line (with a hint when the skill re-asks the same question) and auto-select the run in the timeline so the answered/assessed/needs_input events are visible. build_status now carries the pending run_id to drive that selection.
This commit is contained in:
1 parent
87438c881a
commit
927f66b696
5 files changed
+93
-4
No files matched your search
@@ -21,8 +21,9 @@
|
||||
<form id="answer-form" class="hidden">
|
||||
<input id="answer-input" type="text" autocomplete="off" spellcheck="false"
|
||||
placeholder="answer the pending question">
|
||||
<button type="submit">answer</button>
|
||||
<button type="submit" id="answer-btn">answer</button>
|
||||
</form>
|
||||
<div id="answer-feedback" class="hidden"></div>
|
||||
<button id="refresh-btn" type="button" title="reload trace">refresh</button>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in new issue
Block a user