Use SVG for tooltip icon#1924
Conversation
WalkthroughThe updates implement a new method, Changes
Sequence Diagram(s)sequenceDiagram
participant User
participant View
participant FrmAppHelper
User->>View: Request settings page
View->>FrmAppHelper: Call tooltip_icon(tooltip_text, attributes)
FrmAppHelper-->>View: Return tooltip HTML
View-->>User: Render page with tooltips
Recent review detailsConfiguration used: CodeRabbit UI Files selected for processing (1)
Files skipped from review as they are similar to previous changes (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configuration File (
|
|
@Crabcyborg Do you think it's worth adding a helper function? In other plugins, we will need to check if it exists. |
|
@truongwp I think a helper function would be great. As long as we get Lite out first before the other plugins it shouldn't be too much of an issue to not include tooltips when Lite is not up-to-date. |
Crabcyborg
left a comment
There was a problem hiding this comment.
This looks great!
Thank you so much Truong!
🥳
Related issue: https://github.com/Strategy11/formidable-pro/issues/5250