Commit Graph

373 Commits

Author SHA1 Message Date
Willi Junga 41f36cfecb
Update various: removed euromat occurences, changed Meta URL 2022-02-02 23:16:47 +01:00
Willi Junga f9b3d1031c
Update various: removed euromat occurences, changed Meta URL 2022-02-02 23:14:59 +01:00
Christoph Lienhard b898bbe184 Rename candymat -> kandimat everywhere 2022-02-02 15:01:15 +01:00
Christoph Lienhard d414b95c1c
Fix several smaller problems
* adapt for structure change in gql backend (e.g. id -> rowId)
* display questions not rowId dependent anymore
* fixed calculation error if both, party and user, selected "skipped"
* fixed problems occuring when a candidate hasn't answered all questions (yet)
2020-12-31 21:13:21 +01:00
Christoph Lienhard 64e6b861b6 Last not Least: Get party details page from backend
Also
* reorder graphQl queries: Always a query constant + update function
* use id instead of token (initials) to identify person in url
* Remove any party logo related sections since currently not needed
* Move "options" from data closer to actual code since it doesn't really belong to data
  (data may be deleted in the future, anyway)
* add nodeId in gql queries wherever possible to avoid problems with the apollo cache
* add note about graphql schema import to README.md
2020-08-22 21:14:12 +02:00
Christoph Lienhard 5512955af4 Add Note in Readme concerning variable naming 2020-08-22 20:49:44 +02:00
Christoph Lienhard 498a02bf1d Use graphql to retrieve parties 2020-06-27 10:53:13 +02:00
Christoph Lienhard f01d492d95 Fix calculation of scores
With this commit two calculation errors are fixed
 * the score in the case partyPosition = 'negative' while userPosition = 'neutral' shouldn't be MIN_POINTS but rather BASE_POINTS.
 * the totalScoredPoints (now "totalMaxPoints") should be independent of any party-positions which it wasn't.

To minimize errors in this area in the future tests are added
which are based on the official Rechenmodel of the bpb.
To that end the score calculation logic was refactored
 and moved from results.vue to scoring.js, too.

(cherry picked from commit 2d246fefbc4730ca5f7a4224325084a98f1c41f0)
2020-06-27 10:32:46 +02:00
Christoph Lienhard 66019ecda9 Use backend on emphasis page 2020-06-14 03:33:56 +02:00
Christoph Lienhard 0347a54ac0 Use backend on theses page 2020-06-14 03:33:39 +02:00
Christoph Lienhard 13be951160 Add vue-apollo to user-app
It does not fetch anything yet.
It points to the graphql server on localhost, which is a hardcoded dev-mode.
Added config for GraphQL JS intellij plugin which inspects a "remote" graphql schema for better type hints in graphql queries in code
2020-06-14 03:00:19 +02:00
Christoph Lienhard 4fedc4ef80 more cleanup
* improve imprint
* rename party -> person in route
* remove unnecessary components in about and partner
* fix email addresses
* remove most of the theses for easier manual testing (will be replaced by backendcalls in the future anyways)
2020-06-13 14:50:09 +02:00
Willi Junga 21577af8be #1 Adapt all secondary content to our needs
This includes better descriptions of the intro page, faq, etc.
2020-06-12 15:37:07 +02:00
Christoph Lienhard 569fd2088b Fixed missing (german) url routes 2020-06-12 15:22:09 +02:00
Christoph Lienhard 3ca43c5c0d Remove language support for all languages other than German 2020-05-03 12:51:20 +02:00
Christoph Lienhard 314873174a Remove Sentry 2020-05-03 12:51:20 +02:00
Christoph Lienhard de3d972191 Remove Social Media and Google Relations
* Remove Google analytics
* Remove cookies
* And the DSGVO banner
* Removed Social Media Connections
* Removed Cookie Consent stuff
* Removed Social Media related stuff in Datenschutzerklärung
2020-05-03 12:32:43 +02:00
Christoph Lienhard d18e78cb8f Clean-up data structure
* Remove xlsx data source
* Remove scripts to convert xlsx to json
* Convert data jsons into js files as a first step towards using a proper backend call for retrieval
* Remove dependencies related to xlsx
2020-05-03 12:32:35 +02:00
dimi b989145a54 green logo added 2019-08-31 17:48:15 +02:00
dimi 83fd366b8c green commit 2019-08-31 17:23:59 +02:00
Moritz Kröger b832ccf180
Hotfixes missing image in partner page attempt 2 2019-05-24 15:30:42 +02:00
Moritz Kröger eb9a0834ea 📈 Adds Sentry for error handling 2019-05-24 15:10:14 +02:00
Moritz Kröger 3cc0e1b981 🚑 Hotfixing missing logo in partner page 2019-05-24 15:06:20 +02:00
Moritz Kröger 41a3e62bf3
Update [Page] Party “pl” (#186)
Automatically generated. Merged on Netlify CMS.
2019-05-22 23:53:33 +01:00
Moritz Kröger fe2b3207ad
Update [Euromat] Results “pl” (#185)
Automatically generated. Merged on Netlify CMS.
2019-05-22 23:36:26 +01:00
Moritz Kröger 1a008ddcd1
Update [Euromat] Emphasis “pl” (#184)
Automatically generated. Merged on Netlify CMS.
2019-05-22 23:28:44 +01:00
Moritz Kröger 748554869a
Update [Page] Introduction “pl” (#183)
Automatically generated. Merged on Netlify CMS.
2019-05-22 23:15:35 +01:00
Moritz Kröger f677282d1c
Update [Euromat] Theses “pl” (#182)
Automatically generated. Merged on Netlify CMS.
2019-05-22 19:17:39 +01:00
Moritz Kröger da38dc48ac
Update [Page] Introduction “de” (#181)
Automatically generated. Merged on Netlify CMS.
2019-05-21 10:56:32 +01:00
Moritz Kröger 39c0035369
Update [Page] Introduction “de” (#180)
Automatically generated. Merged on Netlify CMS.
2019-05-21 10:51:46 +01:00
Moritz Kröger 441f55d680 🌐 Adds polish language 2019-05-20 14:29:18 +01:00
Moritz Kröger e2c5eb08a1
Update [Page] FAQ “dk” (#179)
Automatically generated. Merged on Netlify CMS.
2019-05-16 15:05:27 +01:00
Moritz Kröger b54743a764
Update [Page] FAQ “de” (#178)
Automatically generated. Merged on Netlify CMS.
2019-05-16 14:59:46 +01:00
Moritz Kröger 22349c4774
Update [Page] FAQ “cz” (#177)
Automatically generated. Merged on Netlify CMS.
2019-05-16 14:57:48 +01:00
Moritz Kröger 05341abda8
Update [Page] FAQ “si” (#176)
Automatically generated. Merged on Netlify CMS.
2019-05-14 13:02:04 +01:00
Moritz Kröger 4bde3e4cbc
Update [Page] Partner “cz” (#175)
Automatically generated. Merged on Netlify CMS.
2019-05-14 10:44:47 +01:00
Moritz Kröger 82ee99cc8d
Update [Page] Partner “en” (#174)
Automatically generated. Merged on Netlify CMS.
2019-05-14 10:42:51 +01:00
Moritz Kröger a39d9c6e5a
Update [Page] Partner “si” (#173)
Automatically generated. Merged on Netlify CMS.
2019-05-14 10:41:41 +01:00
Moritz Kröger 2eedae79dc
Update [Page] FAQ “si” (#172)
Automatically generated. Merged on Netlify CMS.
2019-05-14 10:37:50 +01:00
Moritz Kröger a889f418fa
Update [Page] 404 “si” (#171)
Automatically generated. Merged on Netlify CMS.
2019-05-14 10:36:05 +01:00
Moritz Kröger 73ab269a7c
Update [Euromat] Emphasis “si” (#170)
Automatically generated. Merged on Netlify CMS.
2019-05-14 10:34:44 +01:00
Moritz Kröger 62614a33cb
Update Settings “si” (#169)
Automatically generated. Merged on Netlify CMS.
2019-05-14 10:33:27 +01:00
Moritz Kröger ef23db3441
Update [Page] Party “si” (#168)
Automatically generated. Merged on Netlify CMS.
2019-05-14 10:28:58 +01:00
Moritz Kröger 4bd7be07fa
Update [Euromat] Results “si” (#167)
Automatically generated. Merged on Netlify CMS.
2019-05-14 09:35:33 +01:00
Moritz Kröger e61e32f3ab
Update [Euromat] Theses “si” (#166)
Automatically generated. Merged on Netlify CMS.
2019-05-14 09:32:09 +01:00
Moritz Kröger da001e8759
Update [Euromat] Results “si” (#165)
Automatically generated. Merged on Netlify CMS.
2019-05-14 09:29:55 +01:00
Moritz Kröger a23ca7ac36
Update [Page] About us “si” (#164)
Automatically generated. Merged on Netlify CMS.
2019-05-14 09:24:52 +01:00
Moritz Kröger 6cae14e4b7
Update [Page] Contact “si” (#163)
Automatically generated. Merged on Netlify CMS.
2019-05-14 09:22:54 +01:00
Moritz Kröger 0ec3cbf6e4
Update [Page] FAQ “si” (#162)
Automatically generated. Merged on Netlify CMS.
2019-05-14 09:20:59 +01:00
Moritz Kröger 4369070222
Update Settings “si” (#161)
Automatically generated. Merged on Netlify CMS.
2019-05-14 09:07:10 +01:00