Added a message about a known bug.

This commit is contained in:
Lucid Kobold
2022-06-24 09:56:48 -05:00
parent 7b36b040e5
commit 6a0863faf3
6 changed files with 20 additions and 15 deletions

View File

@@ -135,8 +135,8 @@ const Day = ({
: tutorial === "edit" && : tutorial === "edit" &&
!isToday && !isToday &&
isBefore(currDateObj, endOfDay(currDate)) isBefore(currDateObj, endOfDay(currDate))
? "gray.600" ? "gray.600"
: "transparent" : "transparent"
: "transparent" : "transparent"
} }
border={ border={
@@ -146,8 +146,8 @@ const Day = ({
: tutorial === "edit" && : tutorial === "edit" &&
!isToday && !isToday &&
isBefore(currDateObj, endOfDay(currDate)) isBefore(currDateObj, endOfDay(currDate))
? "1px solid #00ff3c" ? "1px solid #00ff3c"
: "1px solid #0068ff" : "1px solid #0068ff"
: "1px solid #0068ff" : "1px solid #0068ff"
} }
onClick={() => { onClick={() => {
@@ -168,8 +168,8 @@ const Day = ({
: tutorial === "edit" && : tutorial === "edit" &&
!isToday && !isToday &&
isBefore(currDateObj, endOfDay(currDate)) isBefore(currDateObj, endOfDay(currDate))
? "gray.600" ? "gray.600"
: "transparent" : "transparent"
: "transparent", : "transparent",
border: "1px solid #FFF" border: "1px solid #FFF"
}} }}

View File

@@ -151,7 +151,7 @@ const Calender = ({
id.length id.length
? id ? id
: format(toDateObj, "yyyyddLL") + : format(toDateObj, "yyyyddLL") +
`/${sticker === null ? 0 : sticker}` `/${sticker === null ? 0 : sticker}`
} }
/> />
); );

View File

@@ -175,7 +175,7 @@ const CalenderExample = ({
id.length id.length
? id ? id
: format(toDateObj, "yyyyddLL") + : format(toDateObj, "yyyyddLL") +
`/${sticker === null ? 0 : sticker}` `/${sticker === null ? 0 : sticker}`
} }
/> />
); );
@@ -190,12 +190,17 @@ const CalenderExample = ({
alignItems="center" alignItems="center"
spacing={2} spacing={2}
> >
<Text> <Text fontSize="sm" color="whiteAlpha.800">
{ {
"Not being able to edit within this tutorial when the current date is the start of the month is a known bug." "Not being able to edit within this tutorial when the current date is the start of the week or month is a known bug."
} }
</Text> </Text>
<Text>{"This bug will be fixed in beta v2."}</Text> <Text fontSize="sm" color="whiteAlpha.800">
{"This bug will be fixed in beta v2."}
</Text>
<Text fontSize="sm" color="whiteAlpha.800">
{"You can skip the tutorial and try again tomorrow."}
</Text>
</VStack> </VStack>
)} )}
</VStack> </VStack>

View File

@@ -36,7 +36,7 @@ const TutorialCalender = ({ isLoading }: CalenderExampleProps): JSX.Element => {
justifyContent="center" justifyContent="center"
spacing={1} spacing={1}
> >
<Text>{"Select the date with a"}</Text> <Text>{"Select the date with the"}</Text>
<Text color="#00ff3c">{" green "}</Text> <Text color="#00ff3c">{" green "}</Text>
<Text>{"border."}</Text> <Text>{"border."}</Text>
</HStack> </HStack>

View File

@@ -45,7 +45,7 @@ const buttonStyles = {
fontSize: "xl", fontSize: "xl",
py: 3, py: 3,
px: 4, px: 4,
color: "gray.400", color: "whiteAlpha.800",
_hover: { _hover: {
bg: mode(whiten("brand.danger", 20), darken("brand.danger", 20))(props), bg: mode(whiten("brand.danger", 20), darken("brand.danger", 20))(props),
color: "whiteAlpha.900" color: "whiteAlpha.900"

View File

@@ -84,8 +84,8 @@ const Header = (): JSX.Element => {
open open
? "brand.main" ? "brand.main"
: transparentNavbar : transparentNavbar
? "rgba(49, 56, 220, 0.9)" ? "rgba(49, 56, 220, 0.9)"
: "brand.main" : "brand.main"
} }
transition=".5s ease" transition=".5s ease"
borderRadius="0px 0px 10px 10px" borderRadius="0px 0px 10px 10px"