-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: Create scheduling Select Date Time page #51
Conversation
…e-kw into feat/select-date-time
Visit the preview URL for this PR (updated for commit b4273b8): https://community-fridge-kw--pr51-feat-select-date-tim-hv136pqn.web.app (expires Thu, 09 Dec 2021 21:41:54 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 |
<FormLabel>{label}</FormLabel> | ||
{helperText && <FormHelperText mb="1em">{helperText}</FormHelperText>} | ||
<FormLabel fontWeight="600">{label}</FormLabel> | ||
<FormHelperText fontSize="16px" color="black" marginBottom="20px"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not that I think black is going to change that much but could use black.100
since the hex in the design system is actually #171717
</VStack> | ||
<Spacer /> | ||
<Badge | ||
color={`${(colorMap as any)[schedule!.frequency]}.100`} | ||
backgroundColor={`${(colorMap as any)[schedule!.frequency]}.200`} | ||
backgroundColor={`${ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just curious but what is colorMap as any doing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's to map the frequency to the appropriate badge colour!
import { CalendarIcon, TimeIcon } from "@chakra-ui/icons"; | ||
import { | ||
Badge, | ||
Container, | ||
Divider, | ||
Flex, | ||
Grid, | ||
HStack, | ||
Modal, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can u delete this file? It was moved inside Calender folder by Akshay in his pr.
Notion ticket link
Scheduling Flow - Select Date and Time
Implementation description
Steps to test
Preferably, on the next page, do a
console.log(formValues)
and make sure all the formValues are correct.Screen.Recording.2021-12-01.at.9.35.53.PM.mov
What should reviewers focus on?
Checklist