Skip to content

Conversation

@joaocasr
Copy link

❤️ Thank you for your contribution!

Description

This PR introduces a collapsible/expandable description component (CollapsibleDescription) used in the record components (RecordsResultsListItem). This is an alternative to the static truncated description, and it presents a toggleable arrow UI element to show and collapse the text.
I noticed that on the Invenio search results page, users often need to navigate to the record details page just to read the full description. Now users can read full descriptions inline, improving discoverability and overall UX. I set up a local development environment to validate this change.
Below is a short video showing the final behavior:

invenio-pr1

I can extend this PR with tests and extended documentation depending on the maintainers’ feedback.
Thanks in advance for your time and feedback! ❤️

Checklist

Ticks in all boxes and 🟢 on all GitHub actions status checks are required to merge:

Frontend

Reminder

By using GitHub, you have already agreed to the GitHub’s Terms of Service including that:

  1. You license your contribution under the same terms as the current repository’s license.
  2. You agree that you have the right to license your contribution under the current repository’s license.

* NEW Adds a CollapsibleDescription component with a collapsible/expandable record description.

* BETTER Improves UX by allowing users to view full descriptions inline without navigating to the record detail page.

Signed-off-by: joaocasr <[email protected]>
* NEW Adds a CollapsibleDescription component with a collapsible/expandable record description.

* BETTER Improves UX by allowing users to view full descriptions inline without navigating to the record detail page.

Signed-off-by: joaocasr <[email protected]>
@joaocasr joaocasr changed the title Collapse and expand record description feat: collapse and expand record description Feb 12, 2026
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.

1 participant