Skip to content

web: browser history across console views and correct chat agent filtering - #684

Merged
BaaRai merged 3 commits into
mainfrom
land/web-history-2026-11-28
Nov 28, 2026
Merged

BaaRai merged 3 commits into
mainfrom
land/web-history-2026-11-28

Conversation

@BaaRai

@BaaRai BaaRai commented Nov 28, 2026

Copy link
Copy Markdown
Owner

Lands #641 rebased on current main, plus the chat filter fix for the report that a thread started with one agent could still be read after switching the filter to another agent.

Browser history (#641)

Page navigation is represented in query parameters (tab, view, c, path, and the inspector record parameters). A user action pushes a history entry, back and forward restore the view, and the native history API integrates with the Next router. A stable server snapshot keeps the static export working, and inspector payloads stay in memory rather than in the URL or browser storage. npm run test:navigation covers the history logic and runs in CI and scripts/verify.sh. Docs in docs/browser-navigation.md.

Chat agent filter

Switching the agent filter kept the previously selected conversation, so selected could point at a thread from another agent while the list showed the new filter. The selection is now cleared when it does not belong to the new filter, and DraftChat defaults to the filtered agent. Both helpers are covered by npm run test:chat-filter, now wired into CI.

Credits

@renaesop for #641, with authorship kept in the Co-authored-by trailer.

Verification

npx tsc --noEmit and the full web suite: polling, replay, upload, traffic-stream, sse, auth, tamper-hooks, i18n, bash, navigation and chat-filter. CI runs the same steps.

BaaRai and others added 3 commits November 28, 2026 23:43
)

Rebased on top of Lot 1 security stack (#660): keeps both test:sse and
test:navigation in web/package.json.

Co-authored-by: renaesop <njurjs@gmail.com>
… on filter change

Rebased on top of Lot 1 (#660) + #641: keeps test:sse, test:navigation, and
test:chat-filter in web/package.json.
@BaaRai
BaaRai merged commit 2e76861 into main Nov 28, 2026
8 checks passed
@BaaRai
BaaRai deleted the land/web-history-2026-11-28 branch November 28, 2026 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant