Improve editor, plugin updates, and window transfers for 0.1.41
This commit is contained in:
@@ -423,6 +423,16 @@ Correction: prose links and editor controls use the shared tooltip helper. The t
|
||||
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
|
||||
@@ -560,3 +570,174 @@ Replaced by: [UI-024](#ui-024--assertive-functional-color-by-default) strengthen
|
||||
- Evidence: scripts/appearanceLanguage.smoke.mjs, scripts/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. `scripts/hostAppearance.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.
|
||||
|
||||
Reference in New Issue
Block a user