kartevonmorgen / openfairdb

Open Fair DB is the CreativCommons Backend of Kartevonmorgen.org
http://www.openfairdb.org
GNU Affero General Public License v3.0
55 stars 18 forks source link

Simplify notification and subscription process (also for tags) #258

Open flosse opened 4 years ago

flosse commented 4 years ago

Board for Subscriptions: https://github.com/orgs/kartevonmorgen/projects/4?fullscreen=true

Prerequisites

Target Group

Only a few power users will use the subscriptions, but those are the users, that improve the quality. So If we empower them, we improve the map qualitiy to all users, thats why it is a feature für all users.

Problem

Solution

Just allow to subscribe to any search and map view

Fazit

flosse commented 4 years ago

@navid-kalaei FYI: #259 would be your point to start with a more complex notification system.

navid-kalaei commented 4 years ago

Thank you so much @flosse. I'll follow the PR #259 and it's following commits :pray: :tada:

wellemut commented 3 years ago

Beautiful new subscription popup on the mapa project (Belarus) https://mapa.falanster.by/#map Here is my feedback:

  1. even for me I needed to think a while till I knew, what I have to select to subscribe the right thing. The Radio-Button with three options seems to me just confusing. Also: What happens, if the user chooses "Initiative" but no inititiative is selected? What if he chooses TagsGeo but no tag is used? Put away theses buttons and let just subscrieb to what ever is visible on the map behind the popup.

  2. Cancel-Button can be removed as well. grafik

https://github.com/diglabby/mapa/issues/6

wellemut commented 3 years ago

Here is a schema how it should be build in the future.

grafik

magdaddy commented 3 years ago

The preliminary draft of the Subscriptions API can be found here: https://github.com/magdaddy/kvm-welcome-email/blob/subscription/openapi.yaml

wellemut commented 3 years ago

Subscriptions API

The preliminary draft of the Subscriptions API is in the openapi.yaml file. You can render the API documentation e.g. with the swagger editor:

go to https://editor.swagger.io
go to File -> import URL
enter https://raw.githubusercontent.com/magdaddy/kvm-welcome-email/subscription/openapi.yaml
wellemut commented 2 years ago

The API Endpoint is now availiable here: https://app.swaggerhub.com/apis/Kartevonmorgen/subscriptions-api/0.0.0#/Subscriptions/post_subscribe

wellemut commented 2 years ago

@flosse Auf dem neuen Frontend ist kann man sich aktuell weder einloggen, noch einen ausschnitt abonnieren.

Das abonniren soll aber sowieso ohne login viel einfacher werden. Daher braucht das neue Frontend auch kein login. könntest du das schonmal mitdenken, wenn du dir Magnus Update-Tool anschaust, wie dort ein direktes abonnieren hinterlegt werden kann. (https://github.com/kartevonmorgen/openfairdb/issues/333)

D.h. vermutlich gibt es nicht nur ein umbau wie mails an Auschnitt-Abonnementen verschickt werden, sondern auch, wie diese Mailadressen mit bbox erfasst und gespeichert werden...