Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: introduce search result list layout options #1356

Merged
merged 9 commits into from
Feb 9, 2025

Conversation

oliverschwendener
Copy link
Owner

@oliverschwendener oliverschwendener commented Feb 8, 2025

This PR introduces a new "layout" option on the SearchResultList component. Currently available are "compact" (looks like the current search results) and "detailed" which has 2 lines of text per search result item. The first line represents the search result name and on the second line we can in the future show more details. Here is how it looks:

compact detailed
image image

This is a refactoring so we can easily add other search result list items in the future
@oliverschwendener oliverschwendener self-assigned this Feb 8, 2025
@oliverschwendener oliverschwendener changed the title feat: introduce compact search result list item feat: introduce search result list layout options Feb 9, 2025
@oliverschwendener oliverschwendener merged commit 1f604b7 into main Feb 9, 2025
3 checks passed
@oliverschwendener oliverschwendener deleted the compact-search-result-list-item branch February 9, 2025 17:57
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