Kent Yao created SPARK-55779:
--------------------------------

             Summary: Add Scala helper for inline tooltip markup in Spark UI 
pages
                 Key: SPARK-55779
                 URL: https://issues.apache.org/jira/browse/SPARK-55779
             Project: Spark
          Issue Type: Sub-task
          Components: Web UI
    Affects Versions: 4.2.0
            Reporter: Kent Yao


The Spark UI has ~26 inline tooltip declarations in Scala files that repeat the 
same HTML boilerplate:\n\n```scala\n<span data-bs-toggle="tooltip" 
data-bs-placement="top" title={text}>{content}</span>\n```\n\nWhile 
UIUtils.tooltip() exists, it wraps content in `<sup>(?)</sup>` which is only 
suitable for help icons. A more general helper like `tooltipSpan(content, text, 
placement)` would reduce boilerplate across PagedTable.scala, 
AllJobsPage.scala, JobPage.scala, StagePage.scala, and others.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to