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

View File

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

View File

@@ -175,7 +175,7 @@ const CalenderExample = ({
id.length
? id
: format(toDateObj, "yyyyddLL") +
`/${sticker === null ? 0 : sticker}`
`/${sticker === null ? 0 : sticker}`
}
/>
);
@@ -190,12 +190,17 @@ const CalenderExample = ({
alignItems="center"
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>{"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>

View File

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