-
Notifications
You must be signed in to change notification settings - Fork 432
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
fix(core): boolean value in search shows actual value #7623
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
WorkspaceProvider, | ||
} from '../../src/core' | ||
import {studioDefaultLocaleResources} from '../../src/core/i18n/bundles/studio' | ||
import {LocaleProviderBase} from '../../src/core/i18n/components/LocaleProvider' |
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.
For some reason the test was failing without this change. I think this probably has to do with some circular dependency somewhere and it's better to avoid barrel imports
No changes to documentation |
@@ -88,6 +88,7 @@ | |||
"test": "run-s test:vitest test:jest", | |||
"test:jest": "jest --forceExit", | |||
"test:vitest": "vitest --run", | |||
"test:vitest:watch": "vitest --watch", |
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.
Added a watch command, let me know if y'all are not a fan
Component Testing Report Updated Oct 15, 2024 10:17 PM (UTC) ✅ All Tests Passed -- expand for details
|
⚡️ Editor Performance ReportUpdated Tue, 15 Oct 2024 22:19:38 GMT
Detailed information🏠 Reference resultThe performance result of
🧪 Experiment resultThe performance result of this branch
📚 Glossary
|
packages/sanity/src/core/studio/components/navbar/search/components/common/FilterLabel.tsx
Outdated
Show resolved
Hide resolved
* next: fix(core): boolean value in search shows actual value (#7623) v3.61.0
Description
Fixes issue where boolean values were not showing the proper value in search. See issue #7608
What to review
Changes makes sense
Testing
I have added unit tests for the boolean case and basic tests covering the FilterLabel component's responsibilities
Notes for release