mirror of
https://github.com/hex248/sprint.git
synced 2026-02-08 02:33:01 +00:00
calendar QoL changes
This commit is contained in:
@@ -243,6 +243,7 @@ export function SprintForm({
|
||||
<PopoverContent className="w-auto p-0" align="center">
|
||||
<Calendar
|
||||
mode="single"
|
||||
currentSprint={{ colour, startDate, endDate }}
|
||||
selected={startDate}
|
||||
onSelect={(value) => {
|
||||
if (!value) return;
|
||||
@@ -250,6 +251,9 @@ export function SprintForm({
|
||||
}}
|
||||
autoFocus
|
||||
sprints={calendarSprints}
|
||||
showWeekNumber
|
||||
showOutsideDays={false}
|
||||
defaultMonth={startDate}
|
||||
/>
|
||||
</PopoverContent>
|
||||
</Popover>
|
||||
@@ -266,6 +270,7 @@ export function SprintForm({
|
||||
<PopoverContent className="w-auto p-0" align="center">
|
||||
<Calendar
|
||||
mode="single"
|
||||
currentSprint={{ colour, startDate, endDate }}
|
||||
selected={endDate}
|
||||
onSelect={(value) => {
|
||||
if (!value) return;
|
||||
@@ -274,6 +279,9 @@ export function SprintForm({
|
||||
autoFocus
|
||||
sprints={calendarSprints}
|
||||
isEnd
|
||||
showWeekNumber
|
||||
showOutsideDays={false}
|
||||
defaultMonth={endDate}
|
||||
/>
|
||||
</PopoverContent>
|
||||
</Popover>
|
||||
|
||||
Reference in New Issue
Block a user