mirror of
https://github.com/deepseek-ai/deepseek-harness
synced 2026-08-15 21:04:50 +00:00
Sidebar session list grows the figma 239-10458 feature set and the
workspace/session browsing region moves wholesale into ui-workspace:
- Group-by menu (WorkSpace / In one list): flat mode lists every session
top-level, strictly newest-first; the choice persists across reloads.
- Session rows get a 500ms hover detail card (title / relative time /
status line) and a ... menu (Rename / Fork session / Delete session,
visual-only for now); workspace headers get ... with Rename (wired) and
Delete workspace (visual-only).
- workspace.rename RPC: trims, rejects duplicate titles on the create
chain (workspace-name-conflict), no-op on same title; modal dialog with
client-side duplicate pre-check.
- workspace.insertSessionBefore RPC (DOM-insertBefore semantics, omitted
anchor appends): HTML5 drag reorder of root sessions inside a workspace
group; order truth stays host-side, the view refreshes from the
response/changed frame.
- Activity pinning removed: the session/event touchSession chain is gone;
workspace accounts are manually owned (new sessions prepend, explicit
reordering only). Contracts and tests updated, api catalog regenerated.
- ui-sidebar reduced to the column shell (brand, fold state machine, New
Session, Settings) exposing one sidebar.workspaces hole with a two-fact
owner share {wide, expandSidebar}; ui-workspace owns the whole region
(header, search, grouped/flat lists, dialogs, drag) plus the picker via
a shared WorkspaceCreateFlow. The old sidebar.workspace picker slot and
its deferral indirection are gone.
- ui-primitives: Menu gains label entries, danger rows, and
closeOnPointerLeave; new HoverCard (portaled, open-delay, disabled
guard). Hover card and row menu never coexist.
23 lines
686 B
CSS
23 lines
686 B
CSS
/* Block, not inline-flex: consumers wrap full-width list rows and an
|
|
* inline wrapper would shrink them; the card still measures this rect. */
|
|
.root {
|
|
position: relative;
|
|
display: block;
|
|
}
|
|
|
|
/* Preview card (figma session hover card): 244 wide, r12, pad 12/16, the
|
|
* menu card's elevation. Surface is #2C2C2E in both themes (figma value,
|
|
* light/dark identical), so a component-level variable, not a theme token. */
|
|
.card {
|
|
--dsw-hovercard-bg: #2C2C2E;
|
|
position: fixed;
|
|
z-index: 100;
|
|
box-sizing: border-box;
|
|
width: 244px;
|
|
padding: 12px 16px;
|
|
border-radius: 12px;
|
|
background: var(--dsw-hovercard-bg);
|
|
box-shadow: var(--dsw-shadow-lv3);
|
|
pointer-events: none;
|
|
}
|