Repository navigation
web: browser history across console views and correct chat agent filtering - #684
Merged
Merged
Conversation
) 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>
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.
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:navigationcovers the history logic and runs in CI andscripts/verify.sh. Docs indocs/browser-navigation.md.Chat agent filter
Switching the agent filter kept the previously selected conversation, so
selectedcould 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, andDraftChatdefaults to the filtered agent. Both helpers are covered bynpm run test:chat-filter, now wired into CI.Credits
@renaesop for #641, with authorship kept in the Co-authored-by trailer.
Verification
npx tsc --noEmitand the full web suite: polling, replay, upload, traffic-stream, sse, auth, tamper-hooks, i18n, bash, navigation and chat-filter. CI runs the same steps.