Skip to content

Conversation

@thekevinbrown
Copy link
Member

@thekevinbrown thekevinbrown commented Aug 28, 2025

This PR adds:

  • Infinite scroll with pagination to relationship fields and filters.
  • If you configure your relationship fields to be substring searchable, then the relationship fields and filters will allow users to type a search query. This is sent to the backend with a like or ilike %${query}% depending on whether you've set it to case insensitive or not. To make this performant it's recommended to use trigram indexes on these fields, or to only enable on small datasets.

This should resolve issues loading large amounts of related data in the dropdowns for relationships and gives developers more options to customise the admin UI for large datasets.

In addition, while working on this I resolved the following:

  • End to End tests were using the latest version of MikroORM because the version is just "6" in the peer dependencies. The latest version of Mikro is breaking things for us, and users shouldn't get the absolute latest version of Mikro out of the box unless we've tested it. Our generated project now uses the exact version we used in CI to test, so we know they'll get a working experience out of the box at least. If they then upgrade to a more recent version and that breaks things, that's cool, we will work on fixing it, but at least that's not their out of the box experience.
  • Fixed two breaking end-to-end tests around the combobox.

@netlify
Copy link

netlify bot commented Aug 28, 2025

Deploy Preview for graphweaver-storybook ready!

Name Link
🔨 Latest commit 1e383ef
🔍 Latest deploy log https://app.netlify.com/projects/graphweaver-storybook/deploys/68b149b064d27000084021ed
😎 Deploy Preview https://deploy-preview-1964--graphweaver-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions
Copy link

github-actions bot commented Aug 28, 2025

If you work at Exogee, you can find more information about this pull request in JIRA.


JIRA Issue: CURV2-613

@sonarqubecloud
Copy link

@thekevinbrown thekevinbrown merged commit 7012e1c into main Aug 29, 2025
21 of 22 checks passed
@thekevinbrown thekevinbrown deleted the CURV2-613-Admin-Filters-Infinite-Scroll branch August 29, 2025 06:57
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