michael-s-molina opened a new pull request, #24555:
URL: https://github.com/apache/superset/pull/24555

   ### SUMMARY
   Fixes a bug where the metric name is truncated when displayed in the 
tooltip. This creates a problem because the metric name might already be 
truncated in the control and the user wishes to see its full name. Now the 
tooltip will only truncate when it surpasses the max number of lines defined by 
the `Tooltip` component.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   <img width="301" alt="Screenshot 2023-06-29 at 14 29 27" 
src="https://github.com/apache/superset/assets/70410625/6924e5b4-4bca-4bab-97d0-c48666072696";>
   <img width="307" alt="Screenshot 2023-06-29 at 14 26 30" 
src="https://github.com/apache/superset/assets/70410625/5bd3c0bb-4c8e-4025-b78f-360012e46d05";>
   
   ### TESTING INSTRUCTIONS
   Make sure metric names are displayed without truncation in the tooltip if 
under the Tooltip max lines limit.
   
   ### ADDITIONAL INFORMATION
   - [ ] Has associated issue:
   - [ ] Required feature flags:
   - [ ] Changes UI
   - [ ] Includes DB Migration (follow approval process in 
[SIP-59](https://github.com/apache/superset/issues/13351))
     - [ ] Migration is atomic, supports rollback & is backwards-compatible
     - [ ] Confirm DB migration upgrade and downgrade tested
     - [ ] Runtime estimates and downtime expectations provided
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to