Skip to content

Remove indentation logic to fix Objective child list

What does this MR do and why?

Objective child lists were misformatted due to the logic removed in this MR.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
Capture-2024-03-19-181511 Capture-2024-03-19-181537

How to set up and validate locally

  1. Create an objective in a project
  2. Add a child objective
  3. you should see that the child objective in the objective's "Child objectives and key results" panel has correct left-side padding and margin
  4. Add another child objective
  5. Add a child objective to one of the existing child objectives
  6. You should see that the Objective icon remains aligned for Objectives that are at the same level of nesting within the list

Related to #450917 (closed), #425467 (closed)

Edited by Chad Lavimoniere

Merge request reports