You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Surface detail: option for a wider modal (or a generic record page) for detail-heavy records #70
Use case. A feature plugin on a multisite network registers a minn_admin_surfaces view for study groups. Each group's detail (detail.sectionsRoute, plain grouped layout) carries:
a short header: code, note, date added
a progress section with one kv-table per book (studied, started, finished, last studied)
a set of URLs per book: a view-only link (type: url) and a private leader link (type: code, for the copy button)
The URLs are long (https://site/bible-discovery/book-guides/<book>/?group=K7M#leader=<32 hex>). In the current modal width they wrap onto two or three lines, and with several books the modal turns into a long scroll of narrow columns. At about twice the width, each link fits on one line and the stats tables read at a glance.
What's missing. A plugin can't affect the modal's width, which makes sense given that rendering is Minn's. The only full-page detail views are family-specific: entry pages for forms and the booking layout for bookings. Joining either family would put this surface in the wrong switcher and use a layout built for another kind of record. By the guide's own "Pages versus modals" test these records sit in between. They're glance-shaped, but dense.
Possible shapes (whichever fits Minn's direction):
A detail.size hint (e.g. "wide") that Minn maps to its own wider modal width, still entirely Minn's rendering.
A generic record page for any surface, e.g. collection.open: { page: true }, rendering the same sectionsRoute model full-width at /{surface}/{id}, the way Orders has both a page and Quick view.
Option 1 alone would cover this case.
Environment: Minn Admin 0.48.0, WordPress 7.1, multisite. Descriptor excerpt:
Clicking a group then opens it at /{surface}/{id} instead of the modal, built from your existing sectionsRoute:
Each section is a card across the full width.
Your per-book tables sit side by side.
Links stay on one line.
The note field sits underneath with Save.
Prev/next steps through the list, and the URL can be shared.
One addition for your detail response: include the row as your list returns it, under an item key. Someone opening a group from a link won't have the list loaded, and that's what fills the note field. Without it, the page still shows the group but leaves out the edit form so nothing gets blanked. The details are in the "Record pages" section of docs/for-plugin-authors.md.
This will ship in v0.50.0.
Here's a build to try before the release: minn-admin-0.50.0-dev-2763685.zip. Upload it under Plugins → Add New → Upload Plugin and choose "Replace current with uploaded". On multisite, do this from the Network Admin. Your site will update to v0.50.0 normally when it ships.
Activity
austinginder commentedon Nov 13, 2026
Thanks for the detailed write-up and the screenshot. I went with your second shape: records can now open as full pages.
Add
'page' => trueto your collection'sdetail:Clicking a group then opens it at
/{surface}/{id}instead of the modal, built from your existingsectionsRoute:One addition for your detail response: include the row as your list returns it, under an
itemkey. Someone opening a group from a link won't have the list loaded, and that's what fills the note field. Without it, the page still shows the group but leaves out the edit form so nothing gets blanked. The details are in the "Record pages" section ofdocs/for-plugin-authors.md.This will ship in v0.50.0.
Here's a build to try before the release: minn-admin-0.50.0-dev-2763685.zip. Upload it under Plugins → Add New → Upload Plugin and choose "Replace current with uploaded". On multisite, do this from the Network Admin. Your site will update to v0.50.0 normally when it ships.