Skip to content
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

Media Picker: only allow navigating to folders/media with children + other fixes #17617

Conversation

madsrasmussen
Copy link
Contributor

@madsrasmussen madsrasmussen commented Nov 22, 2024

Important

Merges after: #17623

This is an overhaul of the media picker to fix some general issues:

Fixes

  • Prevent the user from navigating into a media item that is not a folder or that doesn't have children
  • When an item is selected we enter a "selection mode" where it is faster to select items
  • Improved UX when searching inside a media item
  • Use the UmbMediaSearchProvider for searching instead of the media item repository
  • Prevent searching outside the configured start node
  • Handle start node in the breadcrumb

What to test

  • Select items
  • Navigate into folders
  • Navigate into items with children
  • Search from root
  • Search within an item/folder
  • Navigate with breadcrumb

@nielslyngsoe nielslyngsoe self-requested a review November 25, 2024 11:48
@nielslyngsoe nielslyngsoe self-assigned this Nov 25, 2024
@madsrasmussen madsrasmussen changed the title V15: bugfix: Prevent navigating to non folders/media without children in media picker V15: bugfix: Media Picker: only allow navigating to folders/media with children + other Nov 25, 2024
@madsrasmussen madsrasmussen changed the title V15: bugfix: Media Picker: only allow navigating to folders/media with children + other Bugfix: Media Picker: only allow navigating to folders/media with children + other Nov 25, 2024
@madsrasmussen madsrasmussen changed the title Bugfix: Media Picker: only allow navigating to folders/media with children + other Media Picker: only allow navigating to folders/media with children + other Nov 25, 2024
@madsrasmussen madsrasmussen changed the title Media Picker: only allow navigating to folders/media with children + other Media Picker: only allow navigating to folders/media with children + other fixes Nov 25, 2024
Copy link
Member

@nielslyngsoe nielslyngsoe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good off to test

@nielslyngsoe nielslyngsoe merged commit 16a5f8d into v15/dev Nov 25, 2024
19 checks passed
@nielslyngsoe nielslyngsoe deleted the v15/bugfix/prevent-navigating-to-non-folders-in-media-picker branch November 25, 2024 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants