-
Couldn't load subscription status.
- Fork 410
[RI-4101] [Profile Plugin] Enhancements #1691
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
[RI-4101] [Profile Plugin] Enhancements #1691
Conversation
GnaneshKunal
commented
Feb 6, 2023
- Add collapse
- Pin profile/explain info at the bottom
- Add mouse scroll
- Add Zoom functionality
- Remove highlight colors
- Add a button on the query card which allows an ft.search command to run PROFILE/EXPLAIN
| // timeStyles['color'] = 'red' | ||
| // } else if (timeInFloat > 24) { | ||
| // timeStyles['color'] = 'yellow' | ||
| // } |
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.
could you please remove commented code everywhere
| { mode, results: resultsMode, clearEditor: false, }, | ||
| ) | ||
| } | ||
| }} |
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.
please move this function to separate one:
onQueryProfile={handleQueryProfile}
const handleQueryPrifile = (profileType: ProfileQueryType) => {...}
| onQueryProfile={(profileType: ProfileQueryType) => { | ||
| const profileQuery = generateProfileQueryForCommand(command, profileType) | ||
| if (profileQuery) { | ||
| return onQueryProfile( |
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.
no need to return
- Remove commented code - Define handle query profile as a separate func