-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Collections: Stop opening items in modals #20384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Collections: Stop opening items in modals #20384
Conversation
… v17/feature/stop-opening-modals-in-collections
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR focuses on removing the modal-based editing experience for collection items (Documents and Media) in Umbraco CMS v.17, aligning with the v.13 experience. Users will now stay in the main workspace rather than opening items in modal overlays, improving navigation context and user experience.
Key Changes:
- Modal removal: Collection items now open directly in workspaces instead of modal dialogs
- Path generation updates: Changed from local path building to absolute path generation for navigation
- Backend API updates: Updated property models and added new endpoint for segment options
- Test and validation updates: Updated validation messages and test helper version
Reviewed Changes
Copilot reviewed 84 out of 88 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| Frontend Collection Views | Removed modal workspace builders and updated path generation to use absolute paths |
| Backend API Types | Renamed SignModel to FlagModel and updated corresponding properties across response models |
| Test Files | Updated validation message references and Playwright test helper version |
| Infrastructure | Added regex optimizations, updated project configurations, and dependency versions |
Files not reviewed (3)
- src/Umbraco.Web.UI.Client/package-lock.json: Language not supported
- src/Umbraco.Web.UI.Login/package-lock.json: Language not supported
- tests/Umbraco.Tests.AcceptanceTest/package-lock.json: Language not supported
...ackages/documents/documents/collection/views/table/document-table-collection-view.element.ts
Outdated
Show resolved
Hide resolved
src/Umbraco.Web.UI.Client/src/packages/core/collection/default/collection-default.context.ts
Show resolved
Hide resolved
…tions # Conflicts: # src/Umbraco.Web.UI.Client/src/packages/core/tree/data/types.ts # src/Umbraco.Web.UI.Client/src/packages/documents/documents/collection/views/grid/document-grid-collection-view.element.ts
…lection/views/table/document-table-collection-view.element.ts Co-authored-by: Copilot <[email protected]>
Fixes #20251
From v.17, we will stop opening Items of a Collection in modals, aligning with the experience of v.13.
This enables users to stay in touch with their location in the Tree, easier spot where they are at and navgiate to the next item of interest.