Fix `undefined` tooltip for `Toggle commit description` button
What does this MR do and why?
Contributes to #429317 (closed)
Problem
After first click on Toggle commit description
the tooltip displays
undefined
text.
Solution
Define collapse-title
and expand-title
to fix the problem.
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Create a commit with a description
- Find the commit in any of the overviews
- Press the "Toggle commit description" button
- See that the text is changed to "undefined"
Example project: https://gitlab.com/DaanHaitsma/undefined/-/blob/main/README.md
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Vasilii Iakliushin