- Server page: Configuration is a read view with an Edit popup; Update agent is a popup.
- frp config: the file shows read-only; Edit opens it in a popup with Restart, the two-factor
code and Save on the server (its confirmation unchanged).
- Ports & defaults: install defaults, port range and central IP as a read view with an Edit popup;
Mark as taken is a popup from the port list.
- Install page (/installs/[id]): Clear public key is a popup with the two-factor code; the notes
are a read view with an Edit popup; the page message is under the header.
- Invoice: always the read view; Edit (draft, approved) opens a popup, so Approve no longer needs
a save first. Void and Refund are popups instead of prompt().
- docs/POPUPS-PLAN.md done. Frontend only: no migration, no API changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Add server, Add customer, New install and Link existing open in popups (Modal from 2.14.0):
ask before discarding, error by the button; saving still opens the new page.
- Add server: the join command in the same popup; closing before Copy asks first (Modal's
`dirty` can now be the question to ask).
- Notices and Releases: one popup for new and edit (NoticeModal, ReleaseModal); the cards are read
views. Release sources: a table with Sync now and Use the defaults; Edit opens the rows and the
access token in a popup and saving syncs.
- One-off invoice on Billing is the OneOffInvoice popup with a church picker; NewInvoice goes and
/billing/invoices/new opens the popup (/billing?oneoff=1).
- These pages use PageMessage. Frontend only: no migration, no API changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- ReadCard, Field, Fields and ModalButtons move from components/customer/ReadCard.tsx into
components/ui.tsx, next to Modal, FormError and PageMessage.
- useSubmit moves from components/install/shared.ts into components/ui.tsx.
- The customer and install components import them from @/components/ui. No visible change.
- docs/POPUPS-PLAN.md: every inline add or edit left in the Hub, and the plan for 2.16.0 and 2.17.0.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>