kartevonmorgen / kartevonmorgen.ts

Mapping-Frontend to find and add sustainable Organisations (Initiatives, Companies) and Events on Kartevonmorgen.org / MapofTomorrow.org
https://kartevonmorgen.org/
GNU General Public License v3.0
11 stars 12 forks source link

Repair project config folders #215

Open wellemut opened 3 weeks ago

wellemut commented 3 weeks ago

there are some projects that not only does not have the config file, but also they don't have other neccessary files like the checkbox the projects with only a broken config can be handled but the projects with a broken structure we cannot catch them

wellemut commented 3 weeks ago

I just had a little crash by opening https://www.kartevonmorgen.org/m/SDG?c=50.2121%2C9.2065&z=6.00&mapColorMode=gray&search=sdg11+stadtentwicklung, but nothing which i could reproduce And status still online grafik

wellemut commented 3 weeks ago

In some cases it keeps loadeing a long time, and markers are not shown like here: https://www.kartevonmorgen.org/m/vm?c=50.5867%2C12.8979&z=7.00&mapColorMode=gray&limit=300&search=fair+fairfashion+Kleidung+secondhand+futurefashion grafik

navid-kalaei commented 3 weeks ago

I double checked the procedure. when a csv file like the dropdowns or the categories does not exist, we do not show that entity and the errors are handled. therefore for example if you don't need categories, simply remove the csv file. however, the pins are compulsory for rendering balloons because they are images and I cannot have a fallback. so the projects that do not render the balloons, they do not have the directory public/projects/{project}/pins or their content is not correct.

wellemut commented 3 weeks ago

the pins are compulsory for rendering balloons

I can not confirm that! i.e. "rennwk" has only a dropdown folder with csv file, but no Icon or pin-folder: https://www.kartevonmorgen.org/m/rennwk?c=50.5518%2C7.8223&z=7.00 But still, pins and baloons get shown: grafik

It seems to have a fallback which leads back to the main config?

wellemut commented 3 weeks ago

In this example, i just added a valid config, but no pins folder: https://www.kartevonmorgen.org/m/Reuse?c=49.1889%2C10.8325&z=6.00 Maybe that will crash...

If the korrekt config gets loades, the Map-title should be "Reuse Karte"