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
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
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
f677282d1c
Update [Euromat] Theses “pl” ( #182 )
...
Automatically generated. Merged on Netlify CMS.
2019-05-22 19:17:39 +01:00
Moritz Kröger
441f55d680
🌐 Adds polish language
2019-05-20 14:29:18 +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
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
201a31e497
🐛 Fixes country code fetching for results
2019-05-10 18:16:37 +02:00
Moritz Kröger
6de53bbf76
🍱 Adds more national party logos
2019-05-10 17:46:31 +02:00
Moritz Kröger
123eb71782
✨ Adds TalkingEurope on results page
2019-05-10 17:33:56 +02:00
Moritz Kröger
8e1b63b190
Update [Euromat] Theses “si” ( #152 )
...
Automatically generated. Merged on Netlify CMS.
2019-05-10 16:17:45 +02:00
Moritz Kröger
476bcca987
Update [Euromat] Theses “si” ( #148 )
...
Automatically generated. Merged on Netlify CMS.
2019-05-10 16:15:33 +02:00
Moritz Kröger
cf2bddf130
🐛 Fixes import issue with async methods
2019-05-09 15:52:03 +01:00
Moritz Kröger
8b9420a45e
Merge branch 'master' of github.com:morkro/euromat
2019-05-08 22:20:47 +01:00
Moritz Kröger
961c5ec44e
🎨 Updates URL handling
2019-05-08 22:20:40 +01:00
Moritz Kröger
2d9c50fe38
✨ Updated geolocation check
2019-05-08 22:18:49 +01:00
Moritz Kröger
523b4d6282
Update [Euromat] Results “fr” ( #133 )
...
Automatically generated. Merged on Netlify CMS.
2019-05-08 21:35:05 +01:00
Moritz Kröger
2942a5342b
Update [Euromat] Emphasis “fr” ( #132 )
...
Automatically generated. Merged on Netlify CMS.
2019-05-08 21:21:46 +01:00
Moritz Kröger
51f390d67b
✨ Added logic to embed euromat in an iframe
2019-05-05 16:39:12 +02:00
Moritz Kröger
6dcec82e05
✨ Use country code for national party in results
2019-05-05 12:29:34 +02:00
Moritz Kröger
3112a09985
Update [Euromat] Theses “fr” ( #122 )
...
Automatically generated. Merged on Netlify CMS.
2019-05-04 21:06:40 +02:00
Moritz Kröger
f59626b7ef
💄 Updates national party logo in results page
2019-05-04 14:50:48 +02:00
Moritz Kröger
2b40a2491e
🐛 Fixes translation files
2019-05-04 12:02:44 +02:00
Moritz Kröger
da561e8cfc
Update [Euromat] Results “en” ( #114 )
...
Automatically generated. Merged on Netlify CMS.
2019-05-03 21:59:20 +02:00
Moritz Kröger
23b7e74937
Update [Euromat] Results “cz” ( #113 )
...
Automatically generated. Merged on Netlify CMS.
2019-05-03 21:57:53 +02:00
Moritz Kröger
c60ee551e2
Update [Euromat] Emphasis “en” ( #112 )
...
Automatically generated. Merged on Netlify CMS.
2019-05-03 21:52:07 +02:00
Moritz Kröger
94598966b7
Update [Euromat] Theses “fr” ( #102 )
...
Automatically generated. Merged on Netlify CMS.
2019-05-03 21:15:36 +02:00
Moritz Kröger
3d24ed1ef7
Update [Euromat] Theses “cz” ( #101 )
...
Automatically generated. Merged on Netlify CMS.
2019-05-03 21:10:04 +02:00
Moritz Kröger
0c1afd3005
Update [Euromat] Emphasis “cz” ( #100 )
...
Automatically generated. Merged on Netlify CMS.
2019-05-03 21:05:19 +02:00
Moritz Kröger
7645e7d44c
Update [Euromat] Emphasis “fr” ( #99 )
...
Automatically generated. Merged on Netlify CMS.
2019-05-03 20:52:23 +02:00
Moritz Kröger
c11361c478
Update [Euromat] Results “fr” ( #98 )
...
Automatically generated. Merged on Netlify CMS.
2019-05-03 20:46:52 +02:00
Moritz Kröger
69c8439410
✨ Adds national parties to results page
2019-05-03 17:55:07 +02:00
Moritz Kröger
9e1896f570
Update [Euromat] Emphasis “si” ( #97 )
...
Automatically generated. Merged on Netlify CMS.
2019-05-03 15:59:51 +02:00
Moritz Kröger
a1eca5b987
Update [Euromat] Results “si” ( #96 )
...
Automatically generated. Merged on Netlify CMS.
2019-05-03 15:56:44 +02:00
Moritz Kröger
5b3703b690
💄 Updated input color on emphasis page
2019-05-02 19:01:36 +01:00
Moritz Kröger
24d85e331b
🌐 Adds missing content files for all languages
2019-05-02 18:56:41 +01:00
Moritz Kröger
b730503717
🐛 Fixes overlapping text on mobile theses layout
2019-05-02 18:26:36 +01:00
Moritz Kröger
9c155be53d
Merge branch 'master' of github.com:morkro/euromat
2019-05-01 13:06:39 +01:00