Rewrite the documentation and the agent instructions
Move the agent instructions from AGENTS.md to CLAUDE.md. AGENTS.md now points to CLAUDE.md. The UI rules move to docs/ui-design.md. The version and release policy moves to the new docs/releases.md. Rewrite the README, the user guides, and the developer references. Check each claim against the code. Remove old version history and repeated warnings. Link to Gitea at git.knottywyvern.com instead of the LAN address. Move the October 13 menu audit to the archive.
This commit is contained in:
+259
-318
@@ -1,377 +1,318 @@
|
||||
# Interface design
|
||||
|
||||
[Back to development](development.md) · [Functional color requirements](ui-color.md)
|
||||
[Development](development.md) · [Functional color](ui-color.md) · [Design decisions](design-decisions.md)
|
||||
|
||||
RuneStone uses compact controls, clear icons, and shared theme values.
|
||||
This reference describes the interface and its shared dimensions. Agent instructions remain in [AGENTS.md](../AGENTS.md).
|
||||
This guide holds the interface rules for RuneStone and its plugins.
|
||||
|
||||
## Design principles
|
||||
|
||||
Keep attention on the user's work. Use quiet structure for the active view. Preserve clear colors for identity, meaning, and attention.
|
||||
Show only what the current task needs. Let users collapse optional sections and hide panes when they need more space.
|
||||
Tabs can join visually with their content area. A selected view does not need a bright border or a repeated heading.
|
||||
- Keep attention on the user's work. Use quiet structure for the active view. Keep strong color for theme identity, status, and actions that need attention.
|
||||
- Show only what the current task needs. Keep optional forms hidden until the user chooses an add action.
|
||||
- Let users collapse sections and hide panes. A collapsed section keeps its name, count, and expand control. Do not remove its data or hide errors that need attention.
|
||||
- Show each board and view name once. Do not repeat view names, instructions, or descriptions when the visible content explains the view.
|
||||
- Keep switching, renaming, and adding as separate controls with clear targets.
|
||||
- Tabs can join visually with their content area. A selected view does not need a bright border or a repeated heading.
|
||||
- Use familiar icons and visual previews to explain choices. Use a preview for visual choices such as themes and table styles.
|
||||
- These principles apply to shared components and plugin interfaces. In a review, examine the user's work area first. Controls must support that work and not compete with it.
|
||||
|
||||
Show each board name once in the main controls. Keep switching and renaming as separate actions with clear targets.
|
||||
Avoid repeated view names, instructions, and descriptions when the visible content already explains the current view.
|
||||
## Shared components and tokens
|
||||
|
||||
Use familiar icons and visual previews to explain choices. Keep visible labels when an icon alone has more than one likely meaning.
|
||||
Every icon control needs an accessible name, a tooltip on hover and keyboard focus, and a comfortable target.
|
||||
Use a preview for visual choices such as themes and table styles.
|
||||
Before you add a control, find its shared component and an existing example. Extend the shared component when the change helps other callers.
|
||||
When a control differs from its peers, examine local style overrides. Correct the shared component or token that causes the problem.
|
||||
Do not copy feature-specific colors into a shared control.
|
||||
|
||||
Treat these principles as the basis for shared components and plugin interfaces.
|
||||
Check the user's work area first during reviews. Controls must support that work without competing for attention.
|
||||
| Need | Use |
|
||||
| --- | --- |
|
||||
| Icon button | `src/lib/ui/IconButton.svelte` (28-pixel target, accessible name, tooltip) |
|
||||
| Icons | `src/lib/ui/Icon.svelte` and `src/lib/ui/actionIcons.ts` (one 24-pixel grid and stroke weight) |
|
||||
| Tooltip on a DOM control | `attachTooltip` in `src/lib/ui/tooltip.ts` |
|
||||
| Action menu | `src/lib/ui/actionMenu.ts`. Svelte callers can use `src/lib/layout/ContextMenu.svelte`. |
|
||||
| Menu with dismissal and focus return | `showActionMenu` in `src/lib/ui/managedActionMenu.ts`. Plugins call it as `api.ui.showActionMenu`. |
|
||||
| Menu and picker presentation | `src/lib/ui/menu.css` |
|
||||
| Find | `src/lib/editor/FindPanel.svelte` and `src/lib/ui/find.css` |
|
||||
| Dimensions and colors | `src/lib/theme/tokens.css` |
|
||||
|
||||
| Token | Default | Use |
|
||||
| --- | --- | --- |
|
||||
| `--rs-titlebar-height` | 36px | Custom window headers in the main window and Settings |
|
||||
| `--rs-control-radius` | 5px | Controls, menu rows, and navigation highlights |
|
||||
| `--rs-item-selection-radius` | `--rs-control-radius` | Selection outlines |
|
||||
| `--rs-item-selection-bg`, `--rs-item-selection-border`, `--rs-item-selection-width` | per theme | Selection fill, border color, and border width |
|
||||
| `--rs-settings-row-padding` | 10px | Settings rows |
|
||||
| `--rs-settings-control-height` | 28px | Settings controls |
|
||||
| `--rs-settings-heading-size` | 18px | Settings headings |
|
||||
| `--rs-settings-description-size` | 12px | Settings descriptions and picker hints |
|
||||
| `--rs-settings-gap` / `--rs-settings-section-gap` | 8px / 16px | Settings spacing |
|
||||
| `--rs-menu-width` | 248px | Standard menu width |
|
||||
| `--rs-menu-padding` | 5px | Inset around menu rows |
|
||||
| `--rs-menu-row-height` | 24px | Minimum row height |
|
||||
| `--rs-menu-row-padding` | 2px 10px | Row padding |
|
||||
| `--rs-menu-font-size` | 13px | Menu text |
|
||||
| `--rs-menu-icon-size` / `--rs-menu-icon-gap` | 14px / 8px | Menu icon and its gap to the label |
|
||||
| `--rs-menu-border` | `transparent` | Borderless panel. `--rs-menu-shadow` supplies the edge. |
|
||||
| `--rs-menu-bg`, `--rs-menu-active-bg` | `--rs-surface-opacity` tint | Menu surface and hover or focus fill |
|
||||
| `--rs-surface-opacity` | 82% | Shared surface tint. Appearance settings adjust it. |
|
||||
|
||||
## Icons and labels
|
||||
|
||||
- Use a recognizable icon for actions, navigation, menus, and settings categories. Icons help users who do not rely on English words, and they save space.
|
||||
- Add a short visible label when an icon has more than one likely meaning. Keep labels that help users learn or tell functions apart.
|
||||
- Use icon-only controls for familiar actions in compact spaces, such as toolbars. Do not add a caption to one familiar toolbar action while its peers use icons.
|
||||
- Every icon control needs an accessible name, a tooltip on hover and keyboard focus, and a comfortable target.
|
||||
- Reuse the existing icon artwork. Use the same icon for the same function everywhere, with consistent size and stroke weight.
|
||||
- Do not force an icon onto a setting, label, or explanation without a clear visual equivalent. Use text alone, and omit decoration that does not help understanding.
|
||||
- Recognition and accessibility come before fitting more controls on screen.
|
||||
|
||||
## Controls, corners, and focus
|
||||
|
||||
- Controls, menu rows, and navigation highlights use `--rs-control-radius`. This includes hover, active, and selected states.
|
||||
- Keep readable labels, visible focus indicators, and comfortable click targets in compact layouts.
|
||||
- Native form controls, such as checkboxes, take their accent from `--rs-accent`, not the browser default ([UI-030](design-decisions.md#ui-030--settings-installation-checkbox-theme-drift)).
|
||||
- Document tables are the exception. Keep their grid, cells, and cell selection outlines square. Table toolbars and table menus stay rounded.
|
||||
|
||||
## Selection
|
||||
|
||||
These rules apply to navigation rows, file and folder trees, lists, grids, and table cells.
|
||||
|
||||
- Use the `--rs-item-selection-*` tokens for fill, border color, border width, and radius. Table-cell selection is the reference for fill and outline.
|
||||
- Adjacent selected items form one region with a continuous fill. Outline only its exposed perimeter. Do not draw borders or rounded gaps on shared internal edges.
|
||||
- Round the exposed corners of a region, except in document tables.
|
||||
- A single selected item gets a complete outline. Groups that unselected items or physical gaps divide keep separate outlines.
|
||||
- Find adjacency from the visible order, including sorting and expanded tree branches. At an indentation change, keep the exposed edges and omit the parts that selected rows share.
|
||||
- Ordinary table grid lines can stay inside a region. They must not become highlighted selection borders.
|
||||
- A menu choice and a file selection have different purposes. File selections use the selection fill and outer outline. Hover uses the shared active background on both.
|
||||
- The IDE command palette uses the shared selection fill, outline, and corner radius.
|
||||
|
||||
## Menus and pickers
|
||||
|
||||
Use one menu design for context menus, action menus, and their submenus in the host and in plugins.
|
||||
|
||||
### Renderer and presentation
|
||||
|
||||
- Build every action menu with `actionMenu.ts`. Do not create a separate menu renderer. Do not add local style overrides for a feature.
|
||||
- Use the `--rs-menu-*` tokens and `--rs-control-radius`. One menu family shares font, row height, padding, icon size, label alignment, separators, and shadow.
|
||||
- A menu can grow wider when its content needs more space. All other measurements stay shared.
|
||||
- Keep the padding inset around every row, so hover and focus fills do not touch the panel edge.
|
||||
- The panel is borderless, with a shadow. Its surface uses the `--rs-surface-opacity` tint through `--rs-menu-bg` and `--rs-menu-active-bg`. Text and icons stay opaque. Host menus, plugin menus, submenus, and the workspace picker all use this surface.
|
||||
- Plugins call `api.ui.showActionMenu` for the host menu, when the host API exists. The host handles dismissal, focus return, and plugin cleanup.
|
||||
|
||||
### Rows and columns
|
||||
|
||||
- Give a recognizable action an icon and a short label. Use the same icon for the same function in every menu.
|
||||
- A menu with only text choices omits the icon column. A mixed menu reserves the icon column on every row.
|
||||
- Shortcut text and submenu arrows use separate trailing columns.
|
||||
- Use inset separators between related groups.
|
||||
- Enabled rows share one hover fill and one keyboard focus fill.
|
||||
- Disabled rows stay readable. Keyboard navigation skips them, and they do not run.
|
||||
- Radio choices mark the current option with the shared fill and no checkmark. The current enabled radio choice gets focus when the menu opens.
|
||||
- A row can have a default action and a submenu. A click on the label, Enter, or Space runs the default action. Hover, the submenu arrow, or Right opens the submenu.
|
||||
|
||||
### Keyboard and viewport
|
||||
|
||||
- Support the arrow keys, Home, End, Enter, Space, and Escape.
|
||||
- Right opens a submenu. Left returns to its parent.
|
||||
- Dismissal with the keyboard restores focus to the trigger.
|
||||
- Keep menus inside the viewport. Long menus scroll inside their panel.
|
||||
|
||||
### Choice lists and pickers
|
||||
|
||||
- Use the shared action menu for short option lists, such as board, list, theme, appearance, and language choices.
|
||||
- Use a searchable picker for long lists.
|
||||
- Replace native selects with the shared action menu wherever the host API exists. Native selects stay only as documented fallbacks for older plugin hosts.
|
||||
- Rich pickers and dialogs can have their own layout when they contain search fields, descriptions, or forms. These layouts do not need an exception entry.
|
||||
- Picker panels and result rows still use the shared menu presentation: `rs-picker`, `rs-picker-row`, `rs-picker-icon`, and `rs-picker-hint` from `menu.css`. Do not use the layout allowance to change panel color, row padding, font, or focus states.
|
||||
- Embedded website controls keep the website design.
|
||||
|
||||
### Specific menus
|
||||
|
||||
- In the main editing menu, spelling corrections come first. Add to dictionary follows them, before the ordinary editing actions.
|
||||
- Native editing menus keep recognized editing, spelling, and emoji commands. The host removes system sharing, writing direction, dictation, and unnamed tools before shared display or native fallback.
|
||||
- New note creates a blank note. Its submenu contains templates and Manage templates.
|
||||
|
||||
Decisions: [UI-002](design-decisions.md#ui-002--share-the-requested-dropdown-design), [UI-003](design-decisions.md#ui-003--quiet-menu-choices), [UI-006](design-decisions.md#ui-006--borderless-shared-menus), [UI-007](design-decisions.md#ui-007--repeated-menu-drift), [UI-008](design-decisions.md#ui-008--keep-native-editing-menus-focused), [UI-013](design-decisions.md#ui-013--translucent-menu-surfaces), [UI-026](design-decisions.md#ui-026--compact-shared-menu-rows), [UI-027](design-decisions.md#ui-027--direct-spelling-corrections).
|
||||
|
||||
## Window and navigation
|
||||
|
||||
The main window and Settings use the same 36-pixel titlebar height: `--rs-titlebar-height`.
|
||||
The main header holds navigation, document tabs, actions, and window controls.
|
||||
Files, Search, Bookmarks, and installed sidebar views such as Git share the top navigation group.
|
||||
Editor views from plugins can use the vertical plugin ribbon. The ribbon uses no width when it has no entries.
|
||||
The active navigation button shows which view occupies the left pane.
|
||||
- The main header holds navigation, document tabs, actions, and window controls.
|
||||
- Files, Search, Bookmarks, and installed sidebar views such as Git share the top navigation group. The active navigation button shows which view fills the left pane.
|
||||
- Plugin editor views can use the vertical plugin ribbon. The ribbon has no width when it has no entries.
|
||||
- The built-in browser opens from its own toolbar action. Project Management opens from Plug-in views. Keep Plug-in views in the toolbar, away from the new-tab button.
|
||||
- Document and plugin tabs share the tab bar. The new-tab button follows the tabs. Tabs keep their order and pin state when a plugin replaces its view.
|
||||
- The main window keeps an empty New tab after its last tab closes. A secondary window closes with its last tab. The unsaved-edit and active-terminal confirmations still apply, and Cancel keeps the tab open.
|
||||
- Sidebar widths and visibility persist across window sessions. A different editor does not restore a hidden outline.
|
||||
- A detached tab window holds the tab work area and window controls only. It has no side panes, plugin ribbon, or pane switches, and it does not change the main window layout.
|
||||
|
||||
Document and plugin tabs share the tab bar. The new-tab button follows the tabs.
|
||||
Tabs retain their order and pin state when a plugin replaces its current view.
|
||||
The main window keeps an empty New tab after the last tab closes.
|
||||
Secondary workspace windows close when the user closes their last document, plugin, browser, or empty tab.
|
||||
Window closure retains the existing confirmation for unsaved edits and active terminal sessions.
|
||||
Cancel keeps the last tab and its contents open. See [UI-039](design-decisions.md#ui-039--close-secondary-windows-after-the-last-tab).
|
||||
Sidebar widths and visibility persist across window sessions.
|
||||
Opening a different editor does not restore a hidden outline.
|
||||
Detached tabs contain the tab work area and window controls. They do not mount side panes, a plugin ribbon, or pane switches.
|
||||
Their layout does not change the main window layout. See [UI-004](design-decisions.md#ui-004--detached-tab-work-area).
|
||||
The built-in browser opens from its own toolbar action. Project Management opens from Plug-in views.
|
||||
|
||||
## Icons and controls
|
||||
|
||||
Use a recognizable icon for a familiar action. Pair ambiguous icons with short labels.
|
||||
Icon-only buttons have accessible names and tooltips on hover and keyboard focus.
|
||||
Reuse the same icon for the same action. Shared icon buttons use 28-pixel targets.
|
||||
Do not add icons to explanations or settings that have no clear visual equivalent.
|
||||
|
||||
Controls and navigation highlights use `--rs-control-radius`, currently 5 pixels.
|
||||
Selection outlines use `--rs-item-selection-radius` and the shared `--rs-item-selection-*` color and width values.
|
||||
Adjacent selected items share one continuous fill and an outline around the exposed perimeter.
|
||||
Separate groups retain separate outlines. Nested rows retain exposed edges at indentation changes.
|
||||
Document table cells and their selection outlines stay square. Table toolbar buttons and menus remain rounded.
|
||||
|
||||
## Menus and dropdown actions
|
||||
|
||||
Action menus use `src/lib/ui/actionMenu.ts`. Svelte callers can use `ContextMenu.svelte`.
|
||||
`src/lib/ui/menu.css` supplies shared presentation. `src/lib/theme/tokens.css` supplies dimensions and colors.
|
||||
Feature code does not override menu rows. Menu width can expand when content needs more space.
|
||||
|
||||
| Token | Default | Purpose |
|
||||
| --- | --- | --- |
|
||||
| `--rs-menu-width` | 248px | Standard menu width |
|
||||
| `--rs-menu-padding` | 5px | Inset around rows |
|
||||
| `--rs-menu-row-height` | 24px | Minimum row height |
|
||||
| `--rs-menu-row-padding` | 2px 10px | Vertical and horizontal row padding |
|
||||
| `--rs-menu-font-size` | 13px | Shared text size |
|
||||
| `--rs-menu-border` | `transparent` | Borderless panel |
|
||||
| `--rs-menu-icon-size` | 14px | Action icon size |
|
||||
| `--rs-menu-icon-gap` | 8px | Space between icon and label |
|
||||
|
||||
See [UI-026](design-decisions.md#ui-026--compact-shared-menu-rows) for compact shared rows.
|
||||
Spelling corrections appear first in the main editing menu. Add to dictionary follows them, before ordinary editing actions.
|
||||
See [UI-027](design-decisions.md#ui-027--direct-spelling-corrections) for direct corrections.
|
||||
|
||||
Menus with only text choices omit the icon column. Mixed action menus reserve the icon column for every row.
|
||||
Shortcut text and submenu arrows occupy trailing columns.
|
||||
Enabled rows share hover and keyboard focus colors. Disabled rows stay readable and cannot run.
|
||||
Menus support arrow keys, Home, End, Enter, Space, and Escape.
|
||||
Right opens a submenu. Left returns to its parent. Keyboard dismissal restores focus.
|
||||
Menus stay inside the viewport and scroll when their contents exceed its height.
|
||||
Menus use 24-pixel rows, 13-pixel text, and a borderless panel with a shadow.
|
||||
Menus use an 82% surface tint through `--rs-menu-bg` and `--rs-menu-active-bg`.
|
||||
Appearance can adjust this tint or make surfaces opaque through `--rs-surface-opacity`.
|
||||
Text and icons retain their opacity. Compatible plugins consume the same surface token.
|
||||
The shared action menu applies this tint to host and plugin menus, including submenus.
|
||||
The workspace picker shares the menu surface. Labels and icons remain opaque.
|
||||
See [UI-013](design-decisions.md#ui-013--translucent-menu-surfaces).
|
||||
Use the shared hover and keyboard focus fills, with an inset from the panel edge.
|
||||
Theme, appearance, board, and list menus share these values. See [decision UI-002](design-decisions.md#ui-002--share-the-requested-dropdown-design).
|
||||
See [UI-006](design-decisions.md#ui-006--borderless-shared-menus) for the borderless panel rule.
|
||||
Radio choices show the current option with the shared fill and no checkmark.
|
||||
The current enabled radio choice receives focus when its menu opens. See [UI-003](design-decisions.md#ui-003--quiet-menu-choices).
|
||||
A menu row can have a default action and a submenu.
|
||||
Clicking the label, Enter, or Space runs the default action. Hover, the submenu arrow, or Right opens the submenu.
|
||||
New note creates a blank note. Its submenu contains templates and Manage templates.
|
||||
Searchable pickers and form dialogs can use richer layouts. Their menu surfaces still use the shared presentation below.
|
||||
Native editing menus retain recognized editing, spelling, and emoji commands.
|
||||
They omit system sharing, writing direction, dictation, and unsupported unnamed tools.
|
||||
The host filters the native collection before shared display or native fallback. See [UI-008](design-decisions.md#ui-008--keep-native-editing-menus-focused).
|
||||
Decisions: [UI-004](design-decisions.md#ui-004--detached-tab-work-area), [UI-039](design-decisions.md#ui-039--close-secondary-windows-after-the-last-tab).
|
||||
|
||||
## Settings
|
||||
|
||||
Settings navigation pairs icons with labels. Each settings page uses readable text and ordinary controls.
|
||||
General offers the interface language. The language menu uses the shared action menu.
|
||||
Custom theme templates use one fixed `colors` palette in schema 2.
|
||||
Templates also include `fonts` stacks for the interface, prose, headings, and code.
|
||||
The transparency amount covers 0% to 100%. Its slider uses the current theme's accent and surface tokens.
|
||||
Schema 1 imports select the current appearance's palette. See [UI-028](design-decisions.md#ui-028--adjustable-surface-transparency-and-fixed-custom-palettes).
|
||||
Related plugin metadata and actions occupy compact rows. Controls wrap at narrow widths, and the content area scrolls.
|
||||
Long navigation lists must leave room for the selected page.
|
||||
The app work area and Project Management keep separate background images and settings in every theme. Images can be up to 50 MiB.
|
||||
Image bytes stay in IndexedDB. Settings retain a small image reference.
|
||||
Both support image size, nine alignment positions, and an overlay that lightens or darkens the image.
|
||||
Set the overlay with the slider or type a percentage from -100 to 100.
|
||||
An image stays within its view area while content scrolls. A board can retain its own image.
|
||||
- Follow the Obsidian settings pattern. Navigation pairs icons with labels. Each page uses readable text and ordinary controls.
|
||||
- Use the `--rs-settings-*` tokens for spacing, control height, headings, and descriptions.
|
||||
- Put related plugin metadata and actions in compact rows.
|
||||
- Controls wrap at narrow widths, and the content area scrolls. Long navigation must leave room for the selected page.
|
||||
- General offers the interface language through the shared action menu.
|
||||
- The transparency slider covers 0% to 100% and uses the accent and surface tokens of the current theme.
|
||||
- Custom theme templates use schema 2: one fixed `colors` palette and `fonts` stacks for interface, prose, headings, and code. A schema 1 import selects the palette of the current appearance.
|
||||
|
||||
| Shared token | Default |
|
||||
| --- | --- |
|
||||
| `--rs-settings-row-padding` | 10px |
|
||||
| `--rs-settings-control-height` | 28px |
|
||||
| `--rs-settings-heading-size` | 18px |
|
||||
| `--rs-settings-description-size` | 12px |
|
||||
| `--rs-settings-gap` | 8px |
|
||||
| `--rs-settings-section-gap` | 16px |
|
||||
Decisions: [UI-028](design-decisions.md#ui-028--adjustable-surface-transparency-and-fixed-custom-palettes).
|
||||
|
||||
## Typography and tables
|
||||
|
||||
The interface uses `--rs-font-ui`, and prose uses `--rs-font-prose`.
|
||||
The IDE and Terminal share `--rs-font-mono` and `--rs-code-font-weight`.
|
||||
The monospace stack starts with Cascadia Mono, then Cascadia Code, JetBrains Mono, Fira Code, and Consolas.
|
||||
The default code weight is 300. Actual appearance depends on installed fonts and their available weights.
|
||||
Terminal font-size preferences remain independent.
|
||||
Document headings use spacing between sections. They do not use separator lines.
|
||||
Heading fold controls use the shared chevron and support keyboard focus. See [UI-005](design-decisions.md#ui-005--heading-spacing).
|
||||
- The interface uses `--rs-font-ui`. Prose uses `--rs-font-prose`. Headings use `--rs-font-heading`.
|
||||
- The IDE and Terminal share `--rs-font-mono` and `--rs-code-font-weight` (default 300). The monospace stack starts with Cascadia Mono, then Cascadia Code, JetBrains Mono, Fira Code, and Consolas. Terminal font size is a separate setting.
|
||||
- Document headings use space between sections, not separator lines. Heading fold controls use the shared chevron and take keyboard focus.
|
||||
- Tables use shared cell padding and line height. Entering a cell does not change its row height.
|
||||
- A table row needs an unescaped pipe. Writer and Reading use the same row rule. A paragraph after a table stays a paragraph when the separator line is removed.
|
||||
- A table link shows its Markdown source when the caret enters it. The caret stays at the chosen label character. Edit link selects the full target inside the cell. Test ordinary clicks and keyboard entry before menu actions ([UI-025](design-decisions.md#ui-025--table-links-hide-their-source-after-repeated-fixes)).
|
||||
|
||||
Tables use shared cell padding and line height. Entering a cell does not change its row height.
|
||||
A plain paragraph after a table remains a paragraph when the separator line is removed.
|
||||
Table rows need an unescaped pipe. Writer and Reading use the same row boundary rule.
|
||||
Decisions: [UI-005](design-decisions.md#ui-005--heading-spacing).
|
||||
|
||||
Table links reveal their Markdown source when the caret enters the link. Keep the caret at the chosen label character. Edit link selects the complete target inside the cell. Check ordinary clicks and keyboard entry before menu actions. See [UI-025](design-decisions.md#ui-025--table-links-hide-their-source-after-repeated-fixes) for the repeated failure and its regression checks.
|
||||
## Themes and background images
|
||||
|
||||
## Checks for interface changes
|
||||
### Palettes
|
||||
|
||||
Check light and dark themes, keyboard use, focus indicators, narrow windows, and viewport edges.
|
||||
For selection changes, check single items, contiguous ranges, separate groups, and nested rows.
|
||||
For Settings changes, include long plugin lists. For tab changes, include plugin views and pinned tabs.
|
||||
- Color choices obey [Functional color](ui-color.md).
|
||||
- The Claude palette follows the [Anthropic brand guide](https://github.com/anthropics/skills/blob/main/skills/brand-guidelines/SKILL.md): warm light and dark surfaces, an orange accent, Lora body text, and Poppins headings, with their fallbacks.
|
||||
- Named palettes have one fixed appearance. Each local font stack has fallbacks. Code keeps the shared monospace stack.
|
||||
|
||||
Run `node scripts/menuConsistency.smoke.mjs` against the development server after shared menu changes.
|
||||
The menu check covers file, folder, pane, tab, editor, table, and submenu examples.
|
||||
Use `SMOKE_URL` to select the server URL. Use `PLAYWRIGHT_MODULE` and `CHROME_PATH` when the environment needs explicit paths.
|
||||
Browser tests with desktop mocks do not replace native installer and window acceptance checks.
|
||||
| Palette | Appearance | Controls | Prose | Headings |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| Harvest Moon | Dark | Candara | Constantia | Constantia |
|
||||
| Crimson Pilot | Dark | Bahnschrift | Segoe UI | Bahnschrift |
|
||||
| Silver Serpent | Dark | Corbel | Palatino Linotype | Palatino Linotype |
|
||||
|
||||
## Keep controls focused
|
||||
- A saved choice for a removed palette returns to RuneStone and keeps its mode and background settings. A renamed palette keeps its colors and backgrounds.
|
||||
- The theme preview includes code colors.
|
||||
|
||||
Keep empty forms hidden until the user chooses an add action. Keep section names, counts, and expand controls visible.
|
||||
Remember that a collapsed section still contains work. Do not remove its data or hide errors that need attention.
|
||||
Decisions: [UI-009](design-decisions.md#ui-009--character-theme-appearances), [UI-012](design-decisions.md#ui-012--retain-three-stronger-character-themes), [UI-018](design-decisions.md#ui-018--named-palettes-and-local-fonts), [UI-023](design-decisions.md#ui-023--separate-theme-font-roles), [UI-024](design-decisions.md#ui-024--assertive-functional-color-by-default).
|
||||
|
||||
Compact toolbars use icon buttons by default. Each button needs an accessible name and a tooltip on hover and keyboard focus.
|
||||
Keep visible text for ambiguous choices and action menus. Do not add a caption to one familiar toolbar action while its peers use icons.
|
||||
Board switching, renaming, and adding work remain separate controls. Put plug-in views in the toolbar, away from the new-tab button.
|
||||
### Surfaces over images
|
||||
|
||||
## Shared choices and highlights
|
||||
- The app image fills the work area below the titlebar, including new tabs and document views. It stays fixed while content scrolls.
|
||||
- Sidebars use `--rs-image-sidebar-bg` (82% tint). Editor surfaces use `--rs-image-editor-bg` (90% tint). Without an image, both are opaque.
|
||||
- Writer, Reading, split, and IDE views share the editor surface. Monaco layers stay transparent above it.
|
||||
- Code blocks in Writer and Reading use `--rs-code-block-bg`.
|
||||
- New-tab buttons use `--rs-image-control-bg` and `--rs-image-control-hover-bg`. Their tint keeps labels readable while the image stays visible. The new-tab screen shows only its action buttons, with icons, labels, and shortcuts.
|
||||
- Headers and dialogs keep their own surfaces.
|
||||
- The app work area and Project Management keep separate images and settings in every theme. An image can be up to 50 MiB. Image bytes stay in IndexedDB, and settings keep a small reference.
|
||||
- Each image has a size, nine alignment positions, and an overlay from -100% (darker) to 100% (lighter), set with a slider or a typed value.
|
||||
|
||||
Use the shared action menu for short option lists, including board and theme choices. Mark the current option with a radio state.
|
||||
Use a searchable picker for long lists. Native selectors remain an older-host fallback for plugins.
|
||||
Menu rows use the same inset, hover fill, focus fill, and corner radius. A menu choice and a file selection serve different purposes.
|
||||
File selections retain the shared selection fill and outer outline. Hover uses the shared active background across both surfaces.
|
||||
Do not copy feature-specific colors into a shared control.
|
||||
Decisions: [UI-010](design-decisions.md#ui-010--background-surface-visibility), [UI-011](design-decisions.md#ui-011--backgrounds-across-the-work-area), [UI-016](design-decisions.md#ui-016--translucent-code-blocks).
|
||||
|
||||
The Claude palette follows the [Anthropic brand guide](https://github.com/anthropics/skills/blob/main/skills/brand-guidelines/SKILL.md).
|
||||
Keep its warm light and dark surfaces, orange accent, Lora body font, and Poppins headings with their documented fallbacks.
|
||||
Shared dimensions and interaction rules apply to every palette.
|
||||
### Project Management surfaces
|
||||
|
||||
Named palettes use one fixed appearance.
|
||||
Harvest Moon, Crimson Pilot, and Silver Serpent each use one dark appearance. Their palettes use multiple surface, text, accent, and syntax colors. Saved choices retain their colors and backgrounds after the names change. Harvest Moon uses Candara controls and Constantia prose and headings. Crimson Pilot uses Bahnschrift controls and headings with Segoe UI prose. Silver Serpent uses Corbel controls and Palatino Linotype prose and headings. Each local font stack has fallback fonts. Code keeps the shared monospace stack. See [UI-023](design-decisions.md#ui-023--separate-theme-font-roles).
|
||||
Removed palettes return to the default appearance.
|
||||
Saved selections for removed themes return to RuneStone and retain their mode and background settings.
|
||||
The theme preview includes code colors. See [UI-009](design-decisions.md#ui-009--character-theme-appearances) for this rule change.
|
||||
- Without its own image, Project Management shows the host image through a transparent root. A saved or temporary board image keeps its own area.
|
||||
- The host gives `--rs-workarea-plugin-bg` and `--rs-workarea-surface-opacity` for saved images and slideshow frames.
|
||||
- With an image, lists, cards, card details, and search fields share the 82% tint. Gantt and calendar views use one tinted panel, and their date cells show the image.
|
||||
- Selected cards use the shared selection treatment. Nested surfaces keep their own tint.
|
||||
- Card detail buttons have a transparent resting background. Hover, pressed, and focus states stay visible.
|
||||
|
||||
New-tab controls use `--rs-image-control-bg` and `--rs-image-control-hover-bg`.
|
||||
Their backgrounds retain enough color for readable labels while the image remains visible.
|
||||
The new-tab screen shows only its action buttons, with icons, labels, and shortcuts.
|
||||
Buttons use the same 82% tint as Project Management lists.
|
||||
One app image spans the work area below the titlebar, including new tabs and document views.
|
||||
Sidebars use `--rs-image-sidebar-bg` at 82%. Editor surfaces use `--rs-image-editor-bg` at 90%.
|
||||
Without an image, both use their ordinary opaque surfaces.
|
||||
Writer, Reading, split, and IDE share the tinted editor surface. Monaco layers remain transparent above it.
|
||||
Code blocks in Writer and Reading use `--rs-code-block-bg`, an 82% tint of the elevated surface.
|
||||
See [UI-016](design-decisions.md#ui-016--translucent-code-blocks) for this rule.
|
||||
The IDE command palette uses the shared selection fill, outline, and corner radius.
|
||||
Headers and dialogs retain their own surfaces. Menus and Project Management use the image rules below.
|
||||
The image remains fixed while content scrolls. Saved appearance and slideshow settings keep their existing controls.
|
||||
See [UI-011](design-decisions.md#ui-011--backgrounds-across-the-work-area) for the work-area rule.
|
||||
See [UI-012](design-decisions.md#ui-012--retain-three-stronger-character-themes) for the theme changes.
|
||||
Project Management without its own image shows the single host background through a transparent root.
|
||||
A saved or temporary board image retains its own background area.
|
||||
The host exposes `--rs-workarea-plugin-bg` and `--rs-workarea-surface-opacity` for saved images and slideshow frames.
|
||||
Lists, cards, card details, and search fields share an 82% tint when an image is active.
|
||||
Gantt and calendar views use one tinted panel. Date cells and headings keep the image visible.
|
||||
Selected cards retain the shared selection treatment. Nested surfaces keep their own tint to preserve readable controls.
|
||||
See [UI-014](design-decisions.md#ui-014--readable-project-management-surfaces).
|
||||
See [UI-010](design-decisions.md#ui-010--background-surface-visibility) for the surface rule.
|
||||
Slideshow frames override saved board images while active. A temporary board frame takes priority over the all-board frame.
|
||||
Identical app and Project Management slideshow frames use the host image once across both sidebars and the board.
|
||||
Distinct board frames retain their own background area.
|
||||
Card detail buttons have transparent resting backgrounds. Hover, pressed, and keyboard focus states remain visible.
|
||||
See [UI-017](design-decisions.md#ui-017--quiet-card-detail-controls) for the detail controls.
|
||||
Removal restores the saved image.
|
||||
Image changes fade for two seconds. Reduced motion removes the animation.
|
||||
Short image intervals and manual Next can interrupt a fade.
|
||||
See [UI-015](design-decisions.md#ui-015--slower-slideshow-fades).
|
||||
Decisions: [UI-014](design-decisions.md#ui-014--readable-project-management-surfaces), [UI-017](design-decisions.md#ui-017--quiet-card-detail-controls).
|
||||
|
||||
## Functional color and complete menu checks
|
||||
### Slideshow
|
||||
|
||||
Use [Functional color requirements](ui-color.md) for all color choices and reviews in the host and plugins.
|
||||
Start with vivid candidates for accents, priorities, status, selection outlines, syntax, and important data.
|
||||
Prefer stronger colors when readability, meaning, and distinction remain sound. Full saturation and full HSV value are normal options.
|
||||
Require concrete evidence for softer choices. Quiet layout does not authorize weak color or broad opacity reductions.
|
||||
The guide defines role requirements, current references, rendered checks, and the evidence needed for Review.
|
||||
See [UI-024](design-decisions.md#ui-024--assertive-functional-color-by-default) for the stronger default.
|
||||
|
||||
Searchable pickers can contain search, descriptions, and forms. Their panels and result rows use the shared menu presentation.
|
||||
Use `rs-picker`, `rs-picker-row`, `rs-picker-icon`, and `rs-picker-hint` from `src/lib/ui/menu.css`.
|
||||
Keep their different layout and semantics. Do not use the richer layout allowance to override panel color, row padding, font, or focus states.
|
||||
Use the shared action menu for native select replacements whenever the host API exists.
|
||||
Native selects remain only as documented fallbacks for older plugin hosts. Embedded website controls retain the website design.
|
||||
|
||||
Run `node scripts/menuSurfaceAudit.mjs` before menu work moves to Review.
|
||||
See the [menu and color review](menu-audit.md) and [source inventory](menu-surfaces.json) for scope and known limits.
|
||||
The inventory covers menu renderers, callers, native selects, and searchable pickers across the host and sibling plugins.
|
||||
An added or changed menu entry point requires inventory review. Source coverage does not prove runtime compliance.
|
||||
Run the listed browser checks for affected surfaces and retain screenshots of the exact reported control.
|
||||
A neighboring selector does not satisfy a card. Check every control shown in its screenshots.
|
||||
|
||||
|
||||
## Prevent repeated UI drift
|
||||
|
||||
Before a new control, find its shared component and an existing example. Extend that component when the same change helps other callers.
|
||||
A plugin can call `api.ui.showActionMenu` for the host menu. The host handles dismissal, focus return, and plugin cleanup.
|
||||
See [UI-007](design-decisions.md#ui-007--repeated-menu-drift) for repeated menu drift and its prevention checks.
|
||||
Rich pickers and forms can use separate layouts under the menu rules above. These permitted layouts do not need exception entries.
|
||||
Check local style overrides when a shared control differs from its peers. Correct the shared component or token when it causes the problem.
|
||||
|
||||
### Current rules and decision history
|
||||
|
||||
This guide is the current design reference. The [design decision log](design-decisions.md) records reasons, recurring problems, and exceptions.
|
||||
Keep current rules here so contributors do not need to reconstruct them from old entries.
|
||||
The trigger for a rule-change entry is a changed design rule, even when only one control changes.
|
||||
|
||||
| Change | Required record |
|
||||
| --- | --- |
|
||||
| Isolated correction to an existing rule | Normal card or commit record. No design entry. |
|
||||
| Intentional rule change | Update this guide and add a rule-change entry with its reason and scope. |
|
||||
| Recurring problem | Link the occurrences and record the cause, prevention action, and check. |
|
||||
| Deliberate exception | Record the user benefit, exact scope, and review date or trigger. Link it from the affected rule here. |
|
||||
|
||||
Restoring a menu to its specified color is a correction. Choosing a new font for the interface changes a rule.
|
||||
Repeated wrong menu colors need a recurring-problem record. Check the shared component and local overrides before adding more guidance.
|
||||
Repeated symptoms do not prove a cause. Record uncertainty until evidence identifies the cause.
|
||||
Use the log templates for new entries. Update the existing entry when the same problem returns.
|
||||
Keep historical decisions and link their replacements. A proposed entry does not replace the current rule.
|
||||
|
||||
### Evidence for review
|
||||
|
||||
For each UI change, include this evidence in the card or change review:
|
||||
|
||||
- Affected controls, the applicable guide section, and the shared component or token. Explain any separate implementation.
|
||||
- Relevant screenshots of changed states in light and dark themes, including narrow layouts and applicable focus or disabled states.
|
||||
- Results for keyboard use, empty and populated states, and the relevant checks listed above. State any unavailable checks.
|
||||
- A check against the design principles: repeated headings, competing accents, unnecessary controls, and space left for the user's work.
|
||||
- A link to a decision entry when a rule changes, a problem recurs, or an exception applies.
|
||||
|
||||
Keep screenshots as review evidence. An isolated correction still needs evidence, but it does not need a design entry.
|
||||
Use accepted examples as visual references for later changes. Label each reference with its control, theme, state, and current rule.
|
||||
Replace outdated references when the rule changes. Do not treat an unreviewed screenshot as an accepted design.
|
||||
|
||||
Run the shared menu check after menu changes and relevant feature checks after behavior changes.
|
||||
Keep native desktop checks separate from browser tests with mocked desktop services.
|
||||
Automated checks support visual and interaction review. They do not decide whether the interface keeps attention on the user's work.
|
||||
Move implementation-ready work to Review after the relevant checks pass. Keep unresolved work In progress and reserve Done for the user's acceptance.
|
||||
- A slideshow frame overrides the saved board image while it is active. A temporary board frame comes before the all-board frame. Removal restores the saved image.
|
||||
- When the app and Project Management show the same frame, the host draws it once across both sidebars and the board. Distinct board frames keep their own area.
|
||||
- Images fade over two seconds. Reduced motion removes the fade. Short intervals and manual Next can interrupt it.
|
||||
- Portrait images show in full over a blurred cover layer by default. The image editor previews a per-image fit, position, and overlay, and saves or resets the override. Global settings apply to other images. The [plugin API](plugin-development.md#plugin-api) defines the storage.
|
||||
- A new browser tab on `about:blank` shows the host background. A loaded page keeps its own rendering, even when it is empty.
|
||||
|
||||
Decisions: [UI-015](design-decisions.md#ui-015--slower-slideshow-fades), [UI-020](design-decisions.md#ui-020--per-image-slideshow-layout).
|
||||
|
||||
## Tooltips and text selection
|
||||
|
||||
Tooltips use the shared tooltip tokens for padding, font size, surface, text, and shadow. Controls keep one tooltip and no duplicate native title. Table cell hints use the same surface as toolbar hints. Hover and keyboard focus show the hint. Escape dismisses it. The hint stays within the viewport.
|
||||
- Use one tooltip per control, with no duplicate native `title`. Tooltips use the `--rs-tooltip-*` tokens for padding, font size, surface, text, and shadow. Table cell hints use the same surface.
|
||||
- Hover and keyboard focus show a tooltip. Escape dismisses it. It stays inside the viewport.
|
||||
- Text selection uses `--rs-selection` and `--rs-selection-text` in Writer, Reading, the IDE, and Project Management fields. A CodeMirror selection layer must override its generated default styles.
|
||||
- Text selection keeps the theme hue at 65% opacity or less, so the background shows through. A lower explicit opacity stays unchanged. Text stays opaque. Theme exports keep the source colors.
|
||||
|
||||
Text selection uses --rs-selection and --rs-selection-text in Writer, Reading, IDE, and Project Management fields. A CodeMirror selection layer must override its generated default styles.
|
||||
Decisions: [UI-019](design-decisions.md#ui-019--one-tooltip-surface), [UI-029](design-decisions.md#ui-029--text-selection-transparency).
|
||||
|
||||
Text selection retains the theme hue with at most 65% opacity. This lets users see the background through selected text.
|
||||
Explicit lower opacity values remain unchanged. Text stays opaque. Theme exports retain the source palette colors.
|
||||
See [UI-029](design-decisions.md#ui-029--text-selection-transparency).
|
||||
## Document panes and Find
|
||||
|
||||
See [UI-019](design-decisions.md#ui-019--one-tooltip-surface).
|
||||
- A workspace link can open another document in a pane to the right. A duplicate target focuses its existing pane.
|
||||
- Closing a split keeps its tab and unsaved text. The focused pane controls Save, the outline, and the Terminal selection.
|
||||
- Narrow work areas stack the panes vertically. Pane layouts stay local to the window.
|
||||
- Writer, source, Reading, and plugin editor views share `FindPanel.svelte` and `find.css`.
|
||||
- A plugin document editor without a Find handler searches its visible rendered text through `readingSearch.ts`. Rendered-text Find has no replace controls. Plugin Find handlers stay in use for views with their own search engine.
|
||||
- Generic plugin views and Kanban documents have no fallback Find.
|
||||
- Ctrl+F opens Find. Enter and Shift+Enter move between matches. Escape closes Find and returns focus. Find and Replace fields turn off saved-input suggestions.
|
||||
|
||||
## Browser and slideshow images
|
||||
Decisions: [UI-021](design-decisions.md#ui-021--workspace-links-in-document-panes), [UI-031](design-decisions.md#ui-031--shared-find-controls-in-plugin-views), [UI-034](design-decisions.md#ui-034--find-scope-and-shared-list-names).
|
||||
|
||||
New browser tabs with about:blank show the host background. Loaded pages retain their own rendering, including intentionally empty pages.
|
||||
|
||||
Slideshow stores per-image fit, position, and overlay in .runestone-backgrounds.json beside the images. The sidecar uses schema 1 and an images object. Settings saves compare the previous file text to preserve external changes. The sidecar has a 1 MiB limit.
|
||||
Portrait images show the full image over a blurred cover layer by default. Each target scales the foreground and blurred layer separately. The image editor shows a preview and lets users save or reset an override. Global settings remain the fallback for other images.
|
||||
The optional background API adds readImageSettings and writeImageSettings. Temporary frames can supply blurredUrl. The plugin owns all frame URLs and releases them after replacement or shutdown.
|
||||
|
||||
|
||||
See [UI-020](design-decisions.md#ui-020--per-image-slideshow-layout).
|
||||
|
||||
See [UI-018](design-decisions.md#ui-018--named-palettes-and-local-fonts) for the palette names and font choices.
|
||||
|
||||
|
||||
## Document panes
|
||||
|
||||
Workspace links can open another document to the right. Duplicate targets focus their existing pane. Closing a split preserves its tab and unsaved text. The focused pane controls Save, outline, and Terminal selection. Narrow work areas stack the panes vertically. Pane layouts stay local to the open window.
|
||||
|
||||
See [UI-021](design-decisions.md#ui-021--workspace-links-in-document-panes).
|
||||
## Find controls
|
||||
|
||||
Writer, source, Reading, and plugin editor views share FindPanel and find.css.
|
||||
Plugin document editors without a Find handler search their visible rendered text through readingSearch.ts.
|
||||
Generic plugin views and Kanban documents do not expose fallback Find. Find and Replace inputs disable saved-info suggestions.
|
||||
Keep replacement controls hidden for rendered text. Preserve plugin Find handlers for views with their own search engine.
|
||||
Ctrl+F opens Find. Enter and Shift+Enter select matches. Escape closes Find and returns focus.
|
||||
See [UI-031](design-decisions.md#ui-031--shared-find-controls-in-plugin-views) for the plugin scope and limits.
|
||||
## Project Management lists
|
||||
|
||||
A list can set an optional maximum through its shared action menu. Show the active count and maximum together.
|
||||
Use an opaque warning icon and tooltip when the count reaches or exceeds the maximum. Extra cards remain permitted.
|
||||
Count all active cards in the list, including cards outside the current search results.
|
||||
- A list can set an optional card maximum through its action menu. Show the active count and the maximum together.
|
||||
- At or above the maximum, show an opaque warning icon with a tooltip. Extra cards stay permitted. The count includes active cards outside the current search results.
|
||||
- Lists collapse to narrow strips with a vertical name and card count. The expand control keeps its accessible name, tooltip, focus, and expanded state.
|
||||
- Named boards save collapse state with their lists. All Tasks saves its own collapse state, and does not change board lists or card placement.
|
||||
|
||||
All Tasks merges lists with matching names into one column. Name matching ignores case and outer spaces.
|
||||
Cards appear once per matching column. Distinct lists and empty lists remain visible.
|
||||
Merged columns omit board-specific capacity limits. Named board lists retain their own limits.
|
||||
Keep this overview frozen against card drag and quick movement actions. Card details and named boards retain their move controls.
|
||||
See [UI-033](design-decisions.md#ui-033--list-capacity-and-a-frozen-all-tasks-overview) for the reason and separate hotfix.
|
||||
### All Tasks
|
||||
|
||||
See [UI-034](design-decisions.md#ui-034--find-scope-and-shared-list-names) for the current Find and All Tasks rules.
|
||||
- All Tasks merges lists with the same name into one column. The match ignores case and outer spaces. Distinct and empty lists stay visible.
|
||||
- Each column groups cards under board-name dividers. A shared card shows once per column, under a heading that names each matching board. Cards without an active board go under No active board. Empty groups stay hidden.
|
||||
- Merged columns have no capacity limits. Named board lists keep their own limits.
|
||||
- Card drag and quick move actions are off in All Tasks. Card details and named boards keep their move controls.
|
||||
- New cards from a column or New card need an active board. The Board and List controls come from the shared card editor and host menus. The destination is the list with a matching name, or the default list of the board.
|
||||
|
||||
All Tasks groups cards within each column under board names with dividers.
|
||||
Shared cards appear once per column, under a heading that names each matching board.
|
||||
Cards without an active board use No active board. Empty groups stay hidden.
|
||||
See [UI-035](design-decisions.md#ui-035--board-dividers-in-all-tasks) for the scope and review evidence.
|
||||
### Cards and boards
|
||||
|
||||
- A description edit stays a draft until Save. Cancel restores the saved text. Closing card details keeps the draft, and the card then shows an unsaved marker. Edit opens the draft. Use the labels Save and Cancel, and leave readable space below long descriptions.
|
||||
- Board and list changes save at once. Close and an outside click use the same save path for other fields.
|
||||
- Each workspace can set a fixed default view: All tasks or one board. Restored tabs and explicit links keep their targets. An unavailable default returns to All tasks. A workspace without boards shows a New board action.
|
||||
- New cards record their creation time, and card details show it. Existing cards show Unknown when no reliable time exists. Moves and edits do not change it. Board cards do not show timestamps.
|
||||
|
||||
### Collapse and creation
|
||||
Decisions: [UI-033](design-decisions.md#ui-033--list-capacity-and-a-frozen-all-tasks-overview), [UI-034](design-decisions.md#ui-034--find-scope-and-shared-list-names), [UI-035](design-decisions.md#ui-035--board-dividers-in-all-tasks), [UI-036](design-decisions.md#ui-036--compact-list-collapse-and-assigned-creation), [UI-037](design-decisions.md#ui-037--saved-metadata-and-explicit-description-drafts), [UI-038](design-decisions.md#ui-038--fixed-workspace-default-board).
|
||||
|
||||
Lists collapse into narrow strips with vertical names and card counts in named boards and All Tasks.
|
||||
The expand control keeps its accessible name, tooltip, keyboard focus, and expanded state.
|
||||
Named boards save collapse state with their lists. All Tasks saves its own collapse state with the view.
|
||||
Collapsing All Tasks columns does not change board lists or card placements.
|
||||
## Review checklist
|
||||
|
||||
All Tasks can create cards through each column or the New card action.
|
||||
Each new card requires an active board. The destination list uses that board's own list ID.
|
||||
A matching list name selects the destination list when available. Otherwise, the board's default list applies.
|
||||
The shared card editor and host choice menus supply the Board and List controls.
|
||||
Card movement remains disabled in the overview.
|
||||
See [UI-036](design-decisions.md#ui-036--compact-list-collapse-and-assigned-creation) for the decision.
|
||||
Examine each changed control in these conditions:
|
||||
|
||||
### Card drafts and metadata
|
||||
- Light and dark themes, and each named palette that the change affects
|
||||
- Narrow windows and viewport edges
|
||||
- Empty, populated, and long content, such as long plugin lists in Settings
|
||||
- Normal, hover, keyboard focus, selected, and disabled states
|
||||
- Keyboard use and focus return
|
||||
- For selection: single items, contiguous ranges, separate groups, and nested rows
|
||||
- For tabs: plugin views and pinned tabs
|
||||
- For menus: file, folder, pane, tab, editor, table, and submenu examples, with icon alignment
|
||||
|
||||
Existing card descriptions remain drafts until Save. Cancel restores the saved description.
|
||||
Closing card details preserves the draft separately. Reopening shows an unsaved marker. Edit opens the draft.
|
||||
Board and list choices save immediately. Close and outside click use the same save path for other metadata.
|
||||
Keep readable space below long descriptions and use the labels Save and Cancel.
|
||||
See [UI-037](design-decisions.md#ui-037--saved-metadata-and-explicit-description-drafts) for the reason and checks.
|
||||
Run these checks:
|
||||
|
||||
### Default board and card creation time
|
||||
| Change | Command |
|
||||
| --- | --- |
|
||||
| Shared menu code | `node scripts/menuConsistency.smoke.mjs` against the [development server](development.md#run-from-source). Set `SMOKE_URL` for a different server. Set `PLAYWRIGHT_MODULE` and `CHROME_PATH` when the environment needs explicit paths. |
|
||||
| Any menu, select, or picker work | `pnpm check:menus` (runs `node scripts/menuSurfaceAudit.mjs`) before Review |
|
||||
|
||||
Each workspace can choose a fixed default: All tasks or one board.
|
||||
The launcher uses that default. Restored tabs and explicit links retain their targets.
|
||||
An unavailable default returns to All tasks. A workspace without boards shows a visible New board action.
|
||||
See [UI-038](design-decisions.md#ui-038--fixed-workspace-default-board) for the scope and host contract.
|
||||
The audit compares source entry points with the inventory in `docs/menu-surfaces.json`, across the host and sibling plugins. A new or changed entry point needs an inventory review. The audit covers source only. It does not prove runtime compliance.
|
||||
|
||||
New cards record their original creation time. Card details show that date and time.
|
||||
Existing cards show Unknown unless a reliable original creation time exists.
|
||||
Moves and later edits do not change the creation time. Keep timestamps out of board cards.
|
||||
For a card, open the exact control in each screenshot of the card. A neighboring control does not satisfy the card.
|
||||
|
||||
Record this evidence in the card or change review:
|
||||
|
||||
- The affected controls, the guide section, and the shared component or token. Explain any separate implementation and any local override.
|
||||
- Screenshots of the changed states in light and dark themes, including narrow layouts, at normal scale.
|
||||
- The check results. State each check that you could not run.
|
||||
- A check against the [design principles](#design-principles): repeated headings, competing accents, extra controls, and space for the user's work.
|
||||
- A link to a decision entry when a rule changes, a problem recurs, or an exception applies.
|
||||
|
||||
Browser tests with mocked desktop services do not replace native window and installer checks. Automated checks do not decide whether the interface keeps attention on the work.
|
||||
Label accepted screenshots with their control, theme, state, and rule, and use them as references. Replace them when the rule changes. An unreviewed screenshot is not an accepted design.
|
||||
Move work to Review after the relevant checks pass. Keep unresolved work In progress. Done needs the user's acceptance.
|
||||
|
||||
## Decision records
|
||||
|
||||
This guide holds the current rules. The [design decision log](design-decisions.md) records why rules changed, recurring problems, and exceptions.
|
||||
|
||||
| Change | Record |
|
||||
| --- | --- |
|
||||
| Isolated correction, such as a menu restored to its specified color | Card or commit record only. No log entry. |
|
||||
| Rule change, such as a new interface font, even for one control | Update this guide and add a rule-change entry in the same change. |
|
||||
| Recurring problem, such as repeated wrong menu colors | Add or update one problem entry. Link the occurrences, and record the cause and the prevention check. |
|
||||
| Exception | Add an exception entry with the user benefit, exact scope, and review date or trigger. Link it from the affected rule here. |
|
||||
|
||||
- A log entry does not authorize a departure from the current rule.
|
||||
- Repeated symptoms do not prove a cause. Record an unknown cause as unknown.
|
||||
- Clarify this guide only when a rule is missing or unclear.
|
||||
|
||||
Decisions: [UI-001](design-decisions.md#ui-001--separate-design-decisions-from-routine-corrections).
|
||||
|
||||
Reference in New Issue
Block a user