yaooqinn opened a new pull request, #54622:
URL: https://github.com/apache/spark/pull/54622

   ### What changes were proposed in this pull request?
   
   Remove all `data-bs-placement="top"` attributes from tooltip markup across 
the Spark Web UI, including Scala files, JavaScript files, and HTML templates.
   
   ### Why are the changes needed?
   
   Bootstrap 5 Tooltip defaults to `top` placement (see [Bootstrap 
docs](https://getbootstrap.com/docs/5.3/components/tooltips/#options)), so 
explicitly setting `data-bs-placement="top"` is redundant. Removing it 
simplifies the HTML/JS markup without any behavioral change.
   
   ### Does this PR introduce _any_ user-facing change?
   
   No. Tooltip placement behavior remains identical since Bootstrap 5 already 
defaults to `top`.
   
   ### How was this patch tested?
   
   - `./dev/lint-js` — passed
   - `./dev/scalastyle` — passed
   - `./build/sbt 'core/testOnly org.apache.spark.ui.UIUtilsSuite'` — all 8 
tests passed
   
   ### Was this patch authored or co-authored using generative AI tooling?
   
   Yes, GitHub Copilot assisted with identifying and removing the redundant 
attributes.


-- 
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