Commit Graph

733 Commits

Author SHA1 Message Date
KevinMidboe 554257434d Frontend api function for github contributers. 2021-01-11 19:24:49 +01:00
KevinMidboe 3e84f0e40f Github repo for fetching project contributers. 2021-01-11 19:24:11 +01:00
KevinMidboe 6c4b6588d2 Opacity should have float value. 2021-01-02 14:42:14 +01:00
KevinMidboe 8044759264 Header menu routes have animated arrows on hover. 2021-01-02 14:27:45 +01:00
KevinMidboe 242aa28847 Added login route to header menu. 2021-01-02 14:27:26 +01:00
KevinMidboe f34857f5a8 If no tickets bought default 0 all colors. 2021-01-02 14:05:47 +01:00
KevinMidboe 593de53073 Display number of wines to title. 2021-01-02 14:05:28 +01:00
KevinMidboe 938b92cf0d Merge pull request #70 from KevinMidboe/refactor/virtual-lottery
Refactor/Virtual lottery
2021-01-02 13:52:58 +01:00
KevinMidboe 342651a90c Footer gets link to github repo & mailto address. 2021-01-02 13:37:07 +01:00
KevinMidboe f115ee79e6 Added element grid order for mobile styling.
- Added styling for positioning and styling on mobile.
- New vippsPill component for smaller vipps button when on mobile.
2021-01-02 13:28:57 +01:00
KevinMidboe 326101f7d2 New vipps-pill component opens vipps when clicked. 2021-01-02 13:28:17 +01:00
KevinMidboe fea81dcd63 Desktop-/mobile-only css classes. 2021-01-02 13:19:16 +01:00
KevinMidboe dfe89160b1 Aling text center. 2021-01-02 13:18:35 +01:00
KevinMidboe 9ab3c8c83d Displays logged-in username and moved logout btn. 2021-01-02 13:17:30 +01:00
KevinMidboe 7a2b5600c4 Fetch and display todays wines. 2020-12-31 17:29:53 +01:00
KevinMidboe 30b63a8e61 Page styles re-written and updated! 2020-12-31 17:28:55 +01:00
KevinMidboe d59d6fbd6c vin-link font-size should be inherited. 2020-12-31 17:27:54 +01:00
KevinMidboe 814ee4fa7d Drawing bool for diff text before & during draw.
- Updated style of winners container.
- Moved out header.
- Extra info-text in container before and during the drawing of first
winner.
2020-12-31 17:26:08 +01:00
KevinMidboe 18079ae312 Increased page-size from 10 to 100. 2020-12-31 17:25:15 +01:00
KevinMidboe 8275292526 Doesn't keep its own header and set max-height. 2020-12-31 17:25:02 +01:00
KevinMidboe e61a6c0432 Attendees list has hr seperators and max-height. 2020-12-31 17:23:25 +01:00
KevinMidboe d0cf99e8f8 Slowed down animation and renamed variables.
- Unified html elements for smaller footprint.
- winnersNameDrawn is used to have separte messages for before and after
the winners name is decided.
2020-12-31 17:22:09 +01:00
KevinMidboe 50ea05cad3 Winner draw writes out winner number.
The websocket message now includes the number of winners and this is
used to spell out the current drawn winner's position.
2020-12-31 17:19:56 +01:00
KevinMidboe 59328de496 Updated generate and lottery routes for frontpage. 2020-12-31 17:15:20 +01:00
KevinMidboe 3c0b8d4c06 Generate and lottery has distinct routes.
No longer use tab view for these pages.
2020-12-31 17:13:41 +01:00
KevinMidboe 0144780bb1 Fixed element positioning register page. 2020-12-11 13:12:05 +01:00
KevinMidboe baa348bc95 Merge pull request #67 from KevinMidboe/refactor/project-structure
Refactor/Project structure
2020-12-10 23:20:38 +01:00
KevinMidboe 1839810e66 Dev-server proxies /api and WS request to backend. 2020-12-06 23:21:44 +01:00
KevinMidboe 9265572e45 Updated dev webpack config. 2020-12-06 22:56:30 +01:00
KevinMidboe ce7e05fd43 Renamed /src to /frontend. 2020-12-06 21:48:51 +01:00
KevinMidboe 913268b01c Only setup sentry when not in development. 2020-12-06 21:45:34 +01:00
KevinMidboe 37f41ff894 Updated outdates packages.
Also includes updating webpack configs to support newer versions.
2020-12-06 21:38:37 +01:00
KevinMidboe a1a14b5361 Enabled codesplitting by chuck for frontend pages. 2020-12-06 20:51:44 +01:00
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 e9eada0002 Remove pickup location from confirmation SMS. 2020-12-04 12:55:43 +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