fsr-de / myHPI

Django/Wagtail page serving myhpi.de
https://myhpi.de
11 stars 11 forks source link

Map and location links #480

Open frcroth opened 8 months ago

frcroth commented 8 months ago

This is a bit out there, but I think could be fun and useful. With #470 we have locations in minutes. We also have a lot of other locations in documents spread around myHPI.

Idea: Create a map of the campus (Inspiration https://github.com/hpi-swt2/compass-portal-blue, https://github.com/hpi-swt2/compass-portal-red). Add important locations, FSR-office, mensa, Studiref, etc. Then add the ability to create links to specific locations on this map. For example if a page is about some process and mentions "visit the Studiref...", add the ability to click on Studiref and instantly see it on the campus map.

The locations from minutes can then be adapted to use this as well.

jeriox commented 8 months ago

nice one. my first two thoughts on that:

dasGoogle commented 7 months ago

Based of having a list of locations, names and links, this is pretty easy to build, i.e. using Leaflet.

OSM sounds like a good idea. If the information and detail there are not sufficient, one could also use this as an opportunity to improve their data.

What I do see as issues however are the following:

frcroth commented 7 months ago

About permissions and all this: In my idea, the map is the same for everyone (and available to all students, if the map would be public we could argue if we need two different maps). It does not necessarily link to pages, unless there are relevant information pages (e.g. FSR-Büro links to fachschaftsrat/overview). The primary use case of the links is the other direction. Links on information pages (and also pages of any other permission level) can link to locations on the map. So no, I would not let the map be a menu of pages. It is primarily a new store of information that can be linked to.

I agree that a map view would be very beneficial for setting the locaiton.