-
Notifications
You must be signed in to change notification settings - Fork 16.6k
fix: d3 format for table #37454
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
base: master
Are you sure you want to change the base?
fix: d3 format for table #37454
Conversation
This reverts commit 35aaeb6.
✅ Deploy Preview for superset-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
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.
Code Review Agent Run #5daef7
Actionable Suggestions - 1
-
superset-frontend/src/explore/components/controls/ColumnConfigControl/constants.tsx - 1
- Inappropriate tokenSeparators for single select · Line 61-61
Review Details
-
Files reviewed - 2 · Commit Range:
19151d1..354dee8- superset-frontend/packages/superset-ui-chart-controls/src/types.ts
- superset-frontend/src/explore/components/controls/ColumnConfigControl/constants.tsx
-
Files skipped - 0
-
Tools
- Eslint (Linter) - ✔︎ Successful
- Whispers (Secret Scanner) - ✔︎ Successful
- Detect-secrets (Secret Scanner) - ✔︎ Successful
Bito Usage Guide
Commands
Type the following command in the pull request comment and save the comment.
-
/review- Manually triggers a full AI review. -
/pause- Pauses automatic reviews on this pull request. -
/resume- Resumes automatic reviews. -
/resolve- Marks all Bito-posted review comments as resolved. -
/abort- Cancels all in-progress reviews.
Refer to the documentation for additional commands.
Configuration
This repository uses Superset You can customize the agent settings here or contact your Bito workspace admin at evan@preset.io.
Documentation & Help
| creatable: true, | ||
| minWidth: '14em', | ||
| debounceDelay: 500, | ||
| tokenSeparators: ['\r\n', '\n', '\t', ';'], |
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.
The tokenSeparators property enables pasting multi-line text into this single-value select control, which can result in invalid D3 format strings containing newlines. Since the control expects a single string value and tokenSeparators are intended for multi-select scenarios, this should be removed to avoid potential incorrect input.
Code suggestion
Check the AI-generated fix before applying
- minWidth: '14em',
- debounceDelay: 500,
- tokenSeparators: ['\\r\\n', '\\n', '\\t', ';'],
- };
+ minWidth: '14em',
+ debounceDelay: 500,
+ };
Code Review Run #5daef7
Should Bito avoid suggestions like this for future reviews? (Manage Rules)
- Yes, avoid them
Code Review Agent Run #5c97efActionable Suggestions - 0Additional Suggestions - 1
Review Details
Bito Usage GuideCommands Type the following command in the pull request comment and save the comment.
Refer to the documentation for additional commands. Configuration This repository uses Documentation & Help |
SUMMARY
This PR fix #37038
By default, the comma is the separator for 'Select'.
This PR redefines the separator array, excluding the comma from it.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION