-
Notifications
You must be signed in to change notification settings - Fork 55
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
Feature: Link Picker modal refactor #2477
Conversation
to remove the `:` suffix (from all languages)
Swaps the inline trees with input pickers. Makes use of `<umb-property-layout>` component. + plenty of TLC in the UI/UX!
e.g. folders are not selectable
As it is widely supported: https://developer.mozilla.org/en-US/docs/Web/API/URL/parse_static#browser_compatibility
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.
It looks great!
I have a few minor UX tweaks for consistency. Firstly, we can remove the "Edit" action on the reference list items since we can already click on the name to achieve the same result. Additionally, we should follow the same convention inside the link picker modal when a document is selected. We should remove the "Open" action and make it possible to click the name.
as the `uui-ref-node` link title will open the edit modal. Refactored, so that the `uui-action-bar` isn't rendered in `readonly` mode.
as the `uui-ref-node` link title will open the edit workspace modal (if configured). Refactored, so that the `uui-action-bar` isn't rendered in `readonly` mode.
Thanks @madsrasmussen! Changes made...
|
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.
🥳
Description
A refactoring of the Link Picker modal UI.
Fixes and new features include...
hideTarget
flaguui-ref-node
component<umb-property-layout>
component for UI consistencyFixes umbraco/Umbraco-CMS#16838
Fixes umbraco/Umbraco-CMS#16596
Fixes umbraco/Umbraco-CMS#17016
Types of changes
How to test?
Test using either the Multi-URL Picker, TinyMCE or Tiptap editors. Can you add external links, pick a document or media item? Add, edit existing data, etc.
Screenshots (if appropriate)
Recording.2024-10-22.181543.mp4