n8n/packages
Bernhard Wittmann a70071a8eb
spike: prove multi-page navigation after an action, no dedicated redirect mechanism
Answers: how does a workflow tell the app where to redirect? It doesn't
need a dedicated mechanism - it's just a JSON field on the response
(redirectTo), read by generated frontend code that calls React Router's
navigate(). The run-workflow endpoint from the previous commit already
carries this with no changes.

What hadn't been tested: does an actual multi-route app navigate
correctly once built and served this way. Built a 2-route react-router-dom
app (list page + /success) and confirmed both:
- client-side navigation after an action's redirectTo, no page reload
- direct/hard navigation to the same sub-path, via the static-serving
  route's existing index.html fallback (no new code needed)

Also fixed a bug in the spike's own test app (not the platform): the
run-endpoint nests output by node name (data.Code[0]...), and an early
version of the action handler read redirectTo off the wrong level.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-07 23:09:23 +02:00
..
@n8n spike: prove multi-page navigation after an action, no dedicated redirect mechanism 2026-09-07 23:09:23 +02:00
cli spike: prove the real bound-execution transport (PageContext/@n8n/app-sdk), not the webhook shortcut 2026-09-07 22:55:35 +02:00
core feat(core): Store signing deployment keys in the same wrapped form as data-encryption keys (#37953) 2026-09-07 18:21:34 +00:00
extensions/insights 🚀 Release 2.37.0 (#36986) 2026-08-25 07:32:14 +00:00
frontend fix(editor): Restore Instance AI draft when thread creation fails (#37874) 2026-09-07 17:56:50 +00:00
modules refactor(editor): Make the otel module descriptor import-light (no-changelog) (#37768) 2026-09-04 19:48:22 +00:00
node-dev feat(core): Add encryption usage guardrails (no-changelog) (#37728) 2026-09-04 19:24:29 +00:00
nodes-base feat: Add node output schemas harvested from test files (no-changelog) (#37846) 2026-09-07 16:36:41 +00:00
testing feat(core): Add encryption usage guardrails (no-changelog) (#37728) 2026-09-04 19:24:29 +00:00
workflow feat(core): Make chat trigger OAuth2 identity pipeline unconditional (#37942) 2026-09-07 13:19:34 +00:00