The quick-edit is in charge of selecting templates, content-types, apps and also in charge of the installation dialog when no app/types have been installed.
Open-Close Behavior
This is mostly controlled in the in-page dialog.
- When an existing component is on a page, it doesn't auto-open
- When a new app is added (and no un-initialized parts or on the page) it auto-opens
- When a new content is added (and no uninit...) it auto-opens
- If I visit the page again it auto-opens
- When i actively close a dialog it doesn't directly auto-open (but will again later)
- ...
Basic Content Behavior
- Shows all content-types and relevant templates
- New: nothing selected
- Select type - switches to templates-tab
- Select type - if it's a new or change-selection, the template get's reset and ajax loading happens
- Select template - ajax loading happens
- Go back to types-tab works, and selecting another type works too...
- ...but doesn't work if the content-block already has content (as that prevents type-switching)
Advanced Content Behavior
- If a template is hidden but it's the initial template, it is made visible so the user can see it's selected
- ...
Basic App Behavior
- ...
Basic Inner-Content Behavior
...
Content-Installer Behavior
- When content-types exist, it should never show
- If no content-types exist, it should always show
- Installing works - the full package, for the right 2sxc version
App-Installer Behavior
- When no apps are installed, it shoud auto-show
- If apps are installed, it should never show
- Only the correct apps are shown based on the 2sxc version
- Installing works, only the selected apps are installed
- The full installation with all recommended apps for this version works