Commit Graph

699 Commits

Author SHA1 Message Date
KevinMidboe 466e21aa0e Send ga event for pageview when visiting virtualLotteryPage. 2020-12-06 20:49:45 +01:00
KevinMidboe 9e7be82f57 Misc updates and better logging. 2020-12-06 20:48:39 +01:00
KevinMidboe 2fa0c1085c Build bundle analyzer and no-auth start commands.
build-report: uses webpack-bundle-analzer for interactive bundle size
explorer.
start-noauth: running locally without endpoint authentication enabled.
2020-12-06 20:44:54 +01:00
KevinMidboe c4c74ca3ef Invalid username validation prompt. 2020-12-06 20:42:59 +01:00
KevinMidboe ced7ebfcac Refined chat scroll handling & styling.
Moved chat functionality from parent VirtualLotteryPage to isolate
within Chat component.
Chat has better handling for username validation.
When receiving or sending messages to chat the scroll bar position more
user-friendly when loading more pages, sending message or scrolling back
in history while receiving messages.
2020-12-06 17:52:08 +01:00
KevinMidboe 539386664c Better username validation for chat registration. 2020-12-06 17:50:29 +01:00
KevinMidboe 6503b309c5 Chat history pages w/ page & limit params.
Updated api to use page and limit for fetching chat history.
2020-12-04 22:29:50 +01:00
KevinMidboe da8251c733 Now saves messages as redis sorted list.
Moved from Redis lists to sorted lists by timestamp for better
pagination. Now we have better interfacing w/ page & limit. History now
also returns the total record count.
2020-12-04 22:26:44 +01:00
KevinMidboe 8f844dbf85 Updated yarn.lock 2020-11-25 00:00:46 +01:00
KevinMidboe ccc72997c0 Moved entry and HtmlWebpackPlugin from Vinlottis.config to webpack.common and webpack.prod. Removed Vinlottis.config. 2020-11-24 23:54:43 +01:00
KevinMidboe 055d13af35 Added download location and date. 2020-11-24 23:51:50 +01:00
KevinMidboe d58f6dd210 Removed sentry tracing and before events are sent we console.error log them and in dev disable all events. 2020-11-24 23:50:59 +01:00
KevinMidboe edd09c012c Removed vue-analytics and update all code refs. 2020-11-24 23:50:00 +01:00
KevinMidboe ea1237464d Updated and remove unused dependencies. 2020-11-24 23:47:38 +01:00
KevinMidboe 7c0d7c14ec Urlloader uses options not query params. 2020-11-24 23:45:33 +01:00
KevinMidboe cf06140f60 'Use' for babel-loader and removed unused deps. 2020-11-24 23:44:35 +01:00
KevinMidboe 81ce466318 Replaced uglifyjs w/ webpack 5 TerserPlugin. 2020-11-24 23:42:05 +01:00
KevinMidboe 7bebe07db6 All style imports use @ webpack alias for root. 2020-11-24 23:38:38 +01:00
KevinMidboe ad27ba8b33 Require statements now use path.join correctly. 2020-11-24 23:37:14 +01:00
KevinMidboe 236c07f3d0 Moved middleware/ & schemas/ into api/. 2020-11-24 23:34:13 +01:00
KevinMidboe 036f6ea499 Upgraded html-webpack-plugin. 2020-11-22 15:31:23 +01:00
KevinMidboe 51e11d0df0 Frontend checks if localhost before req sw.js. 2020-11-20 21:25:39 +01:00
KevinMidboe d36aad3f9e Webpack conf now outputs to public/dist. 2020-11-20 21:24:36 +01:00
KevinMidboe cc0bef927f Single template & analytics.js script reference. 2020-11-20 21:22:53 +01:00
KevinMidboe 594c4cc482 Preprended /public to all /assets references. 2020-11-20 21:21:10 +01:00
KevinMidboe a2a81e488e Manually include local google analytics file.
This removes vue-analytics dependency.
2020-11-20 21:20:10 +01:00
KevinMidboe 0e8f73ebd5 Moved assets into public folder. 2020-11-20 21:17:34 +01:00
KevinMidboe 30fdbb5e2f Pulled feature branch up-to-date w/ master. 2020-11-20 19:15:51 +01:00
KevinMidboe 1f17429c8f Updated font url w/ updated assets path. 2020-11-20 18:37:48 +01:00
KevinMidboe 7096fbed86 Better url handling when connecting to socketio. 2020-11-20 18:37:22 +01:00
KevinMidboe 054ff69b27 Define socketIo as io on app. 2020-11-20 18:36:42 +01:00
KevinMidboe 7eb69aa3f7 Cleaned redirects and disabled sw when localhost. 2020-11-20 18:36:09 +01:00
KevinMidboe c85e6ca56a Assets and dist static paths. 2020-11-20 18:34:45 +01:00
KevinMidboe 50c79abaf7 Moved to api router. 2020-11-20 18:33:52 +01:00
KevinMidboe 2504dc55d6 Frontend updated: Login and register moved to /api/ path. 2020-11-20 18:33:33 +01:00
KevinMidboe e12e5cafb0 Exclude moment from chart.js from webpack. 2020-11-20 18:30:55 +01:00
KevinMidboe ee5f817248 Chathistory only returns funcs and used by router. 2020-11-20 16:29:26 +01:00
KevinMidboe f7ac5a96ee Minimal setup for sentry error tracing. 2020-11-20 10:21:18 +01:00
KevinMidboe 9816642362 Obscure fix for homescreen apps on ios.
When saving the webpage as a homescreen app on ios the entire screen is
used resulting in whitespace above the sticky header. This adds some
content above so the green header streches to the top of the screen.
2020-11-16 14:36:45 +01:00
KevinMidboe d20acadf87 Filter input on highscore 100% width on mobile. 2020-11-16 14:35:50 +01:00
KevinMidboe 3b8d6f22ca Use grid for better spacing between elements. 2020-11-16 14:35:12 +01:00
Kasper Rynning-Tønnesen c1c11f9782 Merge pull request #61 from KevinMidboe/fix/header-sticky
fix: z-index-fuckery
2020-11-03 13:23:58 +01:00
kasperrt 90f026cfe7 fix: z-index-fuckery 2020-11-03 13:23:38 +01:00
Kasper Rynning-Tønnesen 03347e6ac9 Merge pull request #60 from KevinMidboe/fix/header-sticky
fix: Sticky header
2020-11-03 13:14:01 +01:00
KevinMidboe 607d47aee5 Margin between all wines elements. 2020-11-03 13:13:23 +01:00
KevinMidboe dc0b9859fc Merge pull request #59 from KevinMidboe/hotfix/layout-stolen-raffles
readd stolen raffles and layout fixes
2020-11-03 13:09:44 +01:00
kasperrt 0b04e9294f fix: Sticky header
- Set header as sticky
- Remove unecessary box-shadows
2020-11-03 13:04:22 +01:00
Adrian Thompson 8296474538 readd stolen raffles and layout fixes 2020-11-03 13:01:12 +01:00
Adrian Thompson f8b58eb64c Merge pull request #56 from KevinMidboe/enhancement/vinlottispage-rework
Vinlottispage UI redesign
2020-11-03 12:41:38 +01:00
Adrian Thompson 82d708cf82 merge 2020-11-03 12:39:20 +01:00