Open sarahlazarich opened 2 months ago
We don't have a sense of conditional requirement on listing fields right now We could do this on the front end to look for the presence of the date if the type is lottery How could we do that on the BE?
On the BE --
Route 1:
Route 2:
Go with Route 1, Going to leave some wiggle room in the estimate for discovery
Break out FE into separate ticket
Also include test writing
This looks good
Actually, noticing one thing, and I'm not sure if this is the UX flow we want - https://www.loom.com/share/f36d2246358f41dc9ff48aef5c7ad28a?sid=dc17b27b-324d-4be3-a7d9-910e95d4d50f
Is this our typical pattern here? If you remove a part of the date field, then save, the whole thing doesn't save. Not sure if this is an error but is this the pattern we use?
Actually, noticing one thing, and I'm not sure if this is the UX flow we want - https://www.loom.com/share/f36d2246358f41dc9ff48aef5c7ad28a?sid=dc17b27b-324d-4be3-a7d9-910e95d4d50f
Is this our typical pattern here? If you remove a part of the date field, then save, the whole thing doesn't save. Not sure if this is an error but is this the pattern we use?
Good find. I just tested this in HBA staging where the new code has yet to be deployed and the same thing happened. If we want to fix, we should create a bug ticket
As a user creating a listing that is using the system lottery, The lottery date and time should be a required field, So that I can not create a lottery listing without letting a user know when it will be run.
AC: