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
You will be working on the categories page! You will be importing the dropdown and spreadsheet components from components/NameDropdown.tsx and components/CategoriesSpreadsheet.tsx (which you will create as part of this ticket). Then you'll also use some other html elements to build the basis of this page so we can later populate it! Right now, this will be how the page will look when it is first landed on. The user will be able to choose an option on the dropdown so that they can see the category-specific info they want - but that's a later step :)
TODO
Move this ticket to the In Progress column
Get updated with the codebase (git checkout dev, git pull, create a new branch by git checkout -b [branchname] as per README, npm install to update your dependencies, npm run dev)
Create and open categories/page.tsx
Play around with the Figma design (click picture below to go to the associated page)
Observe that the spreadsheet is empty til a category is chosen.
Add the title in
Import and add the dropdown (components/NameDropdown.tsx) in
Create dummy data to pass to this dropdown before the return (you can look at other parts of the code that use NameDropdown for reference)
Add the "Add Category" button
This button will not have any functionality when clicked
Add styling for when it is hovered over (slightly darken the color)
Create components/CategoriesSpreadsheet.tsx and import it to categories/page.tsx
Refer to the code in inventory/page.tsx to see how you can send in dummy data as a parameter, where they sent it to components/InventorySpreadsheet.tsx. Current dummy data will be empty so that the spreadsheet is not populated.
Refer to the code in components/InventorySpreadsheet.tsx and Figma designs to create the empty form of the spreadsheet
Add the "Select a category." text in the center - this will only be shown if a category is not selected in the dropdown, so use a boolean variable to represent this information (check out the state and && resources below)
create a PR for this ticket
add yourselves as assignees and Jiyoon as the reviewer to the PR
move this ticket to the Ready for Review column
Helpful Resources
About the font/boldness: In your tailwind styling, you can use: crimson-bold, crimson-semibold, crimson-regular, as Jiyoon pre-set in our globals.css. You can also just customize the thickness yourself - up to you!
!!! DUE DEC 10TH !!!
Purpose
You will be working on the categories page! You will be importing the dropdown and spreadsheet components from
components/NameDropdown.tsx
andcomponents/CategoriesSpreadsheet.tsx
(which you will create as part of this ticket). Then you'll also use some other html elements to build the basis of this page so we can later populate it! Right now, this will be how the page will look when it is first landed on. The user will be able to choose an option on the dropdown so that they can see the category-specific info they want - but that's a later step :)TODO
git checkout dev
,git pull
,create a new branch by git checkout -b [branchname]
as per README,npm install
to update your dependencies,npm run dev
)categories/page.tsx
components/NameDropdown.tsx
) incomponents/CategoriesSpreadsheet.tsx
and import it tocategories/page.tsx
inventory/page.tsx
to see how you can send in dummy data as a parameter, where they sent it tocomponents/InventorySpreadsheet.tsx
. Current dummy data will be empty so that the spreadsheet is not populated.components/InventorySpreadsheet.tsx
and Figma designs to create the empty form of the spreadsheetHelpful Resources
About the font/boldness: In your tailwind styling, you can use: crimson-bold, crimson-semibold, crimson-regular, as Jiyoon pre-set in our globals.css. You can also just customize the thickness yourself - up to you!
Pictures (click to get to its figma)
The text was updated successfully, but these errors were encountered: