You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This Page is used for all collection entry routes to display craft ftvacollection entry content model/type and the components from the component library.
The first iteration of requirements is captured here
@axamei will be adding the craft gql query to epic Header:
We already have the Header-sticky component added to the layout.
@pghorpade create a ticket to fix the header menu pushing down the page when opened, the behavior should be same as website , Acceptance Criteria: When the Header is not sticky, the NavPrimary menu will overlay just like when the header is sticky.
Bread Crumb:
Bread Crumb is Collections > Colelction title, clicking the Colelctions link takes the user to the All collections landing page/ listing page /collections
No nested routes for this content
ResponsiveImage:
We don't need Imagecrousel as the data for craft ftvacollection entry does not support it.
CreditText data not in Craft entry
TwoLayout Component
CardMeta:
Category label is always Collection, it is a string type that is hard coded on the page.
JenRhee does not want to show craft collection type field.
The collection title is shown after the category
share button
@pghorpade create a new ticket to fix share and dropdown calendar button component to not push the content down when dropdown is visible, Instead the interaction is when user clicks the button , the dropdown overlays.
This existing component is also used by FlexibleBlocks, so we don't want to change its default behaviour which is everything is centered and all the props appear as rows, For FTVA flexible call to action we want to keep this layout and only change the background color, color and text styles when the theme is ftva.
Add a prop named centered which has default value to true
When used as call to action slim block info for FTVA on this template as sidebar, the icon is default info icon and title appear next to each other, text will be richtext and will appear below the title.
We have prop isGlobal for library website and isMeapGlobal for meap. I would like to create a prop named globalType which can take string we could use typescript to define the enums like default, meap and ftva. We will keep the legacy props until we refactor those sites.
RichText
description craft field
VideoEmbed
videoembed field from craft
@axamei or Serena will add example of videoembed to figma.
DividerWayFinder
show Dividerwayfinder only if there is call to action component data exists
Slim Call To Action, will be full width in this location
This Call to action component variation is used as info block with full width.
Here we are showing only the icon and text. The text is richtext. The title is empty
The new centered prop is false
The icon and text are columns in the one row.
[JenRhee will add the section title]SectionTeaserCard
Query will fetch the related collection curated by the stakeholder , no limit on number of related collections
section title and view all URL will come from craft entry.
the URI title will be hard coded and will always be View All
Use SectionTeaserCard like on EventDetailPage and EventSeriesPage
Background color will be ucla blue for BlockCardWithImage, use ftva theme to add this.
How are these cards sorted or ordered? @axamei can you provide more details?
BlockCardWithImage will need, category always Collection, title, URI like /collections/slug, description
description mentioned above will be truncated , specs are in the design for truncation, CardMeta needs to be updated to support the truncation
Footer
We already have the footer component added to the layout.
Events
Describe any events that this page should handle.
No event handling on this page
Child components
NavBreadCrumb is used for BreadCrumb.
ResponsiveImage with credit slot if credit exists.
CardMeta with sharebutton slot and RichTextfor description is used for displaying Metadata of the Collection.
VideoEmbed
CallToAction
DividerWayFinder
CallToAction
SectionTeaserCard
Screenshots
Desktop:
Mobile:
The text was updated successfully, but these errors were encountered:
pghorpade
changed the title
Page Request - /collection/[slug].vue for FTVA Collection detail craft entry.
Page Request - /collection/[slug].vue for FTVA Collection detail craft entry. Draft
Sep 30, 2024
Page Description
This Page is used for all collection entry routes to display craft ftvacollection entry content model/type and the components from the component library.
The first iteration of requirements is captured here
CollectionDetail walk through: https://youtu.be/bDKXmu6vdEs?si=8ZfcuB1beOreFzf9
Link to the beginning of the Query:
Design
Please also see attached screenshots for quick reference.
If no mobile designs provided, please use your best judgment for responsiveness.
First Iteration of Requirements:
The route link to set up in the Nuxt pages folder is
pages/collections/index.vue
The route link to set up in the Nuxt pages folder is
pages/collections/[slug].vue
Craft entry https://craft.library.ucla.edu/admin/entries/ftvaCollection
@axamei will be adding the craft gql query to epic
Header:
Bread Crumb:
/collections
ResponsiveImage:
TwoLayout Component
CardMeta:
Call To Action Slim for side bar
centered
which has default value totrue
globalType
which can take string we could use typescript to define the enums like default, meap and ftva. We will keep the legacy props until we refactor those sites.RichText
VideoEmbed
DividerWayFinder
show Dividerwayfinder only if there is call to action component data exists
Slim Call To Action, will be full width in this location
[JenRhee will add the section title]SectionTeaserCard
view all URL
will come from craft entry.View All
Collection
, title, URI like/collections/slug
, descriptionFooter
Events
Describe any events that this page should handle.
Child components
NavBreadCrumb
is used for BreadCrumb.ResponsiveImage
with credit slot if credit exists.CardMeta
with sharebutton slot andRichText
for description is used for displaying Metadata of the Collection.VideoEmbed
CallToAction
DividerWayFinder
CallToAction
SectionTeaserCard
Screenshots
Desktop:
Mobile:
The text was updated successfully, but these errors were encountered: