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

Metadata component #241

Open
5 tasks done
justin-b-yee opened this issue Nov 5, 2024 · 0 comments · May be fixed by #293
Open
5 tasks done

Metadata component #241

justin-b-yee opened this issue Nov 5, 2024 · 0 comments · May be fixed by #293
Assignees
Labels

Comments

@justin-b-yee
Copy link
Contributor

justin-b-yee commented Nov 5, 2024

Specs

<Metadata
    title = '',
    child = null,
    data = [],
/>
// data prop takes objects with { label: 'Created' , value: // some date or other info }

data: [ {label: "Created", value: "Sep 16, 2024"},
           {label: "Last Access":  "Jan 29, 2023"},
         ]

Tasks

  • Render the child component at the top.
  • Display the section title and the key-value pairs from the data in two-column format.

Create stories for these cases:

  • Metadata component with a QuestionBox child and 3 rows of data
  • Same as above, but with 5 rows of data
  • No child component provided

Figma

Image

@justin-b-yee justin-b-yee converted this from a draft issue Nov 5, 2024
@ddfridley ddfridley moved this from Draft to In Progress in EnCiv Cross Repo Project Management Dec 16, 2024
@ddfridley ddfridley moved this from In Progress to Todo in EnCiv Cross Repo Project Management Jan 6, 2025
@MingyiXu11 MingyiXu11 self-assigned this Jan 24, 2025
@MingyiXu11 MingyiXu11 moved this from Todo to In Progress in EnCiv Cross Repo Project Management Jan 24, 2025
@ddfridley ddfridley moved this from In Progress to Todo in EnCiv Cross Repo Project Management Mar 17, 2025
@justin-b-yee justin-b-yee self-assigned this Mar 19, 2025
@justin-b-yee justin-b-yee moved this from Todo to In Progress in EnCiv Cross Repo Project Management Mar 19, 2025
@justin-b-yee justin-b-yee linked a pull request Mar 19, 2025 that will close this issue
@justin-b-yee justin-b-yee moved this from In Progress to Ready for Review in EnCiv Cross Repo Project Management Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Ready for Review
Development

Successfully merging a pull request may close this issue.

2 participants