pace-running / pace3

used for "lauf gegen rechts 2023"
2 stars 1 forks source link

Configure name of the event #72

Closed pvince81tw closed 1 year ago

pvince81tw commented 1 year ago

As an admin, I want to be able to specify the name of the event and description.

Background: The "Stadtpark Staffelmarathon" will require its own name

Currently the text "Lauf gegen Recht" is hard-coded in multiple places and it would be cumbersome for sysadmins to have to edit and recompile the code just to change the event name + description.

pvince81tw commented 1 year ago

depending on effort and criticality we could first go with a backend side config switch/file and in another iteration add UI pages for that

pvince81tw commented 1 year ago

when looking at the code we found way more things that would need to be configurable to customize the site:

That's quite a lot so perhaps it might be good to split this into smaller stories

pvince81tw commented 1 year ago

we added a database table for themes: https://github.com/pace-running/pace3/commit/e09fbe358da9b0446826d1d427cbb948b6815ec5

next up is adding an actix handler in the backend with a route to expose all theme values to the frontend

nvinogradova commented 1 year ago

Logo, Impressum are the same (as the organiser is the same)

qutax commented 1 year ago

I moved this story to done. However, there is a bug that needs taking care of: https://github.com/pace-running/pace3/issues/86