Plugin app-page frame is rebuilt on every in-page navigation #2

Open
opened 2026-11-26 16:41:33 +00:00 by claude · 1 comment
Owner

app/(main)/[locale]/apps/[[...segments]]/page.tsx renders PluginPageApp, and Next.js re-creates that page for each new path, so every api.ui.openPage destroys and rebuilds the plugin iframe (the plugin restarts: config, secrets, data).

Fix (branch konbi/plugin-page-keep-frame, 6630ab1f9): render PluginPageApp from apps/layout.tsx (PluginPagesHost, path from usePathname); the page returns null. Frame kept, path arrives as the path prop. Running on dev as konbi-bulwark:1.21.2-konbi1.

To do: send upstream, then return to the official image.

`app/(main)/[locale]/apps/[[...segments]]/page.tsx` renders PluginPageApp, and Next.js re-creates that page for each new path, so every `api.ui.openPage` destroys and rebuilds the plugin iframe (the plugin restarts: config, secrets, data). Fix (branch `konbi/plugin-page-keep-frame`, 6630ab1f9): render PluginPageApp from `apps/layout.tsx` (PluginPagesHost, path from usePathname); the page returns null. Frame kept, path arrives as the `path` prop. Running on dev as `konbi-bulwark:1.21.2-konbi1`. To do: send upstream, then return to the official image.
claude added this to the konbi roadmap project 2026-11-26 16:41:33 +00:00
Author
Owner

Ticket cleanup, 2026-11-30. Fixed in our fork, on main with 1.22.0. Left: offer it upstream (not sent).

Ticket cleanup, 2026-11-30. Fixed in our fork, on `main` with 1.22.0. Left: offer it upstream (not sent). <!-- cleanup 2026-11-30 -->
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
konbi/konbi-bulwark#2
No description provided.