Workspace manager - design

Design B, refined and aligned with the design system of the jupyterlab-extension skill. DQ-21 and DQ-22 were decided by the Star Colonel on 2026-10-29.

1. What the panel is for

The WORKBENCH sidebar replaces the built-in panel Running Terminals and Kernels. It lists every workspace of the server, and inside each workspace its tabs, terminals and kernels, then every kernel, terminal and language server that runs on the server. It is built for a user who runs several projects at once: each project is one workspace, told apart by a colour strip, and the panel shows what the workspace holds, how old it is and what can be shut down.

2. The panel

The panel is a header band over four section bands. Each band opens and closes its own list.

Panel header

Section bands

Workspace card

Rows

The panel as it renders today: this window's card open and a KERNELS row selected. The model below draws the card as DQ-21 leaves it.

WORKBENCHWORKSPACES(6)2m agodefault153Extension developmentTABS(3)README.mdbrief.mddesign.ipynbTERMINALS(5)nowterminal 72m agoterminal 113h agoterminal 1312m agoterminal 141d agoterminal 15KERNELS(1)5m agoidledesign.ipynbnowiconprobe23d agoauto-6KERNELS(2)Shut down all5m agoidledesign.ipynbnowbusyhistory.ipynbPython……/history.ipynb182 MB3%TERMINALS(10)Shut down all
Dark
WORKBENCHWORKSPACES(6)2m agodefault153Extension developmentTABS(3)README.mdbrief.mddesign.ipynbTERMINALS(5)nowterminal 72m agoterminal 113h agoterminal 1312m agoterminal 141d agoterminal 15KERNELS(1)5m agoidledesign.ipynbnowiconprobe23d agoauto-6KERNELS(2)Shut down all5m agoidledesign.ipynbnowbusyhistory.ipynbPython……/history.ipynb182 MB3%TERMINALS(10)Shut down all
Light

The card as DQ-21 leaves it

WORKBENCHWORKSPACES(1)default2m agoExtension development123TABS(3)README.mdbrief.mddesign.ipynbTERMINALS(2)1m agoterminal 72m agoterminal 11claudeKERNELS(1)5m agoidledesign.ipynb
Dark
WORKBENCHWORKSPACES(1)default2m agoExtension development123TABS(3)README.mdbrief.mddesign.ipynbTERMINALS(2)1m agoterminal 72m agoterminal 11claudeKERNELS(1)5m agoidledesign.ipynb
Light

3. Colours and type

PartSurface tokenFont colourSize and weight
Panel--jp-layout-color1--jp-ui-font-color1--jp-ui-font-size1
Panel header band--jp-layout-color2title --jp-ui-font-color1; glyph --jp-inverse-layout-color3, active --jp-brand-color1title --jp-ui-font-size0, 600, uppercase, 1 px letter spacing; button 24 px with a 14 px glyph
Section band--jp-layout-color2; hover --jp-layout-color3label --jp-ui-font-color1; count and caret --jp-ui-font-color2label --jp-ui-font-size0, 600, uppercase, 1 px letter spacing
Section list--jp-layout-color1empty state --jp-ui-font-color2empty state --jp-ui-font-size0, italic
Band broomnone at rest; disabled at opacity 0.4--jp-inverse-layout-color3button 22 px square, glyph 14 px
Workspace cardbody --jp-layout-color1, 1 px --jp-border-color1, 2 px corners; header --jp-layout-color2; strip 4 px in the workspace token--
Workspace name---jp-ui-font-color1--jp-ui-font-size1, weight 400
Workspace purpose---jp-ui-font-color2--jp-ui-font-size1, weight 400
Workspace age and counts---jp-ui-font-color2--jp-ui-font-size1
Row--jp-layout-color1; hover and selected --jp-layout-color2name --jp-ui-font-color1; time, status word and detail --jp-ui-font-color2; identifiers --jp-code-font-familyname --jp-ui-font-size1, weight 400; time and detail --jp-ui-font-size0
Row focus1 px --jp-brand-color1 outline, offset 1 px, 1 px inside a card--jp-brand-color1, :focus-visible only:focus-visible only
Dialog--jp-layout-color1, 2 px cornersprimary text --jp-ui-font-color1--jp-ui-font-size1
Dialog footerone filled --jp-brand-color1; Cancel a surface button on --jp-layout-color1 with a 1 px --jp-border-color1; a destructive action unfilled in --jp-error-color1 at the far left--
Dialog state line--jp-layout-color2 with a 2 px left border in the state colour--jp-ui-font-color1--jp-ui-font-size1
Banner--jp-error-color1 at 15% over the panel, border at 35%--jp-ui-font-color1--jp-ui-font-size1
Destructive menu entry-label and icon --jp-error-color1--jp-ui-font-size1
Workspace coloursrose --jp-error-color1; peach --jp-warn-color1; lemon --jp-warn-color2; mint --jp-success-color1; sky --jp-brand-color1; lavender --jp-info-color1-stored names unchanged

4. Dialogs

A dialog has one filled button at most, and Cancel is always a surface button. A destructive action is unfilled, with error-coloured text and border, at the far left (DQ-14).

Delete confirmation

Shut-down confirmation

The shut-down confirmation as it renders today: a terminal that another workspace also holds, and the panel's error banner.

Shut down terminal 7?Workspace auto-6 also holds this terminal.Shut downCancelWORKBENCHReload failed: terminals answered 500WORKSPACES(6)The last content stays under the banner
Dark
Shut down terminal 7?Workspace auto-6 also holds this terminal.Shut downCancelWORKBENCHReload failed: terminals answered 500WORKSPACES(6)The last content stays under the banner
Light

Clean-up confirmation

The clean-up confirmation of DQ-22: the count sentence, the list of workspaces with their contents, a destructive Clean up button and Cancel.

Clean up workspacesClean up 3 workspaces? 1 is deleted, default is emptied,and auto-6 is kept because another window shows it.defaultemptiedTabs: docs/README.md, notebooks/design.ipynbTerminals: terminal 7, terminal 11Kernels: Python 3 (design.ipynb)iconprobe2deletedTabs: notebooks/probe.ipynbTerminals: noneKernels: noneauto-6keptTabs: noneTerminals: terminal 1Kernels: noneClean upCancel
Dark
Clean up workspacesClean up 3 workspaces? 1 is deleted, default is emptied,and auto-6 is kept because another window shows it.defaultemptiedTabs: docs/README.md, notebooks/design.ipynbTerminals: terminal 7, terminal 11Kernels: Python 3 (design.ipynb)iconprobe2deletedTabs: notebooks/probe.ipynbTerminals: noneKernels: noneauto-6keptTabs: noneTerminals: terminal 1Kernels: noneClean upCancel
Light

5. Decisions

DQ-01 to DQ-20 were decided by the Star Colonel on 2026-10-28 as the design-system alignment; DQ-21 and DQ-22 on 2026-10-29. Each row states the decision, the design-system rule it adopts and the criteria that govern it.

IdDecisionDesign-system rule it adoptsCriteria
DQ-01Every colour is a --jp-* token, never a literal value; a theme flip changes the same token names, and the extension's CSS has no light or dark branch. The six workspace colours become theme tokens; workspaces stay told apart by colour as far as the tokens allow (table below)Colour tokens: "Read colour only from lab tokens", "A theme flip overrides the same --jp-* names; no light or dark branch in extension CSS"; design-language Colour choiceACC-PANEL-203-TOKENS-ONLY, ACC-ACCORD-86-OWN-PALETTE, ACC-ACCORD-15-STRIP, ACC-ACCORD-150-COLOUR-SWATCH; rejected ACC-ACCORD-188-STRIP-SATURATION
DQ-02A card has 2 px corners, a --jp-layout-color1 body with a 1 px --jp-border-color1 border, and a header one step up on --jp-layout-color2. No header tint, no active shade, no coloured border; the colour stays on the 4 px strip, which is the card's left borderCards & surfaces: "Card: --jp-layout-color1 body plus 1px var(--jp-border-color1); header one step up on --jp-layout-color2"; Spacing & radius: "Every corner is var(--jp-border-radius) (2px)"ACC-ACCORD-69-CARD, ACC-ACCORD-128-STRIP-PLAIN, ACC-ACCORD-129-FLUSH; rejected ACC-ACCORD-125-SELECTED-SHADE
DQ-03A section header is a band on --jp-layout-color2: 6 px above and below the text, the caret on the 4 px inset, the label 18 px from the edge in weight 600, uppercase, 1 px letter spacing, --jp-ui-font-size0; the count in --jp-ui-font-color2 6 px after the label; hover --jp-layout-color3; no drop shadowSections & headers; Spacing & radius ("section headers 6px 10px", "In-flow surfaces take depth from layered --jp-layout-color*, never a drop shadow")ACC-PANEL-192-SECTION-TITLES, ACC-PANEL-74-TEXT-SIZE, ACC-PANEL-80-WS-COUNT, ACC-PANEL-168-COUNT-BRACKETS, ACC-PANEL-152-NARROW-LABELS
DQ-04The four sections are independent, not an accordion: each starts open, a click opens or closes only that section, and the open state is saved per panel in localStorage, read and written in try/catchSections & headers: "Every section starts expanded. The state is saved per panel in localStorage"ACC-PANEL-182-SECTION-HEADS, ACC-PANEL-208-SECTION-STORE, ACC-PANEL-8-POLL, ACC-ACCORD-11-ONE-OPEN; rejected ACC-PANEL-137-OTHERS-CLOSED
DQ-05Each section's list is its own scroll container (overflow-y: auto; min-height: 0), its header sticks at the top (position: sticky; top: 0), scrollbar-gutter: stable, height clamp(5 rows, 33vh, 10 rows); never two scroll containers on one axisPanel construction, Sections and scrollACC-PANEL-90-SCROLL, ACC-PANEL-8-POLL
DQ-06The panel header is a band 24 to 30 px tall on --jp-layout-color2; the title WORKBENCH is weight 600, uppercase, 1 px letter spacing, --jp-ui-font-size0Sections & headers: "Header 24-30px on --jp-layout-color2"; Panel construction, HeaderACC-PANEL-201-HEADER-BAND, ACC-PANEL-152-NARROW-LABELS
DQ-07The root and primary text are --jp-ui-font-color1; meta text, counts, the caret and empty states are --jp-ui-font-color2. The 4.5:1 contrast floor of section 4 goesPanel construction, Theme contract and RootACC-PANEL-202-TEXT-COLOURS; rejected ACC-PANEL-73-TEXT-CONTRAST
DQ-08An empty state is italic, --jp-ui-font-color2, --jp-ui-font-size0Panel construction, Rows (empty state)ACC-PANEL-75-NO-ITALIC, ACC-PANEL-74-TEXT-SIZE
DQ-09Ages read now, Nm ago, Nh ago, Nd ago, Nmo ago, Ny ago, and never without a time. Under 60 s the name and the time are --jp-brand-color1 with jp-mod-recentlyActive; over 7 days the name alone is at opacity 0.65 with jp-mod-stale. The brand colour 2 dot before "now" goesLists & rows, Recency emphasis and Time labelsACC-ACCORD-20-AGE, ACC-ACCORD-130-NOW-DOT
DQ-10A hovered row is --jp-layout-color2, with no veil of the text colour; a selected row is --jp-layout-color2Panel construction, Theme contract ("Header, band, hover"); Lists & rows ("selected on layout-color2")ACC-LISTS-211-ROW-HOVER, ACC-LISTS-210-ROW-SELECT
DQ-11Delete workspace draws label and icon in --jp-error-color1 at rest and while selected, through a danger class in its command's className; armed it reads Confirm delete with jp-mod-confirm in --jp-error-color1. The row entries Shut down terminal and Shut down kernel are destructive entries toodesign-language Destructive menu entry and Two-step destructive action; Dialogs & popups build notesACC-ACCORD-148-MENU-ICONS, ACC-ACCORD-155-ARMED-COLOUR, ACC-LISTS-212-DANGER-ENTRIES
DQ-12The card header counts as a header: every header and toolbar icon keeps its place on every view; an icon that does not apply is disabled, never removed. Open workspace, Close all tabs, the eye and ... show on every card at all timesdesign-language Header icons never hide between views; Panel construction, Icon states (Disabled: "Glyph holds its place")ACC-ACCORD-98-HOVER-ACTIONS, ACC-HIDDEN-213-EYE-TOGGLE, ACC-PANEL-214-HEADER-PLACE, ACC-ACCORD-167-NO-BUTTONS; rejected ACC-ACCORD-153-HOVER-NAME
DQ-13A status dot has its word in the line, in the title and in the aria-label, kernel rows in cards includedBadges & indicators ("Colour never carries meaning alone"); icon inventory, status dotACC-KERNEL-49-STATE, ACC-KERNEL-48-ROW
DQ-14In the New workspace, Set description and shutdown dialogs the affirmative action is the only filled button; Cancel is the surface button; a destructive action is unfilled with error-coloured text and border at the far left; the focus rim shows for keyboard focus onlydesign-language One-primary dialog footer; references/dialog-controls.md, footer classesACC-PANEL-204-DIALOG-FOOTER
DQ-15An inline panel message is a banner: color-mix(in srgb, var(--jp-error-color1) 15%, transparent) background and a border of the same token at 35 percent. A state line in a dialog has padding 6px 12px on --jp-layout-color2 with a 2 px left border in the state colour. The error-colour dot of section 5 goesBanners; design-language Dialog status accent lineACC-PANEL-96-LOAD-ERROR, ACC-PANEL-205-DIALOG-STATE
DQ-16A header button draws a 14 px glyph in a 24 px button; the card header's buttons as well, since the card header counts as a headerPanel construction, Header ("actions 24x24, glyph 14x14"); Icons ("14px in buttons")ACC-PANEL-147-HEADER-ORDER, ACC-PANEL-214-HEADER-PLACE
DQ-17Every row, KERNELS rows included, carries only a status dot, a name and a time; everything else - the terminal's process, the kernel type, the document, memory and CPU, a card's purpose and counts - appears on selection. Replaces the 2026-10-26 requirement that KERNELS rows show memory and CPU in the rowSide panel: "Default rows carry only a status dot, name and time; everything else appears on selection"ACC-LISTS-209-ROW-LINE, ACC-LISTS-210-ROW-SELECT, ACC-TERM-42-PROCESS, ACC-TERM-44-PROCESS-UNREAD, ACC-TERM-46-NAME, ACC-TERM-113-PROCESS-LIVE, ACC-KERNEL-48-ROW, ACC-KERNEL-156-DISPLAY-NAME, ACC-KERNEL-196-KERNEL-DETAILS, ACC-ACCORD-18-PURPOSE, ACC-ACCORD-22-COUNTS, ACC-ACCORD-70-COUNT-TABS, ACC-ACCORD-99-PURPOSE-DIALOG, ACC-PANEL-181-PURPOSE-WRAP, ACC-LISTS-154-TAB-SHRINK, ACC-DOCS-186-SHOT-CURRENT, ACC-PANEL-157-OTHERS-ACTIONS, ACC-LISTS-109-CONSOLE, ACC-ACCORD-97-ELLIPSIS, ACC-KERNEL-151-ROW-CLICK, ACC-LISTS-104-ROW-MENU
DQ-18Identifiers - terminal names, kernel ids, paths - are set in --jp-code-font-familyPanel construction, Rows ("identifiers --jp-code-font-family")ACC-PANEL-206-CODE-FONT
DQ-19The focus outline sits 1 px outside the element, and 1 px inside it only within cards, where the card clips its contentPanel construction, Icon states (Focus: "1px --jp-brand-color1 outline, offset 1px, :focus-visible only")ACC-PANEL-93-FOCUS
DQ-20Shut down all on the KERNELS, TERMINALS and LANGUAGE SERVERS bands is the design system's broom icon button: cleaningIcon from @jupyterlab/ui-components, 22 px square with a 14 px glyph in --jp-inverse-layout-color3, no background and no border at rest, its accessible name Shut down all in aria-label and title, the band's height unchanged. Disabled it keeps that look at opacity 0.4. The error colour stays off the button at rest, because the design system gives it to destructive menu entries and to dialog actions, and this button opens the confirmation dialogPanel construction, Icon states (Inactive: glyph --jp-inverse-layout-color3; Disabled: opacity 0.4, cursor default, glyph holds its place; Focus: 1 px --jp-brand-color1 outline at offset 1 px); Icons ("14px in buttons"); design-language Destructive menu entryACC-PANEL-157-OTHERS-ACTIONS, ACC-LISTS-110-SHUTDOWN-ALL
KERN-02Where a KERNELS row shows its document, a long file name shows whole at a 300 px panel, and the kernel type and the folder give way first. Replaces the 2026-10-26 shrink order "Type keeps a minimum"Panel construction, Rows ("only the text span ellipsises")ACC-KERNEL-196-KERNEL-DETAILS, ACC-LISTS-154-TAB-SHRINK
OPT-1The terminals route leaves out a terminal whose pty has ended (pty.ptyproc.terminated, or not isalive()). This replaces the panel's map of shut-down terminals, the route's fingerprint cache, fingerprint() and the fingerprint field; the row of a shut-down terminal leaves at the panel's next load in every windowdesign-language Timing independenceACC-TERM-200-ROW-LEAVES
OPT-2iconButton stops the propagation of Enter and Space only, so the arrow keys reach the row from a button inside itPanel construction, Rows ("one tab stop per section, roving tabindex")ACC-PANEL-207-BUTTON-ARROWS, ACC-LISTS-104-ROW-MENU
DQ-21Rows are neutral, as the share files extension draws them: its item name is --jp-ui-font-size1 in --jp-ui-font-color1 with no weight rule, its meta is --jp-ui-font-size0 in --jp-ui-font-color2, its row hover is --jp-layout-color2, and the only brand colour on a row is the focus ring. The workspace name is --jp-ui-font-size1 at normal weight in --jp-ui-font-color1; the purpose is --jp-ui-font-color2; recency is carried by the time label alone. DQ-21 supersedes the colour clause of DQ-09 and nothing else of DQ-09Lists & rows, Recency emphasis and Time labels; the share files extension's row (../jupyterlab_share_files_extension/style/base.css)ACC-ACCORD-20-AGE, ACC-ACCORD-130-NOW-DOT
DQ-22The WORKSPACES band carries the same broom as the three bands below it, named Clean up workspaces. It deletes every workspace except the one this window shows, closing their tabs; it keeps this window's workspace and empties it, closing its tabs and shutting down its kernels, terminals and language servers; a workspace another window shows is kept and named as kept; and nothing happens without a confirmation that lists, for every workspace, its name and what it holds - the tabs by path, the terminals and kernels by name. The button is disabled when there is nothing to cleanIcons (14 px in buttons); Panel construction, Icon states (Inactive and Disabled); design-language Destructive menu entry, Dialog status accent line and One-primary dialog footerNone yet; the criteria are filed after approval

How this design reads the decisions

Each point below is a reading this stage made where a decision left a detail open. Each is stated in the criteria named and can be changed there.