UCLALibrary / ucla-library-website-components

This is a library of Vue components that will be used in UCLA Library Nuxt websites.
Other
6 stars 1 forks source link

Component Request - FTVA Horizontal Card #598

Open tinuola opened 3 months ago

tinuola commented 3 months ago

Component Description

This component is used on the FTVA Event Series Detail and Event Listing pages to display a list of events. The component will be assembled using FTVA variants of the following default/existing components:

Note: Per discussion with UX team, grouping events by date can be deferred for future enhancement; for now, each event item is displayed on a separate row.

Design

Specs & Annotations

Event Series Details

event-series-detail_desktop

event-series-details_mobile

Event Listing

event-listing_desktop

event-listing_mobile

Slots

None

Relevant Props

Developer Tips/Notes

  1. Create FTVA variant for BlockClippedDate to display the event date in a new div/column
    • card metadata for Event Listing page includes the series title/category(?); for Event Detail, this is omitted
    • in Mobile display, date column is hidden; but date should then display with event time and with a diamond icon as a separator
    • Some parsing and "logicking" of the event time/date prop is very likely required (on desktop, only show the time; on mobile, show date and time)?
  2. FTVA variant for SectionTeaserList excludes the See More/See Less toggle and renders all available items by default
    • Pagination for the list (for FTVA) has been deferred
  3. Create FTVA stories for BlockClippedDate, SectionTeaserList
  4. Event tags have isActive class that can be applied when events are filtered on the Event Listing page

Events

None

Child/Related Components

  1. BlockTag (FTVA) -> used in CardMeta (FTVA) -> used in BlockClippedDate (FTVA)
  2. BlockClippedDate (FTVA) -> used in SectionTeaserList (FTVA)