PRO-7902: As an editor, I want to create a piece from the chooser view in one click so it's faster to add new content to widgets#5020
Merged
Conversation
… pre-existing button: true support
… choosing pages or pieces for a relationship and the user chooses to create a new page or piece, the "save draft and preview" and "publish and view" options are no longer offered. This ensures that the user is able to complete the selection process. The page or piece can still be edited in context later.
Member
Author
|
This contains an unresolved merge conflict. Marking it draft. Stu is working on a merge that will point the way for how I should do this one as well. |
… automatically selected, as long as you have not already reached `max` for that relationship.
* main: (26 commits) more (#5207) adds permission.isAdmin (#5192) Skip string choices, disallow type change (#5203) Fix stylelint dependency conflict (#5199) oops old version number in main (#5201) just merging back the changelog (#5198) PRO-8758: soft-redirect and url encoding (#5191) Fix admin UI crashes (#5195) PRO-8756: monorepo workflows (#5179) PRO-8768: relative paths for the good operating systems (#5194) bump express-cache-on-demand to 1.0.4 (#5190) the video is no longer available, use apostrophecms channel video wit… (#5183) add changelog for pro-8751 (#5187) pro 8751 schema update (#5176) Pro 8761 i18n static tests (#5185) Pro 8756 monorepo switch (#5177) release 4.24.0 (#5173) PRO-8743: windows fix 2b: back off on the file:/// URLs for vite (#5169) add batch failure notifications (#5157) PRO-8735 PR take 2 (#5168) ...
* main: (26 commits) more (#5207) adds permission.isAdmin (#5192) Skip string choices, disallow type change (#5203) Fix stylelint dependency conflict (#5199) oops old version number in main (#5201) just merging back the changelog (#5198) PRO-8758: soft-redirect and url encoding (#5191) Fix admin UI crashes (#5195) PRO-8756: monorepo workflows (#5179) PRO-8768: relative paths for the good operating systems (#5194) bump express-cache-on-demand to 1.0.4 (#5190) the video is no longer available, use apostrophecms channel video wit… (#5183) add changelog for pro-8751 (#5187) pro 8751 schema update (#5176) Pro 8761 i18n static tests (#5185) Pro 8756 monorepo switch (#5177) release 4.24.0 (#5173) PRO-8743: windows fix 2b: back off on the file:/// URLs for vite (#5169) add batch failure notifications (#5157) PRO-8735 PR take 2 (#5168) ...
* pro-7902:
add hasChooserModal to modal store
haroun
previously approved these changes
Dec 18, 2025
Contributor
haroun
left a comment
There was a problem hiding this comment.
There is some clean up to do in the CHANGELOG I think
...s/apostrophe/modules/@apostrophecms/rich-text-widget/ui/apos/components/AposTiptapAnchor.vue
Outdated
Show resolved
Hide resolved
...s/apostrophe/modules/@apostrophecms/rich-text-widget/ui/apos/components/AposTiptapAnchor.vue
Outdated
Show resolved
Hide resolved
...trophe/modules/@apostrophecms/rich-text-widget/ui/apos/components/AposImageControlDialog.vue
Outdated
Show resolved
Hide resolved
...trophe/modules/@apostrophecms/rich-text-widget/ui/apos/components/AposImageControlDialog.vue
Outdated
Show resolved
Hide resolved
...trophe/modules/@apostrophecms/rich-text-widget/ui/apos/components/AposImageControlDialog.vue
Outdated
Show resolved
Hide resolved
packages/apostrophe/modules/@apostrophecms/piece-type/ui/apos/components/AposDocsManager.vue
Outdated
Show resolved
Hide resolved
packages/apostrophe/modules/@apostrophecms/ui/ui/apos/components/AposContextMenu.vue
Outdated
Show resolved
Hide resolved
packages/apostrophe/modules/@apostrophecms/ui/ui/apos/components/AposContextMenu.vue
Outdated
Show resolved
Hide resolved
packages/apostrophe/modules/@apostrophecms/ui/ui/apos/stores/modal.js
Outdated
Show resolved
Hide resolved
| // its modalEl | ||
| const manager = stack.value.find(c => c.modalEl === component.$el); | ||
| const topManager = stack.value.findLast(c => { | ||
| return (c.componentName || '').endsWith('Manager'); |
Contributor
There was a problem hiding this comment.
NOTE: There is no guarantee that the manager component ends up with Manager in the name but I don't see any other way to do it
haroun
approved these changes
Dec 23, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.