Commit Graph

308 Commits

Author SHA1 Message Date
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
Matt Isenhower
b3f39bfdce Fix a potential issue with Salmon Run mystery weapons
I'm not sure how mystery weapons will appear with the new JSON format, but this should prevent issues in case the base weapon object is set to null.
2018-06-14 08:58:10 -07:00
Matt Isenhower
452fb89e00 Update Salmon Run weapons for new JSON format 2018-06-14 08:56:29 -07:00
Matt Isenhower
ad70899e8e Move iCal code to the main updater and add Splatfest calendar files 2018-06-07 13:59:04 -07:00
Matt Isenhower
0275c83c22 Merge remote-tracking branch 'ticky/icalendar-schedules' 2018-06-07 11:28:29 -07:00
Matt Isenhower
73c0670907 Update original gear data from Inkipedia (again) 2018-06-07 11:26:30 -07:00
Matt Isenhower
c1bc1b4bea Update original gear data from Inkipedia 2018-05-03 09:40:57 -07:00
Matt Isenhower
cef292c424 Fix Splatfest result display with new precision
Splatfest result values are now reported with two decimal points. A value of "5427" means 54.27%.
2018-04-24 19:36:30 -07:00
Matt Isenhower
c8710b2baa Revert "Temporary: Use smaller weapon boxes for the announcement of 4 new weapons"
This reverts commit 4684e8d940.
2018-04-24 19:30:30 -07:00
Matt Isenhower
4684e8d940 Temporary: Use smaller weapon boxes for the announcement of 4 new weapons 2018-04-24 19:24:20 -07:00
Jessica Stokes
a9e15b596b
Add functionality to export co-op schedules in iCalendar format 2018-04-04 18:15:54 -07:00
Matt Isenhower
7a6d44a854 Fix JSON character encoding header
Fixes #13.
2018-03-23 11:20:59 -07:00
Matt Isenhower
85d4ff6afe Add a permissive CORS header on the assets directory 2018-03-20 12:07:58 -07:00
Matt Isenhower
2cb9eb62c9 Add a SplatNet updater command to the Shipit file 2018-03-13 09:33:48 -07:00
Matt Isenhower
3f1ca22eaf Fix Chicken vs. Egg Splatfest images 2018-03-13 09:31:51 -07:00
Matt Isenhower
19bc5081d7 Modify Splatfest tweets to better handle multi-region Splatfests
I had previously updated this to handle global Splatfests, but the current Splatfest is only in NA/EU (and not JP) so it wasn't detected with the previous code.
2018-03-09 18:40:16 -08:00
Matt Isenhower
712dac874f Fix a bug with the short time format 2018-03-04 19:32:38 -08:00
Matt Isenhower
0025c5b319 Change Salmon Run tweet wording when the rotation includes mystery weapons 2018-03-02 18:52:12 -08:00
Matt Isenhower
b14ded81b8 Update wording on "new stage" tweets 2018-03-02 18:47:58 -08:00