Commit Graph

399 Commits

Author SHA1 Message Date
b4b6643581 HistoryPage shows winners from prev lotteries.
The design of this pages sucks, but Winners.vue matched pretty well.
Need to have it's own design.
2020-06-14 14:30:45 +02:00
ab8fd9dd83 Insteadof mount all tabs & hiding,use :is to mount 2020-06-14 13:39:16 +02:00
efb5dfcd3e Prevent stopping execution. 2020-06-14 13:36:59 +02:00
a84441078c Opaque gradient over -1 msg & can fetch n+1 pages
- An opaque gradient overlay on the top message. This creates the illusion
that there are more messages under that the user can scroll to.
- Changed the formatting of the chat messages.
- Repaired the scrolling that happens on load and when chatHistory prop
list updates. If a full page arrives we want to keep the position, but
on load and a single new message we want to jump to the bottom of the
list.
- Emitting loadMoreHistory expects a expanded list of chatHistory.
2020-06-14 13:36:16 +02:00
1e0a76757a Parent now pages history on event.
loadMoreHistory func uses new variables historyPage and historyPageSize
to fetch the next x = historyPageSize elements with skip, take query
parameters for /history endpoint before prepending the received messages
to the existing.
2020-06-14 13:25:54 +02:00
Kasper Rynning-Tønnesen
37cb4a8f56 Add alerts for success/non-success on SMS sendings 2020-04-17 15:54:34 +02:00
Kasper Rynning-Tønnesen
55e1a00e67 Merge pull request #15 from KevinMidboe/feat/sms-ing
Add sms capabilities, and online-fixing of everything
2020-04-06 09:39:21 +02:00
Kasper Rynning-Tønnesen
40927ac286 Add sms capabilities, and online-fixing of everything 2020-04-04 01:05:52 +02:00
131ffe42e7 Fiveminutes left or ten minutes over. 2020-04-03 15:04:52 +02:00
706ef44491 Don't need user to see chat. Increased to fetch last 100 messages. 2020-04-03 13:55:26 +02:00
Kasper Rynning-Tønnesen
09648f0b2d Eventlistener on change 2020-04-03 12:37:27 +02:00
Kasper Rynning-Tønnesen
a7ab191ed1 The eventbus 2020-04-03 12:35:33 +02:00
Kasper Rynning-Tønnesen
6e5f99391f Fix for tab-elements fetching 2020-04-03 12:35:24 +02:00
Kasper Rynning-Tønnesen
14fbf40ac8 laways show dagens 2020-04-03 12:18:14 +02:00
Kasper Rynning-Tønnesen
52e773bc7e Fix some null-errors 2020-03-27 16:45:56 +01:00
Kasper Rynning-Tønnesen
3b91f9693e Fixed time-zone difference issue 2020-03-27 11:20:00 +01:00
Kasper Rynning-Tønnesen
0c08672dcd More automated 2020-03-27 10:34:12 +01:00
Kasper Rynning-Tønnesen
6b4d16adde COlumn, not wor 2020-03-26 16:24:21 +01:00
Kasper Rynning-Tønnesen
cd5612c9b9 Better saving 2020-03-26 16:18:34 +01:00
Kasper Rynning-Tønnesen
56352a85fb Video stuff 2020-03-26 16:02:00 +01:00
Kasper Rynning-Tønnesen
06000a99f1 Merge branch 'master' of github.com:KevinMidboe/vinlottis 2020-03-26 15:22:05 +01:00
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
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
d928905a58 Added 'lodd' in Live overview header. 2020-03-20 14:38:19 +01:00
93e751c265 Flip attendees before printing. 2020-03-20 14:35:04 +01:00
4e76d707b1 Only handle if ref exists 2020-03-20 14:30:44 +01:00
c53761d8bf Live overview of total tickets bought on virtual lottery page. 2020-03-20 14:19:54 +01:00
196901ae56 Better nesting of styling for button-container. 2020-03-20 13:57:25 +01:00
01833b4e66 Dagen link is more strict 2020-03-20 13:57:02 +01:00
eb79522c22 Merge branch 'master' of github.com:KevinMidboe/vinlottis 2020-03-20 13:47:53 +01:00
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
5e72ca203f Merge branch 'master' of github.com:KevinMidboe/vinlottis 2020-03-17 15:26:51 +01:00
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
71a9f99e45 Fixed redis error, and added link on click on notifications 2020-03-17 11:30:29 +01:00
d1ed8112bf Display date of message if not the same as today. 2020-03-17 10:37:08 +01:00
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
a702e0761a Optional prop generateOnInit, used in virt reg page 2020-03-16 20:00:13 +01:00
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
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
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