-
Notifications
You must be signed in to change notification settings - Fork 65
Open
Description
Problem
On https://console.redhat.com/, Learning Resource tile/card descriptions get truncated after 78 characters and not 115 as stated in the contributing guide
- Learning Resource cards need to fit a decent-sized meaningful description. There are at least 50 characters of white unused space.
- A pop-up to display the full descriptions is needed, as per other Red Hat and IBM pages with cards and tiles.
Example
The Learning Resources contributor guide states that the description must be less than 114 characters:
Impact
- Poor user experience.
- The truncated text disappears and is not visible on the console portal.
- Takes a lot longer for writer to develop content for Learning Resources.
- More JIRAs to fix long descriptions and troubleshoot, e.g. Fix truncated descriptions on Learning Resource cards for Red Hat Insights #288
- The quickstart contributor guide in this repo (readme.md) needs to be updated with accurate guidelines (I can do this, once the actual limit is confirmed).
Steps to reproduce the problem
- Open the a yml file of a Quickstart or learning resource: For example: https://github.com/RedHatInsights/quickstarts/blob/main/docs/quickstarts/insights-assess-vulnerabilities/insights-assess-vulnerabilities.yml
- Add a description that's less than 115 characters:
description: Monitor and analyze security on your RHEL system. Prioritize and remediate CVEs by deploying Ansible Playbooks. - Follow the process to merge and push to staging.
Result:
The card description gets truncated after 78 characters, as follows:

The truncation isn't consistent. Sometimes it happens after the 80th or 85th character. It depends on the size of the characters used in the description.