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

Fixed folder contents issues with persistent selection #6554

Merged
merged 2 commits into from
Jan 3, 2025

Conversation

pnicolli
Copy link
Contributor

Closes #5209
Closes #5931

Reset the selection when navigating, when changing page and when sorting items.
The idea is basically to reset the selection when you could have selected items that are now shown on the page.

I left one case where this is possible, but I am open for discussion about it: since the default page size is 50, a user might want to filter the contents using the text filter in the top right corner to find items in a quicker way, while still keeping the multiselection. What do you think?

Copy link

netlify bot commented Dec 23, 2024

Deploy Preview for plone-components canceled.

Name Link
🔨 Latest commit e74abad
🔍 Latest deploy log https://app.netlify.com/sites/plone-components/deploys/67696c15071ce700085a695c

Copy link
Member

@davisagli davisagli left a comment

Choose a reason for hiding this comment

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

This is a nasty one -- I agree it's a bad bug to keep the selection without any UI indication that there are still items selected from a previous page. Let's fix that, and if we do need a way to select across multiple pages, let's handle that as a separate UX design discussion.

pnicolli added a commit to collective/volto-contents-next that referenced this pull request Dec 24, 2024
@ichim-david
Copy link
Member

Two reviews are already given from 2 different teams, I see no reason to delay the merging of this fix any longer.

@ichim-david ichim-david merged commit ede64b4 into main Jan 3, 2025
76 checks passed
@ichim-david ichim-david deleted the pnicolli-fix-contents-selection branch January 3, 2025 10:43
sneridagh added a commit that referenced this pull request Jan 10, 2025
* main:
  Slate Italian translations (#6563)
  Release 18.5.0
  Fix robots.txt in devmode (#6571)
  added swedish translation (#6557)
  Depth search issue (#6558)
  Block examples documentation (#6560)
  Fixed folder contents issues with persistent selection (#6554)
  Fix redirects to MDN responsive images (#6552)
  Bugfix remove query string inclusion in body class generation logic (#6547)
  Show related items (#4381)
  Update links to kitconcept.com
  Release 18.4.0
  Release @plone/components 3.0.1
  Release @plone/types 1.2.0
  Fix precedence of the quanta layer by adding a base layer for all the… (#6539)
  Add monorepo structure to the README (#6542)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants