Coder Social home page Coder Social logo

poke-that-gmeind's Introduction

About

Dieses Repository beinhaltet den Code der Kampagne "Luftfilterbegehren" auf luftfilterbegehren.at.

Setup

See below for dependencies.

  • copy config/template.py to config/__init__.py
  • fill in your database settings
  • run ./run.py to start the local development server

Dependencies

virtualenv

virtualenv -p python3 .
source bin/activate
pip install -r requirements.txt

SMTP-Service

use the following to mock the smtp service for development:

docker run --rm -it -p 3000:80 -p 25:25 rnwood/smtp4dev

Includes

  • jQuery Core (C) jQuery Foundation, Inc. [MIT]
  • Normalize.css (C) Nicolas Gallagher, Jonathan Neal [MIT]
  • OpenSans (C) Steve Matteson [Apache]
  • Oswald (C) Vernon Adams [OFL]
  • cities.json from https://github.com/bresu/oe_gemeinden (C) 2020 bresu [CC-BY-SA]

poke-that-gmeind's People

Contributors

cambid avatar eest9 avatar pascoda avatar maclemon avatar ashinformatics avatar

Stargazers

bresu avatar  avatar

Watchers

 avatar Astranox avatar  avatar  avatar qch3n avatar  avatar  avatar Markus Bohnensack avatar bresu avatar

poke-that-gmeind's Issues

Dinge, die so aufgefallen sind

Bei der Durchsicht der Website sind mir folgende Punkte aufgefallen:

  • Hauptseite:
    • Header -> "Luftfilterbegehren" schwebt ein bisschen zu hoch. (Im vergleich zu den Buttons "Weitersagen!", "Gemeinden anschreiben"!, usw.
    • Text - 1 - 2 Zeilenumbrüche wären nett
    • Text "In der Bundespolitik fehlt es an Plänen, Schulen, " - kommt da nach Plänen wirklich ein Beistrich? (Frage für einen Freund)
    • Text "Sie können selbst aktiv werden und Luftfilteranlagen installieren. " und "schreib jetzt deine Gemeinde an!" - maybe unterstreichen ?
    • Nach "Bisher haben 0 von 2117 ..." sollte ein Trennstrich oder sowas wie "Und Los geht's" stehen. (Hab am Anfang nicht gewusst warum da plötzlich ein gelber Pfeil kommt.)
  • "Gemeide Anschreiben":
    • Filter funktioniert - wäre aber noch schön wenn die Möglichkeiten in eine Reihe angezeigt werden und nicht "einfach" die anderen Möglichkeiten ausgeblendet werden. (Endloses Scrollen vermeiden)
    • Reihenfolge der Gemeinden scheinen willkührlich. Kann man die noch aufsteigend zählen lassen?
    • Die PLZ zu den Ortschaften/Gemeinden/Bezirke wäre denk ich auch ein Pluspunkt.*
    • Welche Bedeutung haben die gelben Felder ? Erschließt sich mir nicht ganz. (Ukraine Krieg?)

[cities] make city tiles single-color?

currently, the yellow/blue color combination might raise the question of "what has this to do with ukraine" or "why niederösterreich".
making the tiles single-color would prevent confusion.

from #79

burger menu not usable

When reducing the browser window width, the top navigation folds to a burger menu in the top right.
Moving the mouse over the burger menu shows a list of the navigation entries.
Attempting to select one of the navigation entries with the mouse seems not possible, because as soon as the mouse leaves the burger menu the list with navigation entries vanishes.

OS: Linux, Browser: Chromium 102

adapt privacy statement

by default, we don't log anything.

apart from that, we only keep the email address and contacted gemeinde(n), nothing else.

[index] revise content

needs

  • fancy header img? (if yes, needs to be smaller)
  • abstract, followed by buttons for action: gemeinde + weitersagen (kinda like a flowchart)
  • drop everything else (yt-link, überwachungspaket contents, action items for politicians)

adapt landingpage

the landingpage should be adapted from "Überwachungspaket" to "Luftfilterbegehren"

Wollen wir jetzt >du< oder >Sie<

Wollen wir konsequent "du" oder "Sie" verwenden? Bisher wurde auf der Website überall "du", aber in den E-Mails "Sie" verwendet.

adapt/reduce content in /weitersagen

  • which share-options do we want to keep?
    • adapt text for sharing with friends
  • keep "termine" and link to c3w events?
  • keep "abonnieren" and link to c3w public subscribe?

Layout, nachdem man gesendet hat

Nachdem man Name + E-Mailadresse eingetragen und auf den Button "Senden" gedrückt hat, wird auf der Oberfläche weitere $Dinge angezeigt.

Diese sind:

  • "Beachte:" + Text. MMn sollte nach einen Zeilenumbruch nach "Danke für dein Engagement." sein.
  • Warum hat die Überschrift "Beachte:" einen Doppelpunkt? kommt sonst nirgends vor.
  • Text "Falls diese Gemeinde bereits Luftfilter installiert ..." ist relativ klein. Vl könnte man das auf die Größe vom Text "Bitte gib deinen Namen sowie deine E-Mail-Adresse.." ändern.

Was noch aufgefallen ist:

  • Braucht man die Input-Felder/E-Mailvorlage noch einmal nachdem die E-Mail schon an eine bestimmte Gemeinde rausgegangen ist ?
    Mein Vorschlag: Diese Felder entfernen und durch einen Button "Eine weitere Gemeinde anschreiben" ersetzen. Diese verlinkt auf "https://luftfilterbegehren.at/gemeinden/"
    Vorteil: Webseite ist übersichtlicher und man übersieht den letzten Absatz nicht.

remove link to /kontakt in FAQ

In the last question of the FAQ "Und spammt ihr mich dann zu und verkauft meine Daten?" is a link to the non existing /kontakt. Please change this to an information about our mail address.

adapt texts in share.html

e.g. the subject for the email is still "stoppen wir das überwachungspaket", and other passages still refer to überwachungspaket, too.

Code scanning

  • static and dynamic analysis (f.e. codeQL)
  • linting

Hall of Fame

Optional, aber den Begriff "Hall of Fame" kennt man außerhalb der Gaming-Szene in Österreich nicht wirklich. Eventuell finden wir dafür einen sprechenderen Begriff. Wenn nicht, kann die Kampagne dennoch starten.

citiespage pictures / colourtheme

Change the presentation of the municipalities on the Citiespage. Drafts are already available in Paint. :D
Look at the attached colourtheme and please match the colours.
farbauswahl
entwurf_cities

feature request: option for take-down

provide description on how to get a community removed from the tool.

where? in FAQ and city detail view
what? "Falls Ihre Gemeinde bereits Luftfilter installiert hat, oder plant, dies zu tun, entfernen wir den Eintrag gerne aus dieser Plattform. Senden Sie uns dafür eine formlose Nachricht an ."

note: we could move these entries to a "hall of fame" (list of communities that already provide CMVs).

Fortschrittsbalken

Aus UI Perspektive würde auf der Frontpage ein Fortschrittsbalken Sinn ergeben, der angibt wie viel Prozent der Gemeinden bereits das Begehren umgesetzt haben. Aus der UX-forschung wissen wir, dass solche Balken stark beim Engagement helfen.

Nicht Teil von #28 weil IMHO nur optional.

Menü Highlightning

Das Highlighting von "Gemeinden anschreiben" sowie "Hall of Fame" im Menü ist kaputt. Diese Seiten sollten markiert sein, wenn man sich auf ihnen bedindet.

[faq] different typefaces?

as far as I can tell, the font size and maybe even type are different in the question and answer sections (see screenshot). looks a bit strange, should be adjusted.

image

post-mail pages layout

visual style elements (buttons, arrows) and text clash w.r.t. alignment - buttons and arrows are centered while text is aligned left (with different paddings none the less 😅 )

Screenshot 2022-07-18 at 15-38-26 Luftfilterbegehren

IMO, all items should be centered to have a coherent layout.

feature request: hall of fame

as mentioned in #8 : add a flag to the city model that can be used for entry in hall of fame and as a switch for the city list.

flag = "has_cmv"
false = "negative" color in city list, email form in detail view; has no entry in hall of fame
true = "positive" color in city list, no email form in detail view (rather, info that they state they already have CMV in place); has entry in hall of fame

flabbering on cities-page

After searching something on the cities-page the page flabbers and the cities-table seems defect. Please fix.

missing link on homepage

Auf der Startseite sollte unter "schreib jetzt deine Gemeinde an!" ein link auf Gemeinden kontaktieren hinterlegt werden. Durch die optische hervorhebung und den Text wirkt es nämlich als starker aufruf sofort etwas zu klicken.

[gemeinde] add information on sending mail

  • unter "E-Mail senden:" Infotext, dass bitte alle Felder ausfüllen und Mailversand erst wenn Link in Validierungsmail geklickt wurde.
  • "Deine E-Mail-Adresse" statt "E-Mail"
  • schließendes Anführungszeichen fehlt bei "wenn gemeinde schon cmv hat"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.