Closed Angelk90 closed 2 years ago
Hi @ospfranco , why not show the General Widget only when necessary?
For example like this:
{(store.ui.track?.title !== null || !!store.ui.currentlyTrackedProject || !!store.ui.currentTemp) && ( <GeneralWidget style={tw`border-t w-full bg-white dark:bg-black bg-opacity-80 dark:bg-opacity-70 border-lightBorder dark:border-darkBorder`} /> )}
Same thing for the CalendarWidget too, if there are no events it would be correct not to show it.
{(store.ui.events.length > 0) && ( <CalendarWidget style={tw`border-t w-full bg-white dark:bg-black bg-opacity-70 dark:bg-opacity-60 border-lightBorder dark:border-darkBorder`} /> )}
product design decision I have not made yet
Hi @ospfranco , why not show the General Widget only when necessary?
For example like this:
Same thing for the CalendarWidget too, if there are no events it would be correct not to show it.