Skip to content
Snippets Groups Projects

Add a description text field to environment details

What does this MR do and why?

This MR adds a markdown editor for the environment description. It is based on the backend and database changes from the related MR.

The markdown field is shown on the new and edit pages.
The rendered markup is then shown on the environment details page. We truncate the description to 3 lines (default) with the Read more button.

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.

Description Screenshot
Edit/new environment Screenshot_2024-09-24_at_19.22.33
Less than 3 lines Screenshot_2024-09-24_at_19.23.17
More than 3 lines Screenshot_2024-09-24_at_19.24.30
More than 3 lines Screenshot_2024-09-24_at_19.24.44

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Go to the project -> Operate -> Environments
  2. Create an environment.
  3. On the create form verify the description field.
  4. Save and verify how the description is rendered on the details page.
  5. Edit the environment and verify the changes.

Related to #450944 (closed)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Anna Vovchenko
  • Emily Bauman approved this merge request

    approved this merge request

  • Emily Bauman removed review request for @emilybauman

    removed review request for @emilybauman

  • approved this merge request

  • John Mason approved this merge request

    approved this merge request

  • John Mason removed review request for @johnmason

    removed review request for @johnmason

  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Please register or sign in to reply
    Loading