michael-s-molina edited a comment on pull request #18080: URL: https://github.com/apache/superset/pull/18080#issuecomment-1021435156
> > @zhaoyongjie One thing that I found weird was that when the text is not truncated and I hover a column, for example, I get the original column name but when the text is truncated I only get the verbose name. I was expecting to see both the original column name and the verbose name. This applies to both columns and metrics. > > Hi @michael-s-molina, If a column has a verbose name and it is **un-truncated,** it will show `column name`. if a column has a verbose name and it **truncated**, it will show `un-truncated verbose name` > > Currently, tooltip just show **verbose name** or **database column name**, not both. I think they are different information and both should be present. One thing is to see the original column name which is important and should always be visible. Another thing is to see the full truncated text which should display if the text gets truncated. Here's one example: - I have a column with the name `Job Location Preference According to the National Job Department ` - The original column name is `job_location_preference` As the name will get truncated, the tooltip would display: - verbose name: Job Location Preference According to the National Job Department - column name: job_location_preference -- 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]
