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

[5.x] Improved fieldtype search using keywords #11053

Merged
merged 12 commits into from
Nov 4, 2024
Merged

Conversation

jasonvarga
Copy link
Member

@jasonvarga jasonvarga commented Nov 4, 2024

This PR allows fieldtypes to define keywords that will be used in the selector.

For example, if you search for "rich text" or "gutenberg" you will now see Bard as a result.

Dictionaries can also define keywords and will get pulled in by the fieldtype. So for example searching "country" will show the dictionary fieldtype as a result.

This also updates Fuse.js to the latest version but I don't believe that's an issue as it's only used in core. It's not exposed to the public.

@jasonvarga jasonvarga changed the title [5.x] Fieldtype keywords [5.x] Improved fieldtype search using keywords Nov 4, 2024
@jasonvarga jasonvarga merged commit 495a3d9 into 5.x Nov 4, 2024
18 checks passed
@jasonvarga jasonvarga deleted the fieldtype-search branch November 4, 2024 20:16
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.

1 participant