Plugin app-page frame is rebuilt on every in-page navigation #2
Labels
No labels
area/api
area/auth
area/files
area/infra
area/mail
area/provisioning
area/testing
area/ui
kind
bug
kind
chore
kind
decision
kind
docs
kind
epic
kind
feature
kind
security
priority
high
priority
low
priority
medium
status/blocked
status/needs-decision
status/upstreamable
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
konbi/konbi-bulwark#2
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
app/(main)/[locale]/apps/[[...segments]]/page.tsxrenders PluginPageApp, and Next.js re-creates that page for each new path, so everyapi.ui.openPagedestroys and rebuilds the plugin iframe (the plugin restarts: config, secrets, data).Fix (branch
konbi/plugin-page-keep-frame,6630ab1f9): render PluginPageApp fromapps/layout.tsx(PluginPagesHost, path from usePathname); the page returns null. Frame kept, path arrives as thepathprop. Running on dev askonbi-bulwark:1.21.2-konbi1.To do: send upstream, then return to the official image.
Ticket cleanup, 2026-11-30. Fixed in our fork, on
mainwith 1.22.0. Left: offer it upstream (not sent).