-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Page Description
This Page is used on the FTVA site to display site search results. There are 3 variants for this page:
When a search is performed, it returns some results and an aggregation with pagination. Next, when a search is performed, there are no results, no aggregation, no pagination, and no number of pages. Last, the tablet and mobile view will hide the filters on the page and use the FilterDropDown component.
There is no craft content type for this template
Design
Please also see attached screenshots for quick reference.
- Desktop: https://www.figma.com/design/L8e1czKo8a8px368ayyPZ4/-FTVA--Final-Design-with-Annotations?node-id=993-9382&p=f&t=fDA7OR58CeMwv1XX-0
- Mobile: https://www.figma.com/design/L8e1czKo8a8px368ayyPZ4/-FTVA--Final-Design-with-Annotations?node-id=8662-4898&t=fDA7OR58CeMwv1XX-0
If no mobile designs provided, please use your best judgment for responsiveness.
Jira Epic
Route
This route link pages/search.vue will be created in the Nuxt pages folder.
ES Query
- There will be a change to update the index mapping when the index is created, just like the library website recent search improvement work link
- There will be a new composable that queries paginated site search results with aggregation data for the filters from the Elastic search index.
- The query will sort by title or posted Date, check how this affects the default sort by score or relevancy when both title and score are sorted on
- The query will be similar to a library website site search query with ftva-related changes
Developer Tips
- The page will be a 2-column layout, but won't use the TwoColumnLayout component; this will be built into the page. Single column layout for no search results variation of this template
- There is a breadcrumb to go to the home page
- Style NavSearch on the page to change the styles on the button and other styles like background color.
- The Filter Results section will use BlockTag pills and will be clickable with NuxtLinks and hover styles will be added on the page.
- When the filters are selected, the ES search query is executed with filters.
- There will be a sortby SingleDropDown component with the following values: title(a-z), title(z-a), publication date(asc), publication date(desc).
- BlockTag with dark background will be used to display text like from ES results json
8 of 10 Results
the dark mode style will be added on the page look at this example - Use SectionStaffArticleList wrapped in SectionWrapper.
- Use SectionPagination on the desktop view
- Starting from tablet view, the filters will be moved in a dropdown using the filterdropdown component before the sortby dropdown, and both will function as a drawer when clicked.
- In the mobile view enable infinite scroll.
- Finally, there is a ftva call to action at the bottom of results when results are found.
- When there are no results only show the text and catalog link in one column layout centered and no call to action.
Filter Results:
Update each template to index a new field called groupName to merge different sectionhandle into one group:
- Articles (Articles)
- Collections (Collection, Collection Story, LA Rebellion Individual, LA Rebellion Filmmakers single, Explore Collections single, Motion Picture Collections single, Television Colletions single, Watch and Listen Online single)
- Events (Events and Listing Page)
- Series (Series and Listing Page)
- General Content (ARSC single, Billy wilder single, Homepage, IMCS single, general content pages)
The filter items will not have count when not selected when selected we will show the count
Child components
NavBreadcrumb
is used for breadcrumbs.NavSearch
is used forthe search input and button.BlockTag
for filters under Filter Results section and the Total result text.SectionRemoveSearchFilters
for Tablet and Mobile screens after the filters are selected.DropDownFilters
for Tablet and Mobile screens ,this will replace Filter Results section in Tablet and Mobile Screens.SectionStaffArticleListing
for show the search results listing with image, URI, sectionhandle, description and dates for events, event series, article content type, No dates for other content types.SectionPagination
for prev next pagination linksBlockCallToAction
for Not Finding what you are looking for.RichText
for No Search Results found textButtonLink
for UC Library Catalog link.## Screenshots







