GitHub user dosubot[bot] added a comment to the discussion: hide nativefilter 
tooltip

<!-- Answer -->
There isn't a specific configuration option or setting in the codebase that 
allows you to directly disable tooltips for native filters. However, you can 
modify the code to achieve this. You would need to locate the component 
responsible for rendering the tooltips and adjust its logic to prevent the 
tooltip from being displayed.

The tooltip functionality for native filters is implemented in the codebase, 
and you can find relevant components and styles in the following files:

1. 
`superset-frontend/src/dashboard/components/nativeFilters/FilterCard/Styles.ts` 
- This file includes styled components like `TooltipList` and `TooltipTrigger` 
that define the appearance and behavior of tooltips 
<sup>[[1]](https://github.com/apache/superset/blob/master/superset-frontend/src/dashboard/components/nativeFilters/FilterCard/Styles.ts)</sup>.

2. `superset-frontend/cypress-base/cypress/e2e/dashboard/utils.ts` - This file 
contains utility functions like `checkNativeFilterTooltip` that are used to 
verify tooltip content 
<sup>[[2]](https://github.com/apache/superset/blob/master/superset-frontend/cypress-base/cypress/e2e/dashboard/utils.ts)</sup>.

To disable the tooltips, you can modify the logic in these components to 
conditionally render the tooltips based on a new prop or configuration setting 
that you introduce. This would involve editing the component to check for this 
new setting and skip rendering the tooltip if it's set to disable tooltips.


<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*

---
<sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/9ccbdc13-8a6a-4abf-b4f5-ef20525e17d2?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/9ccbdc13-8a6a-4abf-b4f5-ef20525e17d2?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/9ccbdc13-8a6a-4abf-b4f5-ef20525e17d2?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/9ccbdc13-8a6a-4abf-b4f5-ef20525e17d2?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/9ccbdc13-8a6a-4abf-b4f5-ef20525e17d2?feedback_type=hallucination)
 | [Bug 
Report](https://app.dosu.dev/response-feedback/9ccbdc13-8a6a-4abf-b4f5-ef20525e17d2?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/9ccbdc13-8a6a-4abf-b4f5-ef20525e17d2?feedback_type=other)</sup>


GitHub link: 
https://github.com/apache/superset/discussions/33078#discussioncomment-12788217

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: 
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to