Skip to content

Add (configurable) suggestions for queryStr nodes#101

Open
jonathonherbert wants to merge 5 commits intojsh/pos-based-suggestionsfrom
jsh/suggestions-for-query-str
Open

Add (configurable) suggestions for queryStr nodes#101
jonathonherbert wants to merge 5 commits intojsh/pos-based-suggestionsfrom
jsh/suggestions-for-query-str

Conversation

@jonathonherbert
Copy link
Collaborator

@jonathonherbert jonathonherbert commented Nov 16, 2025

What does this change?

Adds the configuration option showTypeaheadForQueryStr to the Typeahead class, defaulting to false for backwards compatibility, which enables suggestions for queryStr positions that have a length greater than minCharsForQueryStrTypeahead (default 2):

queryStrTypeahead

How to test

Try typing partial keys directly into the editor — for example, ta or sect. You should see suggestions. Accepting them with Enter should create a chip with that key, and move you to value position.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 16, 2025

@github-actions
Copy link
Contributor

github-actions bot commented Nov 16, 2025

…selection position either side of a character to perform correctly), and adjust debug visualisation
…tion, add tests for queryStr typeahead, and fix tests
@jonathonherbert jonathonherbert force-pushed the jsh/suggestions-for-query-str branch from cd7c39c to 386a2df Compare November 16, 2025 15:59
@jonathonherbert jonathonherbert force-pushed the jsh/suggestions-for-query-str branch from 386a2df to 5c8dd11 Compare November 21, 2025 14:39
@jonathonherbert jonathonherbert added the feature Departmental tracking: work on a new feature label Nov 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Departmental tracking: work on a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant