Commit Graph

800 Commits

Author SHA1 Message Date
KevinMidboe 5dd26753ea Removed unsued data color vars and need to read from colors object now that colors are not independently in data. 2020-03-20 17:33:44 +01:00
KevinMidboe d1e5d60885 Moved lotteryColors to data and read from object for color values. 2020-03-20 17:31:54 +01:00
Kasper Rynning-Tønnesen a5fd9b649e Centering some thigns 2020-03-20 15:17:37 +01:00
KevinMidboe d928905a58 Added 'lodd' in Live overview header. 2020-03-20 14:38:19 +01:00
KevinMidboe 93e751c265 Flip attendees before printing. 2020-03-20 14:35:04 +01:00
KevinMidboe 4e76d707b1 Only handle if ref exists 2020-03-20 14:30:44 +01:00
KevinMidboe c53761d8bf Live overview of total tickets bought on virtual lottery page. 2020-03-20 14:19:54 +01:00
KevinMidboe 196901ae56 Better nesting of styling for button-container. 2020-03-20 13:57:25 +01:00
KevinMidboe 01833b4e66 Dagen link is more strict 2020-03-20 13:57:02 +01:00
KevinMidboe eb79522c22 Merge branch 'master' of github.com:KevinMidboe/vinlottis 2020-03-20 13:47:53 +01:00
KevinMidboe e51e6598a7 Added dagens fangst link to virtual lottery game page. 2020-03-20 13:47:33 +01:00
Kasper Rynning-Tønnesen 31e2c5001a Scrolling some and have a fixed header 2020-03-20 12:17:25 +01:00
Kasper Rynning-Tønnesen d1a50b74f6 Alignment is cool 2020-03-20 11:17:19 +01:00
KevinMidboe 49b4594f8f Kasper is also liable. 2020-03-17 15:33:35 +01:00
KevinMidboe 5e72ca203f Merge branch 'master' of github.com:KevinMidboe/vinlottis 2020-03-17 15:26:51 +01:00
KevinMidboe 8977e3942e Info header for virtuallottery registration info. 2020-03-17 15:26:41 +01:00
Kasper Rynning-Tønnesen 636d6ccad2 Prettier timer and todays wines 2020-03-17 15:24:28 +01:00
Kasper Rynning-Tønnesen 7dfb14fa0f Added link to dagens in notifcation 2020-03-17 14:44:05 +01:00
KevinMidboe 9db73c8c01 Console logs should be more clear what it represents. 2020-03-17 12:15:28 +01:00
Kasper Rynning-Tønnesen 71a9f99e45 Fixed redis error, and added link on click on notifications 2020-03-17 11:30:29 +01:00
KevinMidboe d1ed8112bf Display date of message if not the same as today. 2020-03-17 10:37:08 +01:00
Kasper Rynning-Tønnesen 3ec5fb6e44 Merge pull request #14 from KevinMidboe/chat/history
Chat/history
2020-03-17 10:26:40 +01:00
KevinMidboe 278d252e1e When loading VirtualLottery we fetch default size of messages from /api/chat/history and append to local chatHistory. 2020-03-17 10:02:06 +01:00
KevinMidboe cda945ead8 Messages from io gets saved to redis in message list. Endpoint for clearing, should be called when a lottery is ended. 2020-03-17 01:05:26 +01:00
KevinMidboe c893d7d870 Added redis. Chat io msg to redis list. 2020-03-17 01:03:47 +01:00
KevinMidboe a702e0761a Optional prop generateOnInit, used in virt reg page 2020-03-16 20:00:13 +01:00
KevinMidboe 7a12c929aa Moved generator to a component RaffleGenerator.
Moved generator and added to virtuallottertyregistrationpage
Removed logic for generating random colors in backend.
2020-03-16 19:56:01 +01:00
KevinMidboe 1dea04b0b2 If no winner is found for color it redraws 3 times
Redraws three times if no winner is found.
Grammatical fixes.
2020-03-16 19:34:12 +01:00
Kasper Rynning-Tønnesen 78752627ec Correct tracking 2020-03-16 15:23:36 +01:00
Kasper Rynning-Tønnesen 0afa60ca58 same line 2020-03-16 14:58:16 +01:00
Kasper Rynning-Tønnesen b3366c1739 Removed a log 2020-03-16 13:52:16 +01:00
Kasper Rynning-Tønnesen 08c5c40335 Tabs 2020-03-16 13:48:57 +01:00
Kasper Rynning-Tønnesen 569aa7ef9b Merge branch 'master' of github.com:KevinMidboe/vinlottis 2020-03-16 12:50:54 +01:00
Kasper Rynning-Tønnesen c8ee312310 Redirect to admin instead of update 2020-03-16 12:50:17 +01:00
KevinMidboe 2dbcda802d Downgraded zxing so we dont need to hackingly import BigInt when using safari. 2020-03-16 10:25:33 +01:00
Kasper Rynning-Tønnesen 65c2be0c47 Merge branch 'feat/online-lottery' 2020-03-16 09:39:56 +01:00
Kasper Rynning-Tønnesen 18b6e3a941 Socket-things 2020-03-16 09:39:46 +01:00
Kasper Rynning-Tønnesen a466d1548b Merge pull request #12 from KevinMidboe/feat/online-lottery
Much virtual many lotteries
2020-03-16 09:24:28 +01:00
Kasper Rynning-Tønnesen 3055ea6ecc Tabs are cool 2020-03-16 09:23:44 +01:00
Kasper Rynning-Tønnesen 81eeabfe42 Shuffling? 2020-03-14 14:43:56 +01:00
Kasper Rynning-Tønnesen f398db4e42 Splitting more, added chat, and fancier draw-animations 2020-03-14 14:04:07 +01:00
KevinMidboe 598bfb0460 Wines listing now spaces content with air. 2020-03-13 19:57:12 +01:00
KevinMidboe 5ebd15d14d Wine styling more predictable.
Wine now only uses inline slot when on desktop.
Wine link also parses the url for the name of the site, e.g. vivino.com
-> Les mer på vivino.
Moved around some DOM elements so scaling between screen sizes is more
predictable.
2020-03-13 19:20:05 +01:00
Kasper Rynning-Tønnesen 35e736a9d9 Add update-event for winners/attendees 2020-03-13 17:13:04 +01:00
Kasper Rynning-Tønnesen 3f832da6db Guarding with SW and a dummy-text if there is no attendees 2020-03-13 17:09:45 +01:00
Kasper Rynning-Tønnesen bfbfa5a8bc Fixed so io is being sent in a better manner, and listening on the same port as the rest 2020-03-13 17:02:28 +01:00
Kasper Rynning-Tønnesen b35dd5a971 Much virtual many lotteries 2020-03-13 16:37:08 +01:00
KevinMidboe 6463a53dd7 Winners use new inlineslot for better desktop formatting. 2020-03-11 00:37:10 +01:00
KevinMidboe b475cca803 Edit slot gets a wrapping container that sets up flex formatting of children. 2020-03-11 00:36:41 +01:00
KevinMidboe 950a70d763 inlineSlot prop to have slot content displayed under other content on right side of wine image. For mobile components should width: 100% to expand out of this area for more explicit formatting. 2020-03-11 00:29:54 +01:00