From 8486761274c2417dc4eaa3e5c8bb4cbe8000cdd7 Mon Sep 17 00:00:00 2001 From: Jeffrey Smith Date: Fri, 27 Mar 2026 13:48:40 +0000 Subject: [PATCH] Update ROADMAP and CHANGELOG for v0.2.5 additional work Add entries for welcome surface, user default surface preference, admin UserMenu, dead settings removal, and default surface routing. Co-Authored-By: Claude Opus 4.6 (1M context) --- CHANGELOG.md | 45 +++++++++++++++++++++++++++++---------------- ROADMAP.md | 11 +++++++---- 2 files changed, 36 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6d3e3e2..73c6027 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,33 @@ All notable changes to Switchboard Core are documented here. ## [Unreleased] — v0.2.5 +### Added + +- **Welcome surface**: New core surface shown when no extensions are installed. + Displays topbar + welcome card with "Go to Packages" link for admins. + Replaces `/admin` as the final fallback, breaking the back-button loop. +- **User default surface**: Users can set a personal landing page in + Settings > General, overriding the admin-configured global default. +- **UserMenu in admin topbar**: Replaced Back button with UserMenu, + providing consistent surface navigation and eliminating infinite loops. +- **Package manifest icons**: Added emoji icons to hello-dashboard, + icd-test-runner, sdk-test-runner, and team-activity-log manifests. +- **PoC documentation**: README.md for tasks and schedules packages + documenting Proof of Concept status and graduation criteria. + +### Changed + +- **Default surface resolution**: Priority chain is now + user preference → global config → first extension → `/welcome`. +- **User settings General section**: Replaced dead chat fields (Default + Model, System Prompt, Max Tokens, Temperature, Show Thinking) with + a Default Surface dropdown. +- **Admin settings**: Removed dead chat sections (System Prompt, Default + Model, Policies, Web Search, Auto-Compaction, Memory Extraction). +- Updated bus doc examples and test labels from `chat.*` to `workflow.*`. +- Renamed `channel-` prefixed test paths to `test-` in storage tests. +- Updated doc comments throughout to remove references to gutted surfaces. + ### Removed - **~500 lines of dead CSS**: Orphaned classes for gutted chat, channel, @@ -19,24 +46,10 @@ All notable changes to Switchboard Core are documented here. `sw-notes-pane.css`, `chat.css`. Orphaned `chat-pane.html` component. - **Vestigial guards**: `"chat"` surface checks in `IsSurfaceEnabled()` and `DisablePackage()` (chat is no longer a surface). +- **Dead settings UI**: Chat defaults from user settings, System Prompt / + Default Model / Policies / Web Search / Compaction / Memory from admin. - Unused `fmt.Sprintf` references in team stores. -### Changed - -- **Settings heading**: "Chat Defaults" renamed to "Defaults" in user settings. -- Guard `sw.api.models.enabled()` call to prevent crash when no providers - are configured. -- Updated bus doc examples and test labels from `chat.*` to `workflow.*`. -- Renamed `channel-` prefixed test paths to `test-` in storage tests. -- Updated doc comments throughout to remove references to gutted surfaces. - -### Added - -- **Package manifest icons**: Added emoji icons to hello-dashboard, icd-test-runner, - sdk-test-runner, and team-activity-log manifests. -- **PoC documentation**: README.md for tasks and schedules packages documenting - Proof of Concept status and graduation criteria. - --- ## [Unreleased] — v0.2.4 diff --git a/ROADMAP.md b/ROADMAP.md index f5167c1..ae2ee76 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -81,10 +81,13 @@ SDK stabilization, and the first rebuilt extension (tasks). | Step | Status | Description | |------|--------|-------------| -| UI bug pass | ✅ | Reviewed admin, settings, login surfaces in light/dark themes. Fixed settings crash (models API undefined when no providers). Renamed vestigial "Chat Defaults" heading. | -| Dead code sweep | ✅ | Removed ~500 lines: orphaned CSS (chat, channel, project, notes, editor-chat, sidebar, router-picker), dead Go types (Grant, CompositeModelKey, NoteGraph*), stale event code (chat.typing/channel.typing), unused test helpers (seed_helpers.go), vestigial fmt.Sprintf references. | -| Template cleanup | ✅ | Removed stale CSS link tags (sw-chat-pane.css, sw-notes-pane.css, chat.css) from base.html and workflow.html. Deleted orphaned chat-pane.html component template. Updated doc comments. | -| Package proof-of-concept status | ✅ | Created README.md for tasks + schedules packages documenting PoC status and graduation criteria. Added missing icon fields to 4 package manifests. | +| UI bug pass | ✅ | Reviewed admin, settings, login, welcome surfaces in light/dark themes. Fixed settings crash (models API undefined). Removed dead chat settings from both user and admin settings. | +| Dead code sweep | ✅ | Removed ~700 lines: orphaned CSS, dead Go types, stale event code, unused test helpers, dead settings UI (chat defaults, system prompt, default model, policies, web search, compaction, memory). | +| Template cleanup | ✅ | Removed stale CSS link tags and orphaned chat-pane.html. Updated doc comments throughout. | +| Package proof-of-concept status | ✅ | Created README.md for tasks + schedules with graduation criteria. Added missing manifest icons. | +| Welcome surface | ✅ | New fallback surface when no extensions installed. Topbar + welcome card with admin link. Replaces `/admin` as final redirect target. | +| Default surface routing | ✅ | Resolution chain: user preference → global config → first extension → `/welcome`. Users can set personal default in Settings > General. Admin sets global default in Admin > Settings. | +| Admin navigation | ✅ | Replaced Back button with UserMenu in admin topbar. Eliminates back-button infinite loop. | ### v0.2.6 — Workflow Architecture