CorrelAid / correlaid_website

Source code for the CorrelAid website
https://correlaid.org
3 stars 0 forks source link

project database as separate page #231

Closed friep closed 9 months ago

friep commented 12 months ago

placeholder issue: @jstet and me discussed this that we could / should have a separate page where we provide a project database that provides information on as much projects as possible, not only the ones where we have detailed reports (ie. the ones who are currently on /daten_nutzen/projekte). This list of "described projects" would then be removed from projects subpage, instead linking to this new page.

Format ideas: cards but filterable/searchable?

text search on:

filters (decreasing prioritiy):

on card:

all projects get a subpage:

jstet commented 12 months ago

An alternative would be to implement the projects db on the page where the projects are now. After having closed #148 we and maybe #209, this wouldn't take up too much space.

friep commented 12 months ago

summary of call:

for now:

for later:

display all public outputs

jstet commented 12 months ago
friep commented 11 months ago
friep commented 11 months ago

@jstet one question that links to #457 : how do the API requests work? are they processed during build or dynamically? are they authenticated or via the public role?

Background: What i'd like to see on the "project database" are (almost) all projects. most of them would only have a title and maybe a 2 sentence text in an anonymized way and only information re. the sector and maybe legal form of the organization (see #457 ) . Hence, it'd be really good if the data was not only processed/filtered in frontend to avoid people just going to the network tab and pulling the data from there.

jstet commented 11 months ago

They are using the public role and for the production static build, they are processed during build.

jstet commented 11 months ago

in any case, the api requests should happen in the backend ( we are using server.js files)

jstet commented 11 months ago

re: going to the network tab and pulling the data from there: people can always scrape the projects from the website; i think we cant avoid that. I am not 100% sure how the data is served with the static website, because if u look at the resulting build, there are files that contain all the data and people might be able to access these files.

jstet commented 11 months ago

But there are no api requests in the static build apart from images etc.

friep commented 11 months ago

that'd be good to know how the data is served and what data is available. i'd really like to do this correctly :)

scraping of content that is on the website is not a problem -> that's open anyway. i'm more concerned about the data discussed in #457

friep commented 11 months ago

i updated the issue description to include the results of our discussion today.

friep commented 10 months ago

re :

all projects get a subpage: short summary for all projects (minimum 2 sentences - what and how)

i think it'd be easier to relax this constraint - otherwise it'll take ages to get through all projects initially