Phase 4e. - app.css holds only imports. Its rules moved into files beside their code, in the original cascade order. Dead rules of the deleted TipTap Writer are gone. - workbenchKeys.ts is one table of the workbench shortcuts. Workbench runs the commands. - session.linkTargets is the one link resolution for the link menu and for link opening. - Documents is a rune module (documents.svelte.ts). Workbench reads the tabs and the active path from it, without a copy of all buffers on each change. The editor mount effect now copies the buffer inside untrack, so an edit does not remount the editor. - Unit tests can import .svelte.ts modules through a Node module hook that compiles them with the Svelte compiler. pnpm check, pnpm test (350 of 350), and the full smoke suite pass, except tables/linkCaret, which failed one time under load and passed on retry and 3 of 3 times alone.
776 lines
52 KiB
Markdown
776 lines
52 KiB
Markdown
# Design decision log
|
|
|
|
[Interface design](ui-design.md) · [Functional color](ui-color.md)
|
|
|
|
This log records interface rule changes, recurring problems, and exceptions for RuneStone and its plugins. The [interface design guide](ui-design.md) holds the current rules and says when an entry is necessary.
|
|
|
|
## Use this log
|
|
|
|
- Copy the matching template to the end of Entries. Give the entry the next free ID (UI-NNN) and a date. Replace every placeholder.
|
|
- Link guide sections, source files, cards, and saved evidence. Record missing evidence as pending. Do not claim a check or an acceptance without evidence.
|
|
- Record the decision source of a rule change or an exception, such as the user's direction or an accepted review.
|
|
- State the scope: the app, named plugins, or specific controls. Do not extend a local decision to every plugin.
|
|
- Rule change: update the guide in the same change.
|
|
- Recurring problem: update the existing entry when the problem returns. Mark it resolved only after the prevention and its check pass. Record an unknown cause as unknown.
|
|
- Exception: put a short note beside the affected rule in the guide and link the entry. When the exception ends, mark it retired and remove the note.
|
|
- Keep replaced entries. Mark them superseded and link old and new entries in both directions.
|
|
- Entry status describes the record only. It does not move a card to Done or replace the user's acceptance.
|
|
|
|
## Templates
|
|
|
|
### Rule change
|
|
|
|
```markdown
|
|
### UI-NNN — Short decision title
|
|
|
|
- Type: Rule change
|
|
- Date: YYYY-MM-DD
|
|
- Status: Proposed / Accepted / Superseded
|
|
- Decision source: User direction or review link
|
|
- Previous rule: Old behavior and guide section
|
|
- New rule: New behavior and guide section
|
|
- Reason: User benefit and design principle
|
|
- Scope: App, plugins, and controls
|
|
- Shared implementation: Component or token paths
|
|
- Exceptions: None, or entry links
|
|
- Evidence: Screenshots, check results, review link, or pending
|
|
- Replaces / replaced by: None, or entry links
|
|
```
|
|
|
|
### Recurring problem
|
|
|
|
```markdown
|
|
### UI-NNN — Short problem title
|
|
|
|
- Type: Recurring problem
|
|
- Date: YYYY-MM-DD
|
|
- Status: Open / Resolved
|
|
- Existing rule: Guide section that still applies
|
|
- Scope: App, plugins, and controls
|
|
- Occurrences: Links to each violation, or to the regression and its earlier fix
|
|
- Cause: Evidence, or unknown and the next investigation step
|
|
- Correction: How this occurrence returns to the rule
|
|
- Prevention: Shared component change, override removal, check, or rule clarification
|
|
- Check: How to detect a recurrence, and the result or pending
|
|
- Evidence: Screenshots and card, commit, or review links
|
|
- Resolution / recurrence: Date and result, or pending
|
|
```
|
|
|
|
### Exception
|
|
|
|
```markdown
|
|
### UI-NNN — Short exception title
|
|
|
|
- Type: Exception
|
|
- Date: YYYY-MM-DD
|
|
- Status: Proposed / Accepted / Retired / Superseded
|
|
- Decision source: User direction or review link
|
|
- Current rule: Guide section and its exception note
|
|
- Departure: Exact difference from the rule
|
|
- User benefit: Why the standard pattern does not meet the need
|
|
- Scope: Controls and states
|
|
- Shared implementation: Component or token paths, and why a local difference is necessary
|
|
- Review: Owner, and a date or trigger
|
|
- Exit condition: When the standard pattern can return
|
|
- Evidence: Screenshots, accessibility and interaction checks, or pending
|
|
- Replaces / replaced by: None, or entry links
|
|
```
|
|
|
|
## Entries
|
|
|
|
### UI-003 — Quiet menu choices
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-12
|
|
- Status: Accepted
|
|
- Decision source: User-selected cards d10adda6 and 48687378.
|
|
- Previous rule: Menus used accent outlines and checkmarks for radio choices. Every row reserved an icon column.
|
|
- New rule: Use neutral outlines, quiet radio highlights, and text columns for menus without icons.
|
|
- Reason: Reduce competing accents and make the current choice clear.
|
|
- Scope: Host menus and Project Management menus through the host API.
|
|
- Shared implementation: actionMenu.ts, menu.css, and --rs-menu-border.
|
|
- Exceptions: None.
|
|
- Evidence: Shared menu checks and appearance checks passed. Screenshots are in output/appearance-pass3 and output/pm-october12.
|
|
- Replaces: The outline and radio presentation from UI-002. UI-006 replaces this entry's panel outline. Its quiet radio choices remain.
|
|
|
|
### UI-004 — Detached tab work area
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-12
|
|
- Status: Accepted
|
|
- Decision source: User-selected card 5a8bc531.
|
|
- Previous rule: Detached tabs hid side panes and allowed users to reopen them.
|
|
- New rule: Detached tabs do not mount side panes, their switches, or the plugin ribbon.
|
|
- Reason: Keep the new window focused on the transferred tab.
|
|
- Scope: Windows opened through tab transfer.
|
|
- Shared implementation: Workbench.svelte and its detached grid layout.
|
|
- Exceptions: None.
|
|
- Evidence: Browser transfer checks passed in both themes and narrow windows. Native window acceptance remains pending.
|
|
- Replaces: None.
|
|
|
|
### UI-005 — Heading spacing
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-12
|
|
- Status: Accepted
|
|
- Decision source: User-selected card 17207fbc.
|
|
- Previous rule: Document headings used separator lines.
|
|
- New rule: Use spacing between headings and sections without separator lines.
|
|
- Reason: Keep attention on the document text.
|
|
- Scope: Writer and Reader headings.
|
|
- Shared implementation: the heading rules in src/lib/layout/reading.css.
|
|
- Exceptions: None.
|
|
- Evidence: Editor browser checks passed in both themes. Screenshots are in output/editor-october12.
|
|
- Replaces: None.
|
|
|
|
### UI-002 — Share the requested dropdown design
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-11
|
|
- Status: Accepted
|
|
- Decision source: RuneStone cards 71b17a71-13cb-4d8c-a9cb-8822b433a889 and 52b6f235-6c3e-44c0-9ab6-dcbfd371c0ce, selected by the user for implementation.
|
|
- Previous rule: Menus used 26-pixel rows, 12-pixel text, and the ordinary panel border. Submenu parents had no default action.
|
|
- New rule: Share the reference dropdown geometry across menus. A submenu parent can also run a default action.
|
|
- Reason: Make dropdown choices easier to read. Let users create a blank note directly from New note.
|
|
- Scope: Host action menus and plugin menus that use the host API, including theme, appearance, board, and list menus.
|
|
- Shared implementation: [actionMenu.ts](../src/lib/ui/actionMenu.ts), [menu.css](../src/lib/ui/menu.css), and the `--rs-menu-*` tokens in [tokens.css](../src/lib/theme/tokens.css).
|
|
- Exceptions: None. Existing older-host plugin fallbacks remain available.
|
|
- Evidence: The card reference image `pass3-ref-0ce1efe3` (local `output/` file, not in the repository). Shared menu checks passed in both themes. Further screenshots accompany the card review.
|
|
- Replaces / replaced by: The outline and radio presentation changed in [UI-003](#ui-003--quiet-menu-choices). Other rules remain.
|
|
|
|
### UI-001 — Separate design decisions from routine corrections
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-11
|
|
- Status: Accepted
|
|
- Decision source: The user's request to implement this policy in the guide, agent instructions, and decision log.
|
|
- Previous rule: The guide required UI review evidence but did not distinguish corrections, rule changes, recurring problems, and exceptions.
|
|
- New rule: Use the [record categories](ui-design.md#decision-records) and templates above. Keep current design rules in the guide.
|
|
- Reason: Preserve useful design history without a log entry for every isolated correction.
|
|
- Scope: Documentation and review workflow for the app and its plugins.
|
|
- Shared implementation: [Decision records](ui-design.md#decision-records) and [review evidence](ui-design.md#review-checklist). No component or token change.
|
|
- Exceptions: None.
|
|
- Evidence: The user's explicit instruction in this chat. This entry changes documentation policy and has no visual reference image.
|
|
- Replaces / replaced by: None.
|
|
|
|
### UI-006 — Borderless shared menus
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-12
|
|
- Status: Accepted
|
|
- Decision source: User-selected card 8aa18bb1 requests removal of menu borders across Project Management.
|
|
- Previous rule: Shared menus used a neutral panel outline.
|
|
- New rule: Shared menus use a transparent outline while retaining their shadow, inset rows, and keyboard focus.
|
|
- Reason: Keep attention on the work and give plugin menus one shared design.
|
|
- Scope: Host action menus and Project Management menus through the host API. Older-host fallback menus also omit panel borders.
|
|
- Shared implementation: --rs-menu-border in tokens.css, menu.css, and PM style.css.
|
|
- Exceptions: None.
|
|
- Evidence: Menu and PM check reports and screenshots accompany the card review.
|
|
- Replaces: The panel outline from UI-003. Its quiet radio choices remain.
|
|
|
|
### UI-007 — Repeated menu drift
|
|
|
|
- Type: Recurring problem
|
|
- Date: 2026-10-12
|
|
- Status: Implemented for user review
|
|
- Existing rule: Shared action menus in the interface guide.
|
|
- Scope: Browser settings and Project Management card, priority, background, and list-status controls. Scope also includes BG Slideshow settings menus.
|
|
- Occurrences: Cards 41461dfe and 1d823866 follow earlier menu corrections in UI-002 and UI-003. Card b8cc5ef1 repeats the issue in background and list-status choices.
|
|
- Occurrence: Card f6baf300 repeats the menu problem in a modal Settings dialog.
|
|
- Cause: Browser settings used native selects. PM card and priority controls used local popup renderers. Background and list-status choices missed the shared-choice conversion.
|
|
- Modal cause: BG Slideshow passed no dialog parent to the shared menu. The menu opened outside the modal and could not receive input.
|
|
- Correction: Use the shared menu API for these controls. Match the host background labels and retain the numeric overlay field.
|
|
- Modal correction: Pass the nearest dialog as the menu parent.
|
|
- Prevention: Check each background choice and the list-status choice with the real host menu API, in both themes and narrow layouts.
|
|
- Modal prevention: Run the settings harness with showModal to catch blocked pointer and keyboard input.
|
|
- Language occurrence: The French code menu truncated its longer action label during the language-card review on 2026-10-15.
|
|
- Language cause: A global .action-label rule forced ellipsis and prevented the shared menu label from wrapping.
|
|
- Language correction: The shared menu label explicitly resets overflow, text overflow, and white space in menu.css.
|
|
- Language prevention: The shared menu check now includes a long translated action beside a shortcut at a viewport edge.
|
|
- Check: The current host and PM check reports record the results.
|
|
- Evidence: output/round4-pm-report.json, output/round4-editor-menu-report.json, and output/round4-overlay-report.json.
|
|
- Modal evidence: RuneStone_BG_Slideshow/tests/artifacts/settings and the card review notes.
|
|
- Resolution: The combined checks passed on 2026-10-12. Reopen this entry if the problem returns.
|
|
- Editor occurrence: Cards e7edc2ca and e6dfcb06 report different menus over words, blank space, and IDE content.
|
|
- Editor cause: Writer opened its spelling-only menu over words. Code files retained the default Monaco menu.
|
|
- Editor correction: Combine spelling suggestions with Markdown actions. Route code actions through the shared menu.
|
|
- Editor prevention: Compare word, blank-space, Markdown IDE, and code IDE menus in both themes with keyboard dismissal.
|
|
- Editor evidence: `.audit/editor-surfaces` and the shared menu smoke report accompany the card review.
|
|
|
|
- Relationship occurrence: Card 2f5052e8-965d-4f12-8010-befdd87fa2e9 repeats the menu problem in linked-card Relationship choices.
|
|
- Relationship cause: createRelations did not receive the existing shared-choice adapter.
|
|
- Relationship correction: Pass useSharedChoices to createRelations and apply it to the Relationship selector.
|
|
- Relationship prevention: Test the card relationship selector with the real host menu API, both themes, narrow windows, and keyboard focus.
|
|
- Relationship evidence: RuneStone_ProjectManagement/tests/relations-menu.spec.ts and .audit/linked-card-relationship screenshots.
|
|
|
|
- Reopened on 2026-10-13: cards 2f5052e8 and 048353f7.
|
|
|
|
The linked-card card returned to To Do because the earlier fix changed Relationship but left Card to link as a native select.
|
|
The move-to-board card exposed the same missing adapter in the destination form.
|
|
The earlier checks covered the relationship selector only. Rich-picker exemptions also allowed independent visual styles.
|
|
The correction applies the adapter to all short PM choices and shares presentation with searchable pickers.
|
|
Browser, Terminal, Local Autocomplete, and Slideshow choices form part of the same source audit.
|
|
Keyboard focus now scrolls only the menu panel. It cannot dismiss a menu by scrolling its parent dialog.
|
|
|
|
|
|
### UI-008 — Keep native editing menus focused
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-12
|
|
- Status: Accepted
|
|
- Decision source: User-selected card 48671ea0.
|
|
- Previous rule: Editable native menus exposed all default WebView2 tools.
|
|
- New rule: Retain recognized editing commands and omit unsupported system tools.
|
|
- Reason: Keep note menus focused on work within RuneStone.
|
|
- Scope: Editable WebView2 targets in the host.
|
|
- Shared implementation: src-tauri/src/spelling.rs filters command names before either menu path.
|
|
- Exceptions: Separators retain their layout role. Non-editable native menus retain their unrelated actions.
|
|
- Evidence: Native payloads and two full smoke runs in output/todo-menus.
|
|
- Replaces: None.
|
|
|
|
### UI-009 — Character theme appearances
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-12
|
|
- Status: Implemented for user review
|
|
- Decision source: Card 7421c542 requests stronger character colors, syntax colors, and one suitable appearance per character.
|
|
- Previous rule: Character themes offered separate light and dark appearances with mostly surface colors.
|
|
- New rule: Each character uses one appearance with distinct text, accent, and syntax colors. Asuka also offers a school uniform palette.
|
|
- Reason: Reflect the character through hair, eyes, clothing, and readable code colors.
|
|
- Scope: Character palettes, the theme picker, preview, export, import, and IDE syntax colors.
|
|
- Shared implementation: characterThemes.ts, appearance.ts, syntax tokens, and Monaco theme rules.
|
|
- Exceptions: None.
|
|
- Evidence: Character theme smoke checks passed all five palettes. Contrast checks passed for text and syntax. Screenshots remain in .audit/character-themes.
|
|
- Limits: Native desktop checks remain untested.
|
|
- Replaces: None.
|
|
- Replaced by: UI-012 changes the palette selection. Fixed appearances and syntax rules remain.
|
|
|
|
### UI-010 — Background surface visibility
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-12
|
|
- Status: Implemented for user review
|
|
- Decision source: Card f0250163 requests transparent new-tab buttons, board lists, and cards.
|
|
- Previous rule: New-tab buttons used opaque surfaces. Board lists used a nearly opaque surface, and cards used opaque surfaces.
|
|
- New rule: New-tab controls use shared image control tokens. Board lists and unselected cards use modest transparency when an image is active.
|
|
- Reason: Keep the image visible while labels and selections remain clear.
|
|
- Scope: New-tab buttons and Project Management lists and cards with images.
|
|
- Shared implementation: --rs-image-control-bg, --rs-image-control-hover-bg, EditorPane.svelte, and existing PM background styles.
|
|
- Exceptions: Selected cards retain the shared selection treatment.
|
|
- Evidence: Background browser checks passed both themes and narrow layouts. Screenshots remain in .audit/background-frames and RuneStone_ProjectManagement/.audit/pm-background-*.
|
|
- Limits: Native desktop interaction remains untested.
|
|
- Replaces: None.
|
|
- Replaced by: UI-011 extends the app image across the work area. Control and card rules remain.
|
|
- Replaced by: UI-014 changes Project Management surfaces and host image inheritance.
|
|
|
|
### UI-011 — Backgrounds across the work area
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-12
|
|
- Status: Implemented for user review
|
|
- Decision source: Cards 0fbf1d44, 17cd5ff2, and 3c610e21.
|
|
- Previous rule: The app image appeared only behind the new-tab screen. Sidebars and editors used opaque surfaces.
|
|
- New rule: One background spans the work area below the titlebar. Sidebars use an 82% tint. Editors use a 90% tint.
|
|
- Reason: Show a continuous image while text and controls remain readable.
|
|
- Scope: New tabs, sidebars, Writer, Reading, split views, and IDE.
|
|
- Shared implementation: Workbench background layer and --rs-image-sidebar-bg, --rs-image-editor-bg, and --rs-workarea-* tokens.
|
|
- Splash controls: Keep buttons, icons, labels, and shortcuts. Remove headings, descriptions, and hint text. Button tint matches Project Management lists.
|
|
- Exceptions: Headers, menus, dialogs, and embedded plugin views retain their own surfaces.
|
|
- Evidence: Background and appearance browser reports and screenshots accompany the card review.
|
|
- Limits: Native desktop appearance and distraction levels require user review.
|
|
- Replaces: The new-tab-only scope of UI-010. Its control and card rules remain.
|
|
- Replaced by: UI-013 adds menu transparency. UI-014 lets Project Management share the host background.
|
|
|
|
### UI-012 — Retain three stronger character themes
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-12
|
|
- Status: Implemented for user review
|
|
- Decision source: Card 541c87e6.
|
|
- Previous rule: Five character palettes included Renamon and Asuka School Uniform.
|
|
- New rule: Retain Holo, Asuka, and Malfoid with stronger identity colors. Remove Renamon and Asuka School Uniform.
|
|
- Reason: Reduce unused choices and replace soft colors with recognizable clothing, hair, and eye colors.
|
|
- Scope: Theme registry, appearance selection, syntax colors, saved settings, and export.
|
|
- Shared implementation: characterThemes.ts, appearance.ts, the shared theme picker, and Monaco theme rules.
|
|
- Migration: Removed themes return to RuneStone while their saved mode and background remain.
|
|
- Evidence: Palette contrast checks and character browser checks. Screenshots remain in .audit/character-themes.
|
|
- Limits: Native desktop appearance requires user review.
|
|
- Replaces: The palette selection rule in UI-009. Its fixed appearance and syntax rules remain.
|
|
|
|
|
|
### UI-013 — Translucent menu surfaces
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-12
|
|
- Status: Implemented for user review
|
|
- Decision source: Card e3c5261f requests transparency across menus.
|
|
- Previous rule: Menus used opaque elevated surfaces.
|
|
- New rule: Shared menus use an 82% theme tint, including hover and active rows.
|
|
- Reason: Keep background images visible while menu labels remain readable.
|
|
- Scope: Host action menus, submenus, plugin menus through the host API, and the workspace picker.
|
|
- Shared implementation: `menu.css`, `--rs-menu-bg`, and `--rs-menu-active-bg`.
|
|
- Exceptions: Native system menus retain platform presentation. Rich dialogs retain their own surfaces.
|
|
- Evidence: Menu smoke checks pass both themes, keyboard navigation, disabled rows, focus return, submenus, and viewport edges.
|
|
- Screenshots: `.audit/menu-file-light.png`, `.audit/menu-file-dark.png`, and `.audit/menu-edge.png`.
|
|
- Limits: Native desktop appearance requires user review.
|
|
- Replaces: The opaque menu exception in UI-011.
|
|
|
|
### UI-014 — Readable Project Management surfaces
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-12
|
|
- Status: Implemented for user review
|
|
- Decision source: Cards ed544871, c290007f, 312ee71d, 399f6818, and 6e1b418d.
|
|
- Previous rule: Project Management retained an opaque root. Cards and fields used different tints. Gantt and calendar lacked a shared readable panel.
|
|
- New rule: Project Management shows one host image unless a board supplies its own image. Related surfaces share an 82% tint.
|
|
- Reason: Show the image once and keep tasks, dates, details, and search text readable.
|
|
- Scope: Project Management backgrounds, lists, cards, details, fields, Gantt, and calendar.
|
|
- Shared implementation: Host work-area tokens and Project Management surface tokens.
|
|
- Exceptions: Selected cards retain the shared selection treatment.
|
|
- Evidence: Unit, clipping, keyboard, background, and surface browser checks accompany the card review.
|
|
- Limits: Native desktop appearance requires user review.
|
|
- Replaces: The Project Management surface scope of UI-010 and the opaque plugin exception in UI-011.
|
|
- Background recurrence: Card ed544871 returned to To Do on 2026-10-13 with left and right sidebar examples.
|
|
- Background cause: Slideshow published the same frame to the app and boards. Each renderer scaled that image to a different area.
|
|
- Background correction: Compare app and board frames, including appearance and transitions. Matching frames use only the host layer.
|
|
- Background prevention: Publish matching frames to app and boards in the host integration test. Check both sidebars and narrow layouts.
|
|
- Background evidence: `.audit/host-pm-matching-slideshow-*.png` in the Project Management checkout and transient frame tests.
|
|
|
|
### UI-015 — Slower slideshow fades
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-12
|
|
- Status: Implemented for user review
|
|
- Decision source: Card 9ae11a7a reports that fades are too fast.
|
|
- Previous rule: Images faded for 800 milliseconds.
|
|
- New rule: Images fade for two seconds. Reduced motion removes the animation.
|
|
- Reason: Give the image change a slower visual pace.
|
|
- Scope: App and Project Management slideshow frames.
|
|
- Shared implementation: Background Slideshow `transitionMs`, host BackgroundHub, and Project Management frame rendering.
|
|
- Exceptions: Manual Next and image intervals below two seconds can interrupt a fade.
|
|
- Evidence: All 11 slideshow unit tests, TypeScript checks, and the settings browser check pass.
|
|
- Limits: Native desktop appearance requires user review.
|
|
- Replaces: The 800-millisecond fade rule in the interface guide.
|
|
|
|
### UI-016 — Translucent code blocks
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-13
|
|
- Status: Implemented for user review
|
|
- Decision source: Card ea3ab6df requests transparent code blocks.
|
|
- Previous rule: Fenced code blocks used opaque elevated surfaces.
|
|
- New rule: Writer and Reading code blocks share an 82% elevated tint.
|
|
- Reason: Keep the image visible through code blocks while code text remains readable.
|
|
- Scope: Fenced code blocks in Writer and Reading, including split layouts.
|
|
- Shared implementation: `--rs-code-block-bg` in the theme tokens.
|
|
- Evidence: Editor browser screenshots and checks accompany the card review.
|
|
- Limits: Native desktop appearance requires user review.
|
|
|
|
|
|
### UI-017 — Quiet card detail controls
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-13
|
|
- Status: Implemented for user review
|
|
- Decision source: Card 165db7bc requests transparent buttons and plain label removal.
|
|
- Previous rule: Card detail buttons and the footer used separate tinted surfaces.
|
|
- New rule: Buttons have transparent resting backgrounds. The footer stays in the content flow with no extra tint.
|
|
- Reason: Remove the large label removal button and the dark bar without obscuring the form.
|
|
- Scope: Project Management card details. Shared menu rows retain their existing presentation.
|
|
- Shared implementation: Existing Project Management hover, focus, surface, and radius tokens.
|
|
- Evidence: `.audit/pm-details-fixed-*.png`, focused keyboard checks, and the Project Management browser suite.
|
|
- Limits: Native desktop appearance requires user review.
|
|
|
|
|
|
### UI-018 — Named palettes and local fonts
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-13
|
|
- Status: Implemented for user review
|
|
- Decision source: Cards f7b0eaae, c46f6614, 7c3abb8e, d86825df, and 26f515c6.
|
|
- Previous rule: The palettes used character names and the common interface font.
|
|
- New rule: Harvest Moon, Crimson Pilot, and Silver Serpent use distinct palettes and local font stacks. Saved choices migrate to the new names.
|
|
- Reason: Give each palette a clear identity with readable surfaces, text, and syntax colors.
|
|
- Scope: Theme settings, previews, exports, saved choices, and editor colors.
|
|
- Shared implementation: Appearance normalization, palette definitions, and font tokens.
|
|
- Evidence: Nine theme checks and the theme browser smoke pass. Screenshots are in .audit/character-themes.
|
|
- Limits: Native desktop appearance requires user review.
|
|
- Replaces: The names and typography in UI-009 and UI-012.
|
|
|
|
### UI-019 — One tooltip surface
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-13
|
|
- Status: Implemented for user review
|
|
- Decision source: Cards 18c41c19 and 218d43f3.
|
|
- Previous rule: Table cells used native titles. Plugin and toolbar hints used separate styles.
|
|
- New rule: Tooltip tokens set the surface, padding, text, font size, shadow, and shared control radius. Controls show one hint.
|
|
- Reason: Keep hints readable and remove duplicate labels.
|
|
- Scope: Table cell hints, toolbar controls, view switches, and Project Management hints.
|
|
- Shared implementation: --rs-tooltip-* tokens, attachTooltip, IconButton, ModeSwitcher, and pm-tooltip.
|
|
- Evidence: Browser checks cover light and dark themes, keyboard focus, Escape, narrow windows, and viewport edges.
|
|
- Evidence files: Host .audit/todo-ui and Project Management .audit/tooltip-*.png.
|
|
- Limits: Native desktop appearance requires user review.
|
|
|
|
Cards 07e0c4e4 and 0f9fc3b9 exposed remaining tooltip drift after UI-019.
|
|
Cause: native titles and local CSS bypassed attachTooltip. Earlier tests did not cover these control paths.
|
|
Correction: prose links and editor controls use the shared tooltip helper. The table keeps a concise cell hint.
|
|
Prevention: check the exact screenshot target with pointer and keyboard focus, both themes, Escape, and viewport edges.
|
|
Evidence: editorLinkEditing.smoke.mjs and the editor screenshot attachments. Native desktop acceptance remains open.
|
|
|
|
Card a18e86d1 exposed native tab titles outside the shared tooltip helper.
|
|
Tab labels and close buttons now use attachTooltip.
|
|
The exact tab receives hover, focus, Escape, and theme checks in october15Appearance.smoke.mjs.
|
|
|
|
Card 44460b1d exposed native and local tooltips in Git after UI-019.
|
|
Cause: Git controls used title attributes and a separate tooltip style.
|
|
Correction: Git uses a delegated tooltip helper with the shared .rs-tooltip presentation and theme tokens.
|
|
Prevention: Check each reported changed-file, commit, and commit-file control with hover, focus, Escape, both themes, and narrow windows.
|
|
Evidence: RuneStone_Git/.audit/git-tooltip-evidence.json and git-tooltip-*.png. Native desktop acceptance remains open.
|
|
|
|
### UI-020 — Per-image slideshow layout
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-13
|
|
- Status: Implemented for user review
|
|
- Decision source: Card 9c5ae261 and the user's approval of the draft on October 13.
|
|
- Previous rule: One global layout applied to every slideshow image.
|
|
- New rule: Per-image fit, position, and overlay settings override the global layout. Portrait images use a full foreground over blurred fill by default.
|
|
- Reason: Show portrait images without cropping their content or leaving empty bands.
|
|
- Scope: Slideshow settings, app backgrounds, and Project Management backgrounds.
|
|
- Shared implementation: The image sidecar API, optional blurredUrl frames, and separate foreground and cover layers.
|
|
- Evidence: Host frame and sidecar checks cover layout, cleanup, size limits, and external changes. Plugin checks accompany the card review.
|
|
- Limits: Native desktop appearance requires user review.
|
|
|
|
### UI-021 — Workspace links in document panes
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-13
|
|
- Status: Implemented for user review
|
|
- Decision source: Card 68ccce34 requests workspace link actions, including Open to the right.
|
|
- Previous rule: Documents used one editor pane. Split layouts supported plugin views.
|
|
- New rule: Workspace links can open another document beside the current pane. Each document has one visible pane. Duplicate targets focus their existing pane.
|
|
- Reason: Keep the source note visible while users read or edit its linked note.
|
|
- Scope: Document panes, focus, save routing, selection, model lifetime, and close controls.
|
|
- Shared implementation: splitLayout geometry, documentPanes state, document sessions, and IconButton.
|
|
- Narrow layout: Document panes stack vertically and keep their content scrollable.
|
|
- Close behavior: Closing a split removes its pane and preserves the document tab and unsaved text.
|
|
- Evidence: Document unit checks and the split browser smoke accompany the card review.
|
|
- Limits: Native desktop acceptance requires user review. Pane layouts remain local to the open window.
|
|
|
|
### UI-022 — Functional color without an artificial ceiling
|
|
|
|
Type: Rule change
|
|
Date: 2026-10-13
|
|
Status: Superseded
|
|
Decision source: The user's request for functional color and current character references, plus cards 093e372f and 4bb33e4f.
|
|
Previous rule: Quiet surfaces and accents reserved for attention, without a clear boundary between layout restraint and color strength.
|
|
New rule: Quiet structure places no ceiling on saturation or HSV value. Color strength follows function and the current references.
|
|
Reason: Repeated muted palettes reduced identity and priority visibility.
|
|
Scope: Host and plugin themes, status indicators, syntax colors, and review evidence.
|
|
Shared implementation: Character palette roles, selection tokens, priority variables, and shared menu presentation.
|
|
Evidence: Exact Holo color measurements, contrast checks, and screenshots accompany the card review. Native desktop acceptance remains open.
|
|
Replaces: The interpretation that quiet structure requires globally muted colors.
|
|
Replaced by: [UI-024](#ui-024--assertive-functional-color-by-default) strengthens the default and required evidence.
|
|
|
|
### UI-023 — Separate theme font roles
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-13
|
|
- Status: Implemented for user review
|
|
- Decision source: The user's request to review all three theme fonts.
|
|
- Previous rule: Each named theme used one family for controls, prose, and headings.
|
|
- New rule: Compact controls and longer prose can use separate families. Each role keeps a fallback stack.
|
|
- Reason: Small serif controls were harder to scan. Bahnschrift prose gave long passages the same condensed appearance as tool labels.
|
|
- Scope: Harvest Moon, Crimson Pilot, and Silver Serpent.
|
|
- Shared implementation: --rs-font-ui, --rs-font-prose, and --rs-font-heading in tokens.css.
|
|
- Evidence: themeTypography.smoke.mjs checks actual rendered fonts, selected text, narrow menus, and long settings navigation.
|
|
- Limits: Native WebView rendering and subjective reading comfort require user acceptance.
|
|
- Replaces: The single-family rule in UI-018. Its saved theme names remain.
|
|
|
|
### UI-024 — Assertive functional color by default
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-13
|
|
- Status: Accepted
|
|
- Decision source: The user's explicit request for stronger color requirements for future agents and human developers, including a global skill.
|
|
- Previous rule: UI-022 permitted full saturation and value but did not require a stronger candidate or evidence for softer choices.
|
|
- New rule: Start with assertive functional colors. Prefer stronger candidates when readability and meaning remain sound. Require concrete evidence for softer choices.
|
|
- Reason: Permission alone leaves the default unclear. Earlier soft palettes required repeated corrections.
|
|
- Scope: RuneStone and all plugins. The user's global skill applies the same preference to other UI work within its stated scope.
|
|
- Shared implementation: [Functional color requirements](ui-color.md), theme tokens, project agent instructions, and the global ui-functional-color skill.
|
|
- Exceptions: Explicit user direction and approved project exceptions retain their scope. Readability remains required.
|
|
- Evidence: The [October 13 review](archive/menu-audit-2026-10-13.md), cards 093e372f and 4bb33e4f, and the user's direction in this chat.
|
|
- Limits: This policy cannot guarantee future adherence. Reviews still need measured values and rendered screenshots.
|
|
- Replaces: [UI-022](#ui-022--functional-color-without-an-artificial-ceiling) for the strength of the default and required evidence.
|
|
- Release impact: Documentation and instructions only. No version or artifact change.
|
|
|
|
### UI-025 — Table links hide their source after repeated fixes
|
|
|
|
- Type: Recurring problem
|
|
- Date: 2026-10-13
|
|
- Status: Resolved
|
|
- Existing rule: Inline editing keeps attention on the document under the interface design principles.
|
|
- Scope: Writer links inside Markdown table cells.
|
|
- Occurrences: Cards 8ee17b99-3a69-49c0-8aa1-e3d67e8f966f, 08f4f317-6273-4279-8136-4afe6f665b1d, and e9105823-69b2-440b-8931-5782256c8ce8.
|
|
- Cause: A normal click placed the caret in rendered text but did not reveal the link source. Earlier tests checked caret position and invoked Edit link before checking the URL.
|
|
- Correction: Reveal inline Markdown when the caret enters a link. Preserve the caret position within its label.
|
|
- Prevention: Check ordinary clicks and keyboard entry before invoking any menu. Check the visible URL, label edits, target edits, undo, and save.
|
|
- Check: The ordinary-click and keyboard regression passed in both themes at wide and narrow widths. Source checks and 245 unit tests passed.
|
|
- Evidence: The current card includes the actual and expected screenshots. New screenshots accompany its review.
|
|
- Resolution: Source checks passed on 2026-10-13. Native WebView acceptance remains open. Reopen this entry if the problem returns.
|
|
|
|
### UI-026 — Compact shared menu rows
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-14
|
|
- Status: Implemented for user review
|
|
- Decision source: Card e16480da-be7d-426c-969e-8af0cd894e54 requests more actions within the same vertical space.
|
|
- Previous rule: Menus used 30-pixel rows and 4-pixel vertical padding.
|
|
- New rule: Menus use 24-pixel rows and 2-pixel vertical padding. Text, icons, panel padding, and horizontal padding retain their shared dimensions.
|
|
- Reason: Compact rows reduce menu height while preserving readable labels and keyboard access.
|
|
- Scope: Host and plugin action menus, submenus, and shared picker rows.
|
|
- Shared implementation: --rs-menu-row-height and --rs-menu-row-padding in tokens.css, consumed by menu.css and plugin controls.
|
|
- Evidence: The file menu measures 456 pixels after the change and 558 pixels with the previous tokens, in both themes.
|
|
- Checks: menuConsistency.smoke.mjs compares host menus, keyboard access, disabled actions, modal menus, and viewport bounds.
|
|
- Limits: Browser checks use desktop mocks. Native display scaling and user acceptance remain open.
|
|
|
|
### UI-027 — Direct spelling corrections
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-14
|
|
- Status: Implemented for user review
|
|
- Decision source: Card 658fc42d-6d6d-4d90-8d32-0e350ebfbc9f and its Obsidian screenshot.
|
|
- Previous rule: The Markdown menu placed spelling corrections inside a final Spelling submenu.
|
|
- New rule: Put corrections and Add to dictionary first in the main editing menu.
|
|
- Reason: Users can see and choose a correction immediately after a right click.
|
|
- Scope: The shared Markdown menu in Writer and the Markdown source editor.
|
|
- Shared implementation: markdownMenu.ts with the shared actionMenu renderer.
|
|
- Checks: editorSurfaces.smoke.mjs checks direct corrections, keyboard activation, replacement, undo, and narrow menus in both themes.
|
|
- Limits: Browser checks mock Windows spelling results. Native dictionary behavior remains a user acceptance check.
|
|
|
|
|
|
### UI-028 — Adjustable surface transparency and fixed custom palettes
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-15
|
|
- Status: Implemented for user review
|
|
- Decision source: Cards 31d8931e-9d1b-4688-bb4f-03ee727b0f8f and 90906e18-4082-445e-a6fd-3cbda4d94226.
|
|
- Previous rule: Image surfaces and menus used fixed tint percentages. Theme templates contained separate light and dark palettes.
|
|
- New rule: Appearance controls surface transparency from 0% to 100% and can make surfaces opaque. The slider uses current theme tokens. Theme templates contain one fixed palette and the current interface, prose, heading, and code font stacks.
|
|
- Reason: Users need control over image visibility and compositing. A single palette matches the selected theme without a separate mode toggle.
|
|
- Scope: Host menus, image surfaces, compatible plugin surfaces, and custom theme import and export.
|
|
- Shared implementation: appearance.ts, customThemes.ts, and the surface-opacity tokens in tokens.css.
|
|
- Compatibility: Default surface and editor tints remain 82% and 90%. Schema 1 files remain importable.
|
|
- Evidence: tests/smoke/settings/displayLanguage.smoke.mjs, tests/unit/theme/customThemes.spec.ts, and the affected cards retain checks and screenshots.
|
|
- Follow-up evidence: Cards 5a56a250-b46a-4319-8f25-5f6ac4362a32, 682ad51f-66a1-477d-b02e-c1acb1c14d4e, and 97fe6f6b-5780-436e-abd8-a8135efbbe87 cover the full range, themed slider, and missing font stacks. `tests/smoke/appearance/themeVariants.smoke.mjs` checks the exact controls and exports.
|
|
- Limits: Browser checks use desktop mocks. Native display and user acceptance remain open.
|
|
|
|
### UI-029 — Text selection transparency
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-15
|
|
- Status: Implemented for user review
|
|
- Source: Card cf9f6f56-d7c3-4ed9-9c15-61456c1009b2 requests transparency in selected text.
|
|
- Previous rule: The shared selection color could be opaque.
|
|
- New rule: Cap selection opacity at 65%. Preserve the theme hue and any lower custom opacity.
|
|
- Reason: Keep the background visible beneath selected text.
|
|
- Scope: Writer, Reading, IDE, and compatible plugin fields.
|
|
- Implementation: appearance.ts sets --rs-selection after the theme palette. Theme exports retain their source colors.
|
|
- Evidence: october15Appearance.smoke.mjs checks the exact tab, selected text, slider, background, and installation checkbox. Screenshots stay in output/october15-appearance.
|
|
- Limits: Native desktop appearance and user acceptance remain open.
|
|
|
|
Card d3b52384 exposed opaque Terminal selection after UI-029.
|
|
Cause: The xterm DOM renderer blends selection colors into opaque backgrounds, including selected glyph backgrounds.
|
|
Correction: Terminal applies the shared selection color through --rs-terminal-selection. Its adapter caps alpha at 65% and preserves lower alpha values.
|
|
The overlay retains the source hue. Selected glyph backgrounds stay transparent, and text stays opaque.
|
|
Evidence: RuneStone_Terminal/.audit/terminal-selection-evidence.json records source colors, alpha, composites, and contrast.
|
|
Screenshots cover both themes at 620 and 1440 pixels. Measured text contrast is 8.94:1 in dark and 11.80:1 in light.
|
|
Native shell, background image, and desktop acceptance remain open.
|
|
|
|
### UI-030 — Settings installation checkbox theme drift
|
|
|
|
- Type: Recurring problem
|
|
- Date: 2026-10-15
|
|
- Status: Implemented for user review
|
|
- Source: Card 55911872 reports repeated Settings theme drift. Related theme-control corrections appear in UI-028.
|
|
- Cause: The installation checkbox omitted accent-color and used the browser default.
|
|
- Correction: PluginManager now reads --rs-accent. This correction adds no fixed palette colors.
|
|
- Prevention: Check the exact installation control in the reported theme and another appearance.
|
|
- Evidence: october15Appearance.smoke.mjs and output/october15-appearance retain the checks and screenshots.
|
|
- Limits: Native desktop appearance and user acceptance remain open.
|
|
### UI-031 — Shared Find controls in plugin views
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-15
|
|
- Status: Implemented for user review
|
|
- Decision source: Cards 59c3a70a and 4621dd41.
|
|
- Previous rule: Document modes shared FindPanel. Plugin views without a Find handler exposed the native browser search.
|
|
- New rule: Plugin editor views use FindPanel to search their visible text when the plugin supplies no Find handler.
|
|
- Reason: Keep Ctrl+F consistent across the central work area.
|
|
- Scope: Plugin editor views. A plugin Find handler retains control of its own search engine.
|
|
- Shared implementation: PluginEditor.svelte, Workbench.svelte, readingSearch.ts, FindPanel.svelte, and find.css.
|
|
- Evidence: pluginFind.smoke.mjs covers two plugin views, card buttons, hidden content, keyboard navigation, focus return, both themes, and narrow windows.
|
|
- Evidence files: output/todo-oct15/plugin-find/.
|
|
- Limits: Rendered text search excludes input values and content inside embedded documents. Native desktop acceptance remains open.
|
|
|
|
### UI-032 — Checklist marker keyboard entry
|
|
|
|
- Type: Recurring problem
|
|
- Date: 2026-10-15
|
|
- Status: Implemented for user review
|
|
- Source: Card 56229174 returned after the 0.1.37 review.
|
|
- Cause: The checkbox replacement starts at the list bullet. The edit interval started later, at the opening bracket.
|
|
- Test gap: The earlier smoke placed the caret inside the marker through the editor API. It missed real keyboard entry.
|
|
- Correction: The edit interval includes the replacement start. Task text retains its rendered checkbox.
|
|
- Shared implementation: liveMarkdown.ts. Existing checkbox styles and theme tokens remain.
|
|
- Prevention: Use ArrowLeft and Home from task text. Edit the raw marker, return to text, and toggle the checkbox.
|
|
- Evidence: editorClipboardChecklist.smoke.mjs passes in both themes at 1440 and 600 pixels.
|
|
- Evidence files: output/editor-clipboard-checklist/.
|
|
- Limits: Browser tests use desktop service mocks. Native desktop acceptance remains open.
|
|
### UI-033 — List capacity and a frozen All Tasks overview
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-15
|
|
- Status: Implemented for user review
|
|
- Decision source: Cards ae44dc20 and 8561a6a0.
|
|
- Previous rule: Lists showed counts without capacity. All Tasks grouped cards by status and allowed direct movement.
|
|
- New rule: Lists can set an optional maximum. All Tasks shows each board list and prevents direct movement between lists.
|
|
- Reason: Show list capacity and prevent accidental moves between similarly named cards and lists from different boards.
|
|
- Scope: Project Management Kanban lists and the All Tasks overview.
|
|
- Shared implementation: BoardList.maxCards, BoardStore.setLimit, listMenu, allTaskColumns, shared menu tokens, and --rs-error.
|
|
- Behavior: Capacity warns at or above the maximum. It permits extra cards, as the supplied references show.
|
|
- Behavior: All Tasks retains empty and custom lists with board names. Card details and named boards retain move controls.
|
|
- Evidence: List limit, All Tasks, board drag, and package browser checks. Screenshots are in RuneStone_Project_Management/output/card-work/.
|
|
- Release separation: 0.2.43 contains list limits. 0.2.43b adds the complete freeze. The earlier 0.2.43a is superseded.
|
|
- Limits: Browser checks use desktop service mocks. Native desktop acceptance remains open.
|
|
|
|
### UI-034 — Find scope and shared list names
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-16
|
|
- Status: Implemented for user review
|
|
- Decision source: Cards 04b333b0 and 505c6a28.
|
|
- Previous rule: UI-031 added fallback Find to generic plugin views. UI-033 kept separate columns for matching list names.
|
|
- New rule: Document editors expose fallback Find. Generic plugin views and Kanban documents do not expose fallback Find.
|
|
- New rule: Matching list names share one All Tasks column. Name matching ignores case and outer spaces.
|
|
- Reason: Keep document search relevant and avoid repeated columns across boards.
|
|
- Scope: Host plugin Find controls and the Project Management All Tasks overview.
|
|
- Shared implementation: PluginEditor.svelte, FindPanel.svelte, readingSearch.ts, and PM all-tasks.ts.
|
|
- Behavior: Plugins with a Find handler retain their search behavior. Distinct lists and empty lists remain visible.
|
|
- Behavior: Cards appear once per matching column. The overview keeps movement controls disabled.
|
|
- Behavior: Merged columns omit board-specific capacity limits. Named boards retain their limits and movement controls.
|
|
- Evidence: Host pluginFind smoke, PM All Tasks browser checks, 129 PM unit tests, and shared menu checks pass.
|
|
- Evidence files: Host .audit/host-privacy-find and PM output/card-work/all-tasks-{light,dark}-{1100,390}.png.
|
|
- Local overrides: No color or shared menu presentation overrides changed. Shared focus and control tokens remain.
|
|
- Limits: Browser checks use desktop service mocks. Native desktop acceptance remains open.
|
|
|
|
### UI-035 — Board dividers in All Tasks
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-16
|
|
- Status: Implemented for user review
|
|
- Decision source: Card 0e80098e-f6a4-4552-a503-601be8b0310c and its divider mockup.
|
|
- Previous rule: Matching lists shared a column without board labels.
|
|
- New rule: Each populated column groups cards under board names with a divider below each heading.
|
|
- Behavior: Shared cards appear once per column. Their heading names all boards represented by that placement.
|
|
- Behavior: Cards without a matching active board use No active board. Empty groups stay hidden.
|
|
- Reason: Show board membership without repeated columns or card copies.
|
|
- Scope: Project Management All Tasks Kanban columns.
|
|
- Shared implementation: allTaskGroups, pm-board-group-heading, --pm-text, and --pm-line.
|
|
- Local overrides: No palette changes or menu overrides. Heading text stays opaque.
|
|
- Evidence: Type checks, unit tests, and All Tasks browser checks cover shared memberships, detail moves, and frozen cards.
|
|
- Evidence files: RuneStone_Project_Management/output/card-work/all-tasks-{light,dark}-{1100,390}.png.
|
|
- Design check: Headings replace repeated card badges. Existing controls and the work area retain their layout.
|
|
- Limits: Browser tests use desktop service mocks. Native desktop acceptance remains open.
|
|
|
|
### UI-036 — Compact list collapse and assigned creation
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-16
|
|
- Status: Implemented for user review
|
|
- Decision source: Cards fe74c884-3511-4c11-9f6a-8a7e584d940e and f73144cc-6567-4ed3-8b79-14a3ac038016.
|
|
- Previous rule: Collapse hid cards without reducing column width. All Tasks lacked creation controls for most board lists.
|
|
- New rule: Collapsed lists use narrow strips with vertical names, counts, and an accessible expand control.
|
|
- New rule: All Tasks creation requires an active board and resolves list names to that board's list IDs.
|
|
- Reason: Recover horizontal space and create assigned cards without leaving the overview.
|
|
- Scope: Project Management Kanban columns and the shared card editor.
|
|
- Shared implementation: BoardStore.collapse, PMViewState.collapsedLists, openEditor, createSharedChoices, and TaskStore.create.
|
|
- Shared tokens: Existing --pm-panel, --pm-line, --pm-text, --pm-radius, and host focus tokens.
|
|
- Local overrides: Column layout changes only. No new palette values or menu presentation overrides.
|
|
- Design check: The vertical strip preserves list identity and count. Existing Board and List controls handle assignment without a second form.
|
|
- Evidence: Unit tests cover assigned creation and stale destinations. Browser tests cover collapse, focus, board switching, required assignment, cancellation, and saved cards.
|
|
- Evidence files: RuneStone_Project_Management/output/card-work/collapsed-*, create-all-*, create-board-menu-*, and create-list-menu-* screenshots.
|
|
- Limits: Browser tests use mocked workspace services. Native desktop acceptance remains open.
|
|
### UI-037 — Saved metadata and explicit description drafts
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-17
|
|
- Status: Implemented for user review
|
|
- Decision source: Cards 220b0d31, 58575469, f44bdd09, and 4ade34d0. The user chose drafts until Save in this chat.
|
|
- New rule: Existing card descriptions remain drafts until the user chooses Save. Cancel restores the saved description.
|
|
- Behavior: Closing card details preserves the draft separately. Reopening shows an unsaved marker. Edit opens the draft.
|
|
- Behavior: Board and list choices save immediately. Other card metadata uses the same save path on outside click and Close.
|
|
- Reason: Keep description edits safe while making the commit action clear. Prevent a close action from discarding metadata.
|
|
- Scope: Project Management card details and local draft storage.
|
|
- Shared implementation: openEditor, descriptionEditor, and the description draft store.
|
|
- Shared tokens: Existing control, focus, panel, and text tokens. No palette changes.
|
|
- Evidence: TypeScript and 134 unit tests pass. All 236 browser checks pass across the full run and the focused fixture rerun.
|
|
- Evidence files: RuneStone_Project_Management/.audit/october-{description,timestamp}-{theme}-{width}.png.
|
|
- Limits: Native desktop acceptance remains open.
|
|
|
|
### UI-038 — Fixed workspace default board
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-17
|
|
- Status: Implemented for user review
|
|
- Decision source: Cards 2596f9c9 and 8cffc80a, including the agreed default-board scope.
|
|
- New rule: The Project Management launcher opens a fixed workspace default: All tasks or a selected board.
|
|
- Behavior: Restored tabs and explicit board links retain their targets. An unavailable default returns to All tasks.
|
|
- Behavior: A workspace without boards shows a visible New board action.
|
|
- Reason: Give first-time users a clear start and let each workspace retain its chosen entry point.
|
|
- Scope: Project Management settings, initial empty state, and host view launch handling.
|
|
- Shared implementation: PluginView.launch, ExternalSession.launch, and the existing Project Management board registration.
|
|
- Shared tokens: Existing action, control, focus, and menu tokens. No palette changes.
|
|
- Evidence: Host session tests and browser checks pass for launch, explicit opening, and restored tabs. Plugin checks pass, including all 236 browser checks across full and focused runs.
|
|
- Evidence files: RuneStone_Project_Management/.audit/october-{default,onboarding}-{theme}-{width}.png. The packaged plugin also passes its host state check.
|
|
- Local overrides: The new onboarding control uses the existing standard button for readable text in both themes.
|
|
- Limits: Browser checks use desktop service mocks. Native desktop acceptance remains open.
|
|
|
|
### UI-039 — Close secondary windows after the last tab
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-21
|
|
- Status: Implemented for user review
|
|
- Decision source: Card 6fcee006-c5a5-4d1b-9605-5d763715b95c.
|
|
- New rule: Closing the last tab closes a secondary workspace window. The main window keeps a New tab.
|
|
- Reason: Close an empty secondary window when the user finishes its work.
|
|
- Scope: Ordinary secondary workspace windows and detached tabs, including documents, plugin views, and empty tabs.
|
|
- Shared implementation: Workbench.closeTabs calls the existing window-close handler. Cancel preserves the last tab and unsaved edits.
|
|
- Shared tokens: Existing tab controls, icons, focus, and theme tokens. No style or color changes.
|
|
- Local overrides: None added.
|
|
- Evidence: Type checks and 268 unit tests pass. The tab browser check passes for button, middle-click, shortcut, and Close all.
|
|
- Evidence: The browser check also covers mixed tabs, pinned tabs, plugin tabs, and Cancel with unsaved edits.
|
|
- Evidence files: .audit/secondary-last-tab-cancel.png and .audit/compact-tabs-{width}-{theme}.png.
|
|
- Limits: Desktop calls use browser mocks. Native window closure and active terminal confirmation still need desktop acceptance.
|
|
|
|
### UI-040 — Nested lists and one editor for Write and Source
|
|
|
|
- Type: Rule change
|
|
- Date: 2026-10-28
|
|
- Status: Implemented for user review
|
|
- Decision source: Cards 088e778b and 696c30ce, and the approved Phase 4 plan of 2026-10-28.
|
|
- Previous rule: Tab in a list item added indentation and kept the number. Write indented by 2 spaces, and the IDE view by 2 spaces in Monaco.
|
|
- New rule: Tab in a list item makes a nested item, and Shift+Tab moves it one level up. Both renumber the list.
|
|
- New rule: Nested ordered lists show decimal numbers at level 1, letters at level 2, and Roman numerals at level 3 in Write and Read. The Markdown source keeps the numbers, for example `1.`.
|
|
- New rule: The indent is a fixed 4 spaces in Write and Source, with no setting.
|
|
- New rule: Write and Source are two configurations of one CodeMirror state. They share the undo history.
|
|
- Reason: Lists behave as in common word processors. One editor removes the Monaco model bridge and its timers.
|
|
- Scope: Markdown documents in Write and Source, and all source files.
|
|
- Shared implementation: DocumentEditor.svelte, markdownLists.ts, liveMarkdown.ts, sourceView.ts, codeLanguages.ts, editorStates.ts, and the `.reading ol ol` styles in reading.css.
|
|
- Exceptions: An empty nested item cannot start a list inside a paragraph in CommonMark. Write labels it, and Read shows it as text until the item has text.
|
|
- Evidence: editor/listNesting.smoke.mjs covers Tab, Shift+Tab, labels, Read letters, the shared history, and the 4-space indent in both themes at 1440 and 600 pixels.
|
|
- Evidence files: output/smoke/editor/listNesting/.
|
|
- Replaces / replaced by: None.
|
|
- Limits: Source has no minimap, no command palette, and no bracket pair colors. Browser checks use desktop service mocks. Native desktop acceptance remains open.
|