-
Notifications
You must be signed in to change notification settings - Fork 36
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
Ensure Correct COT Selection in QB When Sharing Formatters #6252
base: production
Are you sure you want to change the base?
Conversation
Triggered by fed7786 on branch refs/heads/issue-5503
Triggered by db695a6 on branch refs/heads/issue-5503
specifyweb/frontend/js_src/lib/components/QueryBuilder/Formatter.tsx
Outdated
Show resolved
Hide resolved
specifyweb/frontend/js_src/lib/components/QueryBuilder/Formatter.tsx
Outdated
Show resolved
Hide resolved
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 like your approach. Functionally your code looks good, just pointing out some minor code smells.
Triggered by a9e9de4 on branch refs/heads/issue-5503
Good point, I've added some helpers to separate the logic and hopefully make it a little more intuitive. Let me know if you think this looks better! |
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.
Looks good, nice work!
specifyweb/frontend/js_src/lib/components/QueryBuilder/Formatter.tsx
Outdated
Show resolved
Hide resolved
…er.tsx Co-authored-by: Sharad S <[email protected]>
Fixes #5503
Checklist
self-explanatory (or properly documented)
Testing instructions
Any
toEqual