Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sessioncard component #23

Open
artifactdev opened this issue Nov 7, 2019 · 1 comment
Open

Sessioncard component #23

artifactdev opened this issue Nov 7, 2019 · 1 comment
Assignees
Labels
Component Component specific Ticket feature WIP This issue is still work in progress

Comments

@artifactdev
Copy link
Collaborator

artifactdev commented Nov 7, 2019

We need a sessioncard component which can accept at least 5 types for different colors which will be linked to tracks or the sessionroom. The card should always display a favouriteicon which can be clicked / tapped to mark it as a users favourite session. When type equals "pause" an pause icon should be rendered into the sessioncard.

** Inputs **

  • sessionId : string -> needed for favouritefunction & link to sessiondetails
  • favourite : boolean -> should it display the favourite icon
  • linkToSession : boolean -> should the card link to session details page
  • title : string
  • speaker : string
  • isFavourite : boolean
  • type : string -> types should be defined in a seperate enum which hold the typeStrings
  • timeSlot : string -> optional if session has a timeslot

Interface can look like this:

sessionItem {
  sessionId : string; 
  favourite : boolean; 
  linkToSession : boolean;
  title : string;
  speaker : string;
  type : string; 
  isFavourite: boolean;
  location: string;
  timeSlot ?: string;
}

Specification: https://preview.uxpin.com/79b7c537cb52f9fccac338745f1f743da468ae2e#/pages/120250315/specification/sitemap
Usage: https://preview.uxpin.com/79b7c537cb52f9fccac338745f1f743da468ae2e#/pages/120250330/specification/sitemap

@artifactdev artifactdev added feature Component Component specific Ticket labels Nov 7, 2019
@artifactdev artifactdev added this to the Create extended components milestone Nov 7, 2019
artifactdev added a commit that referenced this issue Jan 19, 2020
@artifactdev artifactdev self-assigned this Jan 19, 2020
@artifactdev
Copy link
Collaborator Author

I keep this Ticket open since we need to implement the favouritService functionality to it once its there.

@artifactdev artifactdev added the WIP This issue is still work in progress label Jan 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component Component specific Ticket feature WIP This issue is still work in progress
Projects
None yet
Development

No branches or pull requests

1 participant