Commit Graph
5 Commits
Author SHA1 Message Date
eggfriedrice a33cc8c758 fix: diff panel unclosable after retainSearchParams middleware (#937) 2026-03-12 10:44:16 -07:00
Julius Marminge c2b9680a5e buuuunch of cleanup 2026-02-26 13:20:36 -08:00
Julius Marminge d8412eca9f error component 2026-02-19 18:42:39 -08:00
Cursor Agent 842e327583 Extract stripDiffSearchParams helper to deduplicate diff param stripping logic
Consolidate the repeated pattern of destructuring and removing diff/diffTurnId/diffFilePath
search params into a single stripDiffSearchParams() function in diffRouteSearch.ts.
Replaces 5 identical destructuring blocks across 3 files with calls to the shared helper.

Applied via @cursor push command
2026-02-19 23:36:12 +00:00
Julius Marminge cc3e1db22a Drive diff panel state from route search params
- Parse and validate `diff`, `diffTurnId`, and `diffFilePath` from chat route search
- Switch ChatView/DiffPanel diff open/target actions to router navigation instead of store actions
- Remove diff-specific state/actions from the app store and update reducer tests
2026-02-19 01:47:48 -08:00