Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Add a search template #320

Merged
merged 2 commits into from
Jan 4, 2022
Merged

Add a search template #320

merged 2 commits into from
Jan 4, 2022

Conversation

kjellr
Copy link
Collaborator

@kjellr kjellr commented Jan 4, 2022

Fixes #256

This PR adds a search template. It's exactly the same as our index template except it has a search field at the very top.

Before, the search results page had no header at all, and there was no context that explained what was searched for. It felt like a bug. This new field shows the current query, so it provides some helpful context, and also allows them to search again.

Before After
Screen Shot 2022-01-04 at 9 06 26 AM Screen Shot 2022-01-04 at 9 01 28 AM

@kjellr kjellr added the [Type] Bug Something isn't working label Jan 4, 2022
@kjellr kjellr self-assigned this Jan 4, 2022
Copy link

@danieldudzic danieldudzic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works great!

@kjellr
Copy link
Collaborator Author

kjellr commented Jan 4, 2022

Thanks @danieldudzic! After some second-guessing about the design, I've made the search field standard-width instead of full. But other than that this should be good to go. 👍

Screen Shot 2022-01-04 at 9 20 59 AM

@kjellr kjellr merged commit 3a75f59 into trunk Jan 4, 2022
@kjellr kjellr deleted the add/search-template branch January 4, 2022 15:12
@kjellr kjellr added this to the RC 2 milestone Jan 4, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
[Type] Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reconsider adding a search template
2 participants