[FEATURE] Link the homepage sticker to the promoted event and switch from opening soon to register now auotmatically
#23 opened on Nov 19, 2024
Repository metrics
- Stars
- (0 stars)
- PR merge metrics
- (PR metrics pending)
Description
Is your feature request related to a problem? Please describe.
Every time we want to open for registration we manually have to do a deployment to update the sticker. We can do this automatically by finding the promoted DERT and then looking at it's registration open date.
Describe the solution you'd like
-If now less than registration open date - "Register soon" sticker -If now less than registration open date - "Register now" sticker
Describe alternatives you've considered
None however if desired the requirement could be expended to "registration closed" and "happening now" using the date information we have available
Additional context
- It might be necessary to create an API endpoint for this.
- The simpler version of this would be a really good first issue for someone and the simple information is available from an open endpoint at: https://[apiurl]/api/showcase/event/[EventId] (e.g. http://localhost:44100api/showcase/event/29 in local development)