lovasoa / SQLpage

SQL-only webapp builder, empowering data analysts to build websites and applications quickly
https://sql.ophir.dev
MIT License
880 stars 62 forks source link

Add Tooltip Property for Icon in DataGrid Component #425

Closed amrutadotorg closed 1 week ago

amrutadotorg commented 1 week ago

I would like to request the addition of a tooltip feature that displays when the cursor is hovered over an icon within the card component.

Use Case In my specific use case, the text might be in draft mode, and I need to provide users with additional context or instructions. For example, I want to inform users to be extra careful while reading the transcript.

Proposed Solution Implement a tooltip that appears when the user hovers over the icon. The tooltip should be customizable, allowing developers to specify the tooltip text according to their needs.

Example When a user hovers over an icon, a tooltip should appear with a message like "Draft mode: Please review carefully."

Screenshot 2024-06-19 at 05 03 11

lovasoa commented 1 week ago

Good feature! Do you think the tooltip should appear only on the icon? It would probably be more logical to have a tooltip over the entire element.

Pull request welcome!

amrutadotorg commented 1 week ago

great idea, so it will be a top-level parameter