Commit Graph

426 Commits

Author SHA1 Message Date
Matt Isenhower
f76ab3d732 Modify the schedule tweet when a global Splatfest is open in all regions
It would have been better to check this on the back end by using the same Vuex data store as on the front end, but there are currently some complications with bringing that in to Node (because of issues with ES modules) so we have to perform the check twice.
2018-10-09 13:54:37 -07:00
Matt Isenhower
0a5a7b7750 Update Vue CLI dependencies 2018-10-06 10:56:22 -07:00
Matt Isenhower
f42c2e4c10 Enable directory listing on the /data directory 2018-10-04 15:30:08 -07:00
Matt Isenhower
1dff97bd46 Retrieve Splatfest ranking data for each region
This isn't currently displayed in the UI anywhere, but it will be useful for other people who wish to use it.
2018-10-04 15:13:50 -07:00
Matt Isenhower
927012572d Fix some issues with multi-region Splatfests
When restructuring Splatfests to handle an "all regions" display (by combining the list of Splatfests from each region) I had forgotten to account for Splatfests that have different times in each region. This change adds specific regional data (times and current state) as necessary.
2018-09-23 14:07:29 -07:00
Matt Isenhower
5743b6d1d8 Fix results banner in the Twitter screenshot 2018-09-23 14:59:54 -04:00
Matt Isenhower
6e1574a617 Fix v4 Splatfest results number formatting 2018-09-23 14:56:40 -04:00
Matt Isenhower
621b2bbe20 Fix idol results display 2018-09-20 16:49:50 -04:00
Matt Isenhower
d0f8f72f7f Add translations for new Splatfest results 2018-09-20 16:47:39 -04:00
Matt Isenhower
063dbb2b65 Add support for the new v4 Splatfest results format 2018-09-15 11:19:34 -07:00
Matt Isenhower
00d1fd94a7 Fix issues with buttons overlapping the dropdowns on the Calendars dialog
I think this was added to fix an issue on the Splatfests dialog but I can't reproduce that issue right now, so just disabling this for now.
2018-09-15 11:03:44 -07:00
Matt Isenhower
ac68376194 Fix Splatfest hero win count when there are unfinished Splatfests
Previously these were displaying as NaN when there was a Splatfest that was missing its results.
2018-09-15 10:27:51 -07:00
Matt Isenhower
7dccc723ae Improve new weapon display when there are a lot of new weapons 2018-09-13 23:29:30 -07:00
Matt Isenhower
ecf725034f Track Vue Router page views with GA 2018-09-07 18:09:53 -07:00
Matt Isenhower
6ccafde6e8 Revert "Fix a mistake, this should use the specified tweet time"
This reverts commit 25d711124e.
2018-09-07 17:03:51 -07:00
Matt Isenhower
e002322189 Add a 24-hour reminder tweet for Splatfests 2018-09-07 15:17:54 -07:00
Matt Isenhower
25d711124e Fix a mistake, this should use the specified tweet time 2018-09-07 15:17:27 -07:00
Matt Isenhower
d1f08f4271 Tweak wording in Salmon Run gear tweet 2018-09-07 15:01:47 -07:00
Matt Isenhower
5552a244e3 Set the default active class for router links
This makes the selected region in the Splatfest history dropdown appear correctly.
2018-08-31 10:47:46 -07:00
Matt Isenhower
00a9f68654 Add idol results to the Splatfest history dialog 2018-08-31 10:41:31 -07:00
Matt Isenhower
1a3e9f1d56 Fix the results banners in the Splatfest history dialog 2018-08-30 16:57:16 -07:00
Matt Isenhower
3917fa0e0c Fix a mistake 2018-08-30 16:42:35 -07:00
Matt Isenhower
90aef2ee47 Add flag icons to the Splatfest region indicators 2018-08-30 16:37:53 -07:00
Matt Isenhower
c83619108a Show a list of regions for each Splatfest 2018-08-30 16:02:23 -07:00
Matt Isenhower
5ece45a457 Add an option to view Splatfest history for all regions
This also changes the region selector so it's based on routes.
2018-08-30 15:46:01 -07:00
Matt Isenhower
fa037453fc Switch to fetch() to remove axios dependency
This saves 15kb in the modern build.
2018-08-26 11:01:57 -07:00
Matt Isenhower
a468fa0ece Update other JS dependencies 2018-08-26 10:36:03 -07:00
Matt Isenhower
72bec4a4d5 Update Vue CLI packages 2018-08-26 10:15:44 -07:00
Matt Isenhower
51c7d71724 Add routes for the schedule popups
This also switches to using absolute links for Splatnet images to fix issues with deep links (e.g., /schedules/regular). It's not a problem for screenshots anymore since we're using an actual HTTP server to server those now.
2018-08-26 09:48:10 -07:00
Matt Isenhower
2c08218da2 Add a Shipit config for a staging environment 2018-08-25 14:27:19 -07:00
Matt Isenhower
d2c1d2b527 Convert site to use Vuex to manage its state
This puts all the SplatNet data and other parameters in a centralized store (rather than passing down everything from a top-level component via props).
2018-08-25 14:22:02 -07:00
Matt Isenhower
0088442e7a Fix an issue with the Salmon Run box border 2018-08-01 14:44:50 -07:00
Matt Isenhower
2149043204 Fix issues with test Splatfest image generation
This is a bit hacky but it works for now.
2018-08-01 13:06:20 -07:00
Matt Isenhower
e096334e6a Fix missing Chrome dependency 2018-08-01 13:04:15 -07:00
Matt Isenhower
ce573c22cf Fix a deployment issue
vue-cli-service had to be added to devDependencies to be picked up by the Vue CLI UI properly, and we need it to build, so we need to make sure dev dependencies are included on the production server.
2018-08-01 12:43:31 -07:00
Matt Isenhower
37ced57d0e Use a local HTTP server for Chrome screenshots instead of file:// URLs
After switching to Vue CLI, script/style URLs in generated HTML files are now absolute instead of relative. This is generally a good thing, but it causes issues when trying to view pages with file:// URLs. Starting up a local HTTP server just makes everything easier here.
2018-07-31 17:23:06 -07:00
Matt Isenhower
940bf64ddc Reorganize some files 2018-07-31 15:58:20 -07:00
Matt Isenhower
44bc51f0a0 Disable language chunks to fix build issues
We don't need to prefetch all the languages on every page load, but there are currently some issues with modifying webpack plugin configs when using the --modern build option.
2018-07-31 14:10:05 -07:00
Matt Isenhower
3cfec6d8f2 Use Vue CLI to build assets 2018-07-31 12:14:27 -07:00
Matt Isenhower
acdf589d52 Fix occasional issues when loading Splatnet data for the first time
This now uses the synchronous version of mkdirp everywhere.
2018-07-27 11:42:42 -07:00
Matt Isenhower
8f2bc6d5cd Reorganize source files in preparation for transition to vue-cli
The biggest changes here include splitting the server-side JS into multiple directories (under /src/app), moving all web content to /src/web, and compiling the web app to /dist instead of /public. This layout makes more sense overall, and more closely mirrors what is used for vue-cli v3 projects.
2018-07-27 11:40:27 -07:00
Matt Isenhower
50460e8fa4 Fix issues with clicking calendar links on iOS 2018-07-01 18:08:56 -07:00
Matt Isenhower
27620ba647 Add a calendar dialog with links to the calendar feeds
#14
2018-07-01 13:21:26 -07:00
Matt Isenhower
61a20d9a0d Add a tweet for when a Splatfest closes 2018-07-01 11:10:30 -07:00
Matt Isenhower
7b3905da61 Fix Salmon Run tweet mystery weapon detection 2018-07-01 10:39:07 -07:00
Matt Isenhower
cfb0a03a5a Fix display issue with weapons being cut off when 4 are released at once 2018-07-01 10:35:13 -07:00
Matt Isenhower
a858fdde05 Add a 404 page 2018-06-16 13:23:51 -07:00
Matt Isenhower
43455d888f Use Vue Router for the different homepage views
This enables links like /about, /splatnet, and /splatfests. I'm going to have to decouple some things from the main app view in order to use router components properly, but this handles the basic needs for now.
2018-06-16 12:53:27 -07:00
Matt Isenhower
2f94dfe23e Add support for potential new Salmon Run special weapons
Nintendo changed the way "random" weapons appear for Salmon Run. Previously, these were just listed as "null" values, but now they have a new "coop_special_weapon" key with an image and name. This change adds support for downloading images and localized names for these weapons just in case any special weapons appear here in the future.
2018-06-16 11:40:03 -07:00
Matt Isenhower
d914bb2f61 Fix some issues with the Salmon Run updater caused by JSON changes 2018-06-14 09:18:13 -07:00