Skip to content

fix: always show full list of linked CREs without truncation#908

Open
shreeshtripurwarcomp23-coder wants to merge 1 commit into
OWASP:mainfrom
shreeshtripurwarcomp23-coder:fix/cre-links-always-expanded
Open

fix: always show full list of linked CREs without truncation#908
shreeshtripurwarcomp23-coder wants to merge 1 commit into
OWASP:mainfrom
shreeshtripurwarcomp23-coder:fix/cre-links-always-expanded

Conversation

@shreeshtripurwarcomp23-coder
Copy link
Copy Markdown

@shreeshtripurwarcomp23-coder shreeshtripurwarcomp23-coder commented May 21, 2026

fixes #901

On CRE pages, lists of linked CREs were being collapsed to 5 items
with a "Show more" button. CRE lists are concise by design and
critical for navigation, so they should always be fully visible.

Example page affected: https://www.opencre.org/cre/636-660

Changes:

  • Skip truncation when all links in a group are CREs
  • Hide "Show more" button for CRE-only groups
  • Non-CRE links (Standards, Tools) still truncate as before
  • 13 unit tests added

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Do not collapse CREs

1 participant