Overview Page with search and filters for locations (breaking feat?: overview page with cards and filters from templates for project locations)
Have a simple overview
https://training.asknet.community/ is a good template
Brainstorming on profile pages and profiles
- There are locations (map points) on the Karte von Morgen (KvM)
- There shall be a page for each of those locations on openecolab.de
What data is synced from the Karte von Morgen (KvM) and what is not?
- there are basic data fields that are synced from the KvM, e.g. Title, URL, coordinates,
- other data is only entered manually by us
- description text may exist twice, once the synced one from the KvM and one that enter manually → TBD
Somewhere there is a script or logic that pulls the data from tomorrow's map via API
- either a graph plugin i.e. PHP or a gitlab pipeline or something external which then acts as a bot in the website repo
- API: https://app.swaggerhub.com/apis/Kartevonmorgen/openfairdb/0.10.5
architecture:
- each location has a markdown file with yaml header
Logic of the script:
- we pre-define the fields that will be synced by the script. this means every time the script is executed, the locations will have their title, url etc (basic data) updated with the data from the KvM
- if a location appears in tomorrow's map for which we do not yet have a file, the script automatically creates this page, fills in the master data and sets it to invisible
- the script is executed perhaps once a day or manually → TBD
Structure in Grav
- the overview page is probably a page in "listing" mode
- we need to check whether we can create the overview from the yaml headers of all individual profile pages (their markdown files) in the overview page, as the filterscript must also run in this page. And whether the individual files of the profile pages can actually be displayed as individual addressable pages in Grav
Edited by Timm Wille