-
Notifications
You must be signed in to change notification settings - Fork 333
fix: Multiline support for WHERE Input boxes #1208
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
Conversation
🦋 Changeset detectedLatest commit: 40e547c The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
8c61c33 to
7cee063
Compare
E2E Test Results✅ All tests passed • 25 passed • 3 skipped • 213s
|
| additionalSuggestions?: string[]; | ||
| queryHistoryType?: string; | ||
| parentRef?: HTMLElement | null; | ||
| allowMultiline?: boolean; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…yperdx into tom/multiline-inpurt-support
|
Tested this and it works really good! Nice job! |
# Summary This PR fixes a few bugs in the session search page: 1. Clicking ENTER now triggers a form submission on the session page for lucene conditions (SQL conditions already worked) 2. Clicking ENTER now triggers a form submission on the session side panel for both lucene and SQL conditions 3. The WHERE condition in the search sidebar is now interpreted in the correct `whereLanguage` instead of assuming lucene. Partially reverts #863, but I confirmed that the page-level search does not filter the sidepanel spans after this change. This PR also fixes the same issue (ENTER now submits forms) on the dashboard and services page. #1208 introduced the issue by preventing the ENTER event from bubbling up to the form when using `AutocompleteInput` / `SearchInputV2`. Closes HDX-2816 Closes HDX-2817 https://github.com/user-attachments/assets/b91bdb0f-e241-43c2-9854-88fbe43daec7

Closes: HDX-2427
Closes: HDX-1683
Also adds shift + enter support in these boxes to work within multilines