User story
As a potential site user (LT, UA, EN) I should be able to search the information site-wide, so that my browsing experience would be better and I would find the information I need very quickly.
Acceptance criteria
- I should be able to reach search in every page in the header on all screen sizes;
- On wide screen I should see a search input field in the hero section;
- Header search CTA and hero search input should trigger a search field and a dropdown, add a darker background behind, so that user would be focused on his search;
- In focused search field with no input, provide most popular suggestions in the dropdown;
- If the user types something, suggest similar keywords, provide the results in the order which is provided in design. Add a category label and group results. Display the number of results in every category beside the category title;
- Input + dropdown should not be longer in height than the screen height;
- Add "Rodyti visus [all results #]" CTA at the bottom, which should link users to the results page;
- The last result in the dropdown should be faded (if there are more results) - indicate that there are more results found;
- Each result teaser in the dropdown should have a regular, hover and active state which is provided in design. Teaser should have a heading and a short copy which should be liminted - max 2 lines. Keyword should be highlighted. Event teaser should also have a date, city and time;
- Do not display past events;
- User should be able to remove the keyword from the input field by clicking "x" icon;
- User should be able to easily exit search by clicking close icon;
- SEARCH RESULTS PAGE. User should see a cover at the top of the page;
- SEARCH RESULTS PAGE. User should see breadcrumbs;
- SEARCH RESULTS PAGE. User should see his keyword;
- SEARCH RESULTS PAGE. User should see total number of results found;
- SEARCH RESULTS PAGE. User should see categories in tabs and should be able navigate (use existing component from https://suukraina.lt/patikimi-saltiniai#43d4081c-a902-577e-b572-4d8b528ef83d). Tabs should stick when scrolling, scroll to selected category (same working principle);
- SEARCH RESULTS PAGE. Also group results by category. Display categories, add # of results in the category;
- SEARCH RESULTS PAGE. Teasers should also have regular, hover and active states, event teaser should be different as provided in design;
- SEARCH RESULTS PAGE. When user clics "Aukojimas" category teaser, link user to organisation sigle page;
- SEARCH RESULTS PAGE. When user clics "Savanorystė" category teaser, link user to https://suukraina.lt/pagalba-ukrainai/savanoryste and scroll to the card, add a blue stroke on it in order to highligh;
- SEARCH RESULTS PAGE. When user clics "Informacija" category teaser, link user to https://suukraina.lt/ua/vazhlyva-informatsiia/mihratsiini-posluhy/. Relevant result should be expanded, scroll user to the result;
- SEARCH RESULTS PAGE. When user clics "Paslaugos" category teaser, link user to https://suukraina.lt/ua/poshuk-posluh/ and scroll to the card, add a blue stroke on it in order to highligh;
- SEARCH RESULTS PAGE. When user clics "Renginiai" category teaser, link user to original event page, open it in a new tab.
Design link https://www.figma.com/file/SbHEfVWgFSozSl1m5oJdmd/Suukraina.lt?node-id=2038%3A36324&t=DNVyW4VdYivmVf3Y-1
User story
As a potential site user (LT, UA, EN) I should be able to search the information site-wide, so that my browsing experience would be better and I would find the information I need very quickly.
Acceptance criteria
Design link https://www.figma.com/file/SbHEfVWgFSozSl1m5oJdmd/Suukraina.lt?node-id=2038%3A36324&t=DNVyW4VdYivmVf3Y-1