Fix new-question landing and question-language HITL
Publish documentation / publish (push) Successful in 34s
Publish documentation / publish (push) Successful in 34s
Reset the activity panel when starting a new question so the landing navigation is restored. Detect and persist the original question language, pass it through runtime and widget descriptors, and scope HITL controls to that language. Validated with gate, session, backend and frontend tests, TypeScript checks, Ruff and strict docs build. Rebuilt and restarted local core/frontend; both healthy and serving HTTP successfully.
This commit is contained in:
@@ -728,9 +728,9 @@ export function AppShell({ canLogout }: AppShellProps) {
|
||||
invalidateResumeIntent();
|
||||
newSessionOperationRef.current = null;
|
||||
resetSession();
|
||||
// Starting a new question closes any open session detail panel: the reader is
|
||||
// moving away from that session, so its left-hand box must not linger.
|
||||
// Restore the landing layout, including the right-hand administration rail.
|
||||
setPanelSession(null);
|
||||
setShowActivity(false);
|
||||
setAwaitingQuestion(true);
|
||||
setCreatingSession(false);
|
||||
selectActiveSession(null);
|
||||
|
||||
Reference in New Issue
Block a user