Skip to content

Conversation

@GnaneshKunal
Copy link
Contributor

  • 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

- Add collapse
- Pin profile/explain info at bottom
- Add mouse scroll
- Add Zoom functionality
- Remove highlight colors
// timeStyles['color'] = 'red'
// } else if (timeInFloat > 24) {
// timeStyles['color'] = 'yellow'
// }
Copy link
Contributor

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, },
)
}
}}
Copy link
Contributor

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(
Copy link
Contributor

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
@GnaneshKunal GnaneshKunal merged commit 8c21aa2 into feature/RI-3726_profile_explain Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants