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
Once multiple entry-point pids are supported (#95), the current "new record" UI — a single button plus a <select> dropdown of target directories — scales poorly. This proposes a dedicated record creation wizard, modelled on the "Create new page" wizard introduced in TYPO3 v14: a modal showing a reduced page tree (root pages + the configured storage folders), where clicking a target redirects straight to the new-record edit form.
This is a follow-up to #95 (multiple pids). It only becomes meaningful once more than one entry point can be configured.
Reference: TYPO3 v14 "Create new page" wizard
v14 ships a stepped modal ("Select a position for the new page", step 1 of 4) that renders a trimmed page tree — site root pages with their relevant children — and lets the editor click a position. We want the equivalent for records: a reduced tree showing the root pages of each accessible site and the configured storages (the resolved getRecordSources() from #95), each clickable as a creation target.
Motivation
With multiple pids across multiple sites, a flat <select> dropdown (Resources/Public/JavaScript/recordlist-doc-new-record.js) is hard to scan — identical folder names across mandants, no hierarchy, no context.
A reduced page tree gives spatial context (which site, which branch) and matches the mental model editors already know from the v14 page wizard.
Summary
Once multiple entry-point pids are supported (#95), the current "new record" UI — a single button plus a
<select>dropdown of target directories — scales poorly. This proposes a dedicated record creation wizard, modelled on the "Create new page" wizard introduced in TYPO3 v14: a modal showing a reduced page tree (root pages + the configured storage folders), where clicking a target redirects straight to the new-record edit form.This is a follow-up to #95 (multiple pids). It only becomes meaningful once more than one entry point can be configured.
Reference: TYPO3 v14 "Create new page" wizard
v14 ships a stepped modal ("Select a position for the new page", step 1 of 4) that renders a trimmed page tree — site root pages with their relevant children — and lets the editor click a position. We want the equivalent for records: a reduced tree showing the root pages of each accessible site and the configured storages (the resolved
getRecordSources()from #95), each clickable as a creation target.Motivation
<select>dropdown (Resources/Public/JavaScript/recordlist-doc-new-record.js) is hard to scan — identical folder names across mandants, no hierarchy, no context.Proposed behaviour
getRecordSources()), not the full subtree.readPageAccess, PAGE_SHOW) and site access already resolved in Support multiple entry-point pids (with subpages) across sites for record aggregation #95.Where it lives (current code)
addNewButtonToModuleTemplate()(Classes/Controller/AbstractBackendController.php:1912).Resources/Public/JavaScript/recordlist-doc-new-record.js(currently builds a<select>from.new-record-in-page.hiddenelements).getRecordSources()(to be introduced in Support multiple entry-point pids (with subpages) across sites for record aggregation #95).Open questions
PageTreeRepositoryfor rendering, or build a purpose-trimmed tree?^13.4)?Acceptance criteria
Follow-up to #95. Depends on multiple-pid support landing first.