dertinfo/dertinfo-web

[FEATURE] Link the homepage sticker to the promoted event and switch from opening soon to register now auotmatically

Open

#23 opened on 2024年11月19日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)TypeScript (1 fork)auto 404
enhancementgood first issue

Repository metrics

Stars
 (0 stars)
PR merge metrics
 (PR metrics pending)

説明

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)

コントリビューターガイド