Feat/personal highscore #44

Merged
KevinMidboe merged 19 commits from feat/personal-highscore into master 2020-10-11 16:19:52 +00:00

19 Commits

Author SHA1 Message Date
KevinMidboe feed7774ce Merge branch 'master' into feat/personal-highscore 2020-10-11 18:18:44 +02:00
KevinMidboe d5558863e4 Merge branch 'master' into feat/personal-highscore 2020-10-11 13:49:32 +02:00
KevinMidboe 27f4c8faef Updated styling to match design. 2020-10-11 13:36:34 +02:00
KevinMidboe 0702507963 Tabable back link. 2020-10-11 13:36:19 +02:00
KevinMidboe 8ef1a2dd88 Save previous route name, if none found push route highscore. 2020-10-11 13:32:47 +02:00
KevinMidboe a59f1e2b17 Show error if no one w/ name found. 2020-10-11 12:29:10 +02:00
KevinMidboe 1383a310b3 Try get a smaller version of the wine image. 2020-10-11 12:27:04 +02:00
KevinMidboe 584d497c6a Click dates send to history page for given lottery. 2020-10-11 12:26:10 +02:00
KevinMidboe 98c2707cb0 Full rewrite, faster, better listing and less code.
- Only list the highscore and send to PersonalHighscorePage on click.
- List numbers are not sequential position in list, but the persons
place in the highscore, allows shared place ranking.
- Filter is a computed value that uses the filterInput, reduces
overhead.
- Stripped unused styling.
2020-10-11 12:10:17 +02:00
KevinMidboe cb286b6894 Back link and better wine name container width. 2020-10-09 01:14:12 +02:00
KevinMidboe 73f1614ed4 Redesigned and separate page for personal highscore. 2020-10-09 01:02:55 +02:00
KevinMidboe bd96a19faa More positioning and variables defined in scss. 2020-10-09 01:02:28 +02:00
KevinMidboe c01692bf1e Renamed css ballot to raffle. 2020-10-09 01:01:26 +02:00
KevinMidboe 59792f9aae Moved date helper funcs to utils.js 2020-10-09 00:57:20 +02:00
KevinMidboe e87a59b1e6 Helper func for lottery/by-name. 2020-10-09 00:55:52 +02:00
KevinMidboe 4c02c81cc3 Name also part of highscore/by-name resp. 2020-10-09 00:55:20 +02:00
KevinMidboe 0e8bf9546a Reverse highscore for newest first. 2020-10-09 00:52:06 +02:00
KevinMidboe 9b2de75910 Received and searched names are lowercased.
Endpoint /lottery/by-name now lowercases the path input name and the
search query towards mongo.
2020-10-09 00:51:34 +02:00
KevinMidboe 05b07ca465 Defined new route for PersonalHighscorePage.
This is a subpage for showing additional information about a winner from
highscore.
2020-10-08 23:40:18 +02:00