Open sebastiangaertner opened 1 year ago
@sebastiangaertner I think we should use extra tables rather than big stakholder table, and regular columns rather than object/json.
The reason is:
So in my mind, we can add extra config for different purpose, like the webmap, we can create a table includes:
And in the stakeholder table, we can define general/basic info for it, email, photo...
And the android config could be similar to the webmap config.
For the admin panel, I think we should have a separate page for those dedicated map/mobile config.
I think this is reasonable and extendable, for example, as we discussed, we bring in a new type of map: campaign, it isn't a stakeholder, but we can still need a similar config for this map of campaign, then we can choose the compaign on the map setting page, and do the same thing for a compaign.
If you need my support I can help design these table and relationship.
Currently web map displays are achieved through the webmap.config file which only applies for the admin panel. We have to make the decision where the additional info on a stakeholder is stored. (ie. About us, Vision, Logo URL, Hero image URL, etc)
We would need additional UX to be able to cater for that. Each stakeholder object should be able to be customizable.