Skip to content
Snippets Groups Projects

Truncate the project description when it is long in the CI/CD Catalog

What does this MR do and why?

Truncate the resource description when it is too long in the CI/CD Catalog.

Screenshots or screen recordings

Before After

before.png

Mobile

before-mobile.png

after.png

Mobile

after-mobile.mov

How to set up and validate locally

  1. Create a CI/CD component and publish it in the CI/CD catalog.
  2. Give the projects a long description (over 260 characters long).
  3. Navigate to <gitlab_domain>/explore/catalog.
  4. Review the result:
    1. Resource description should be truncated.
    2. Hidden on the mobile view.

Related to #448385 (closed)

Edited by 🤖 GitLab Bot 🤖

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
Please register or sign in to reply
Loading