Skip to content

Fix `undefined` tooltip for `Toggle commit description` button

Vasilii Iakliushin requested to merge 429317_fix_undefined_tooltip into master

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
Screenshot_2023-10-30_at_10.36.34 Screenshot_2023-10-30_at_10.37.08

How to set up and validate locally

  1. Create a commit with a description
  2. Find the commit in any of the overviews
  3. Press the "Toggle commit description" button
  4. 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.

Edited by Vasilii Iakliushin

Merge request reports