24pullrequests icon indicating copy to clipboard operation
24pullrequests copied to clipboard

[BUG]: Create other date out of range

Open mbiesiad opened this issue 4 years ago • 1 comments

Describe the bug

At this moment user can create a contribution with date other than 1-24 Dec (described in the description).

(it is greyed out when selecting from the calendar).

To Reproduce

Go to: https://24pullrequests.com/dashboard

Fill the fields, and set by manual date "out of range", ie. 28th Dec. See that contribution has been taken into account.

Expected Behavior

Description says about range: 1-24 Dec. It could be protected from entering other values out of range.

Display the appropriate notification.

Screenshot/ Video

Screenshots attached:

image

image

Additional context

No response

mbiesiad avatar Dec 03 '21 16:12 mbiesiad

Screenshot 2021-12-05 at 06 31 01

On a related note, we should hide currently invalid dates from the homepage

andrew avatar Dec 05 '21 06:12 andrew