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

implement pagination in Media Picker #18441

Merged
merged 2 commits into from
Feb 25, 2025

Conversation

madsrasmussen
Copy link
Contributor

@madsrasmussen madsrasmussen commented Feb 24, 2025

Fixes #18388

This PR implements pagination in the Media Picker.

I had to introduce a map to remember the last visited page for each visited folder. This was to keep a good UX when navigating into a folder and back again. This way, the user ends on the same page as before they navigated into the folder.

What to test:

  • Test that pagination works across different folders

@madsrasmussen madsrasmussen marked this pull request as ready for review February 24, 2025 16:25
@madsrasmussen madsrasmussen changed the title implement pagination for media picker implement pagination in Media Picker Feb 24, 2025
@nielslyngsoe nielslyngsoe merged commit 492eb63 into v15/dev Feb 25, 2025
23 checks passed
@nielslyngsoe nielslyngsoe deleted the v15/bugfix/media-picker-pagination branch February 25, 2025 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants