mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-08 13:12:08 +00:00
feat(desktop): add timeline rail for long chat threads
Adds a compact right-edge prompt timeline for long desktop chat sessions, with hover previews, click-to-jump, active/hover row states, and pane hover-reveal suppression so the rail can live at the hard edge without opening side panels.
This commit is contained in:
parent
9bacd7d4bb
commit
3fffecbdaf
6 changed files with 421 additions and 4 deletions
|
|
@ -76,6 +76,7 @@ function persist(states: Record<string, PaneStateSnapshot>) {
|
|||
}
|
||||
|
||||
export const $paneStates = atom<Record<string, PaneStateSnapshot>>(load())
|
||||
export const $paneHoverRevealSuppressed = atom(false)
|
||||
|
||||
$paneStates.subscribe(persist)
|
||||
|
||||
|
|
@ -143,3 +144,4 @@ export function setPaneWidthOverride(id: string, width: number | undefined) {
|
|||
|
||||
export const clearPaneWidthOverride = (id: string) => setPaneWidthOverride(id, undefined)
|
||||
export const getPaneStateSnapshot = (id: string) => $paneStates.get()[id]
|
||||
export const setPaneHoverRevealSuppressed = (suppressed: boolean) => $paneHoverRevealSuppressed.set(suppressed)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue