Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

highlight not filled mandatory fields, check for sysdate #4

Open
arbadacarbaYK opened this issue Aug 22, 2023 · 1 comment
Open

highlight not filled mandatory fields, check for sysdate #4

arbadacarbaYK opened this issue Aug 22, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@arbadacarbaYK
Copy link

The time is mandatory. If not filled, the save-button for the competition does not show it with no warning.
Nicer UX would be to prefill the date&time-field to next day, same hour (from sysdate of manager).

Also time should in general not be possible in the past, so max 10min from sysdate at least (or smth like that).

Bildschirmfoto 2023-08-22 um 21 46 51
@oren-z0
Copy link
Owner

oren-z0 commented Aug 25, 2023

Changed so far:

  • Added a little "*" next to the required fields
  • Made the description optional (can be left empty, like the banner url)
  • Set the default "Max bet in sats" to 100,000,000 (I wonder how many lightning nodes can receive a whole Bitcoin as a payment).
  • Set the default "Amount of tickets" to 100 - Admins can always increase that if they run out of tickets. Also changed label to "Number of tickets".

I've left the "Ticket closing date" as is. I want to completely refactor it to support local dates, not only UTC (i.e. use the browser's timezone, and specify it in a selection box or something).

@oren-z0 oren-z0 added the enhancement New feature or request label Aug 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants