-
Notifications
You must be signed in to change notification settings - Fork 310
fix: json getKeyValues (useful for autocomplete) #1186
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
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🦋 Changeset detectedLatest commit: f8a9a1f The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 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 |
Stably Runner - Test Suite - 'Smoke Test'Test Suite Run Result: 🔴 Failure (1/4 tests failed) [dashboard] Failed Tests: This comment was generated from stably-runner-action |
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.
nice - v clean :)
); | ||
const searchKeys = useMemo( | ||
() => (searchField ? [mergePath(searchField.path, jsonColumns)] : []), | ||
() => (searchField ? [mergePath(searchField.path, jsonColumns ?? [])] : []), |
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.
I think we want to skip calling mergePath
unless we have jsonColumns
loaded right? Otherwise we might mistakenly treat JSON columns as non-JSON due to a race condition with loading the JSON column list.
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.
Hmm that's a good call! updated
) This reverts commit d60d920. Commit breaks dashboards with: <img width="1179" height="779" alt="image" src="https://github.com/user-attachments/assets/bcb05f7a-6787-4a39-859f-92e6f6ffbe9e" />
Ref HDX-2034