refactor: migrate index + settings routes to Svelte (Phase 4)#70
Merged
Conversation
This was referenced Jun 13, 2026
Closed
Hrt-Htk
referenced
this pull request
in Hrt-Htk/pi-web
Jun 13, 2026
Three specs (x7 browsers = 21 failures) were red on main; none are product regressions: - index.spec "groups cards by sanitized project path": the index now defaults to the timeline layout, so switch to the projects layout before asserting .project-group (stale since PR #70). - issue13-tristate: PR #28 wrapped tool calls in a collapsed <details class="actions-group">, so expand it before asserting the nested .tool-output.expandable is visible (stale since #28). - overview-flow-observe: an assertion-free real-pi diagnostic that throws under the stub. Rename to *.real.spec.ts and add testIgnore to the stub config so it only runs under playwright-real.config.ts. Also remove leftover new-session investigation debris (the two [ChatComposer] onMount console.logs and docs/debug/issue-6-debug-log.md); that bug was fixed and verified in e8cc9eb. Closes #35 Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
SessionsPagenow drives the list, cards, header, home menu, and new-session/projects modals via components, replacing the legacyweb/src/index/index.js+sessions-page.jsruntime (now reduced to puresessions.jshelpers).AppearanceSettings,LanguageSettings,NotificationSettings, etc.) and the command palette/version modal into sharedCommandPalette.svelte+VersionController.svelte, retiringsettings.js,session-list-palette.js, and the JS version-modal code.LoadEarlier.svelteand absorb the chat-preview/live glue intoLiveReload.svelte, removing the standaloneload-earlier.jsandchat-preview.jsmodules.Testing