refactor(web): shared reducer slices; useReducer for the function pages (#603)

Rebased onto origin/main (becc47a) keeping URL query state (useQueryState /
useRecordHistory from #641) as the single source of truth across all six
function pages (assets, commands, findings, llm-records, traffic, workspace):
each reducer initializes from and resynchronizes with the URL (including
back/forward), and handlers write to the URL then dispatch.

Preserves all existing web test scripts and wires test:reducers into CI and
scripts/verify.sh.

Co-authored-by: sisantaChhatoi <sisantachhatoi@gmail.com>
This commit is contained in:
BaaRai 2026-11-29 00:39:37 +01:00
parent becc47a58f
commit 759802d41e
33 changed files with 3376 additions and 1032 deletions

View file

@ -220,6 +220,7 @@ jobs:
- run: npm run test:chat-filter
- run: npm run test:bash
- run: npm run test:openai-compatible
- run: npm run test:reducers
- run: npm run build:static
python: