The "Move Page" action in the admin page list currently uses a native browser prompt() where the destination folder has to be typed by hand (web/admin/assets/pages.js, window.movePage).
The prompt previously dumped the full folder list into its message as a typing aid. That list has been removed — the folder tree is already visible in the left sidebar — so the dialog is now a plain text input.
Enhancement
Replace the prompt() with a proper modal that lets the user pick the destination folder from a clickable list (or a <select>), instead of typing a path. This removes the typo risk and makes the feature discoverable.
- The admin already bundles
bootstrap-show-modal, which can be used for the dialog.
- The folder list is already available client-side:
pages.php passes allFolders (from PageTreeHelper::collectFolders()) into pages.js.
Follow-up to removing the inline folder list from the prompt.
The "Move Page" action in the admin page list currently uses a native browser
prompt()where the destination folder has to be typed by hand (web/admin/assets/pages.js,window.movePage).The prompt previously dumped the full folder list into its message as a typing aid. That list has been removed — the folder tree is already visible in the left sidebar — so the dialog is now a plain text input.
Enhancement
Replace the
prompt()with a proper modal that lets the user pick the destination folder from a clickable list (or a<select>), instead of typing a path. This removes the typo risk and makes the feature discoverable.bootstrap-show-modal, which can be used for the dialog.pages.phppassesallFolders(fromPageTreeHelper::collectFolders()) intopages.js.Follow-up to removing the inline folder list from the prompt.