Commit graph

873 commits

Author SHA1 Message Date
Matt Dunn-Rankin
90ad9feb0c move neopets.com loading into server
the client stuff worked locally, but not in prod because you can't request http from https, even with cors set up correctly 😅
2020-04-25 06:50:34 -07:00
Matt Dunn-Rankin
b1a60e4e9d style tweaks & fixes for larger screens 2020-04-25 05:43:55 -07:00
Matt Dunn-Rankin
b3ead75772 minor style tweak 2020-04-25 05:39:07 -07:00
Matt Dunn-Rankin
3092cf9a51 add button to clear outfit 2020-04-25 05:38:15 -07:00
Matt Dunn-Rankin
177aedc09d outfit reset from pet name! 2020-04-25 05:29:27 -07:00
Matt Dunn-Rankin
aded259f1b even more robust handling of unfitting items 2020-04-25 04:46:40 -07:00
Matt Dunn-Rankin
bed3cf7227 prefer nicer pet states 2020-04-25 04:43:54 -07:00
Matt Dunn-Rankin
77568c7a2f graceful handling of items that don't fit the pet 2020-04-25 04:38:55 -07:00
Matt Dunn-Rankin
564cdef0ce species/color picker! 2020-04-25 04:33:05 -07:00
Matt Dunn-Rankin
d13420256c add species/color GQL queries 2020-04-25 03:42:05 -07:00
Matt Dunn-Rankin
9c9a2662a0 fix item skeletons for new spacing 2020-04-25 03:05:26 -07:00
Matt Dunn-Rankin
1b47b4b23f minor tweaks to download for degraded experience
prod doesn't use latest chakra, so the image loading is not smooth anymore... so we stopped using crossOrigin for the moment, which is awkward for Download
2020-04-25 03:02:11 -07:00
Matt Dunn-Rankin
2d84f2295b tweak download button styles 2020-04-25 02:32:41 -07:00
Matt Dunn-Rankin
e9a15857c1 more misc fixes 2020-04-25 02:20:23 -07:00
Matt Dunn-Rankin
49718a96f7 misc search ui improvements! 2020-04-25 02:18:03 -07:00
Matt Dunn-Rankin
5e3071db4f search infinite scroll! 2020-04-25 01:55:48 -07:00
Matt Dunn-Rankin
4045844e4b merge zones with the same name in the items UI 2020-04-25 00:46:25 -07:00
Matt Dunn-Rankin
8b8d67e5b1 restrict search results to items that fit! 2020-04-25 00:43:01 -07:00
Matt Dunn-Rankin
5264509b53 add item removal, with smooth transitions! 2020-04-25 00:22:49 -07:00
Matt Dunn-Rankin
d39c781f3f minor ui improvements to download! 2020-04-24 23:29:26 -07:00
Matt Dunn-Rankin
4f7c8b1332 Downloadable image, wowie!! 2020-04-24 23:13:28 -07:00
Matt Dunn-Rankin
66c6998c58 add support for cross-origin image requests
This is setup for exporting the image view!
2020-04-24 21:38:18 -07:00
Matt Dunn-Rankin
846b26f4c5 add more items to skeleton for search 2020-04-24 21:23:03 -07:00
Matt Dunn-Rankin
eac6b308cd Item search frontend + backend! 2020-04-24 21:18:44 -07:00
Matt Dunn-Rankin
66b0314990 preload preview data for closeted items 2020-04-24 20:28:40 -07:00
Matt Dunn-Rankin
f49c2552ce add support for unwearing items! 2020-04-24 20:19:26 -07:00
Matt Dunn-Rankin
a9d50bd0c3 stop using hardcoded items entirely! 2020-04-24 19:16:24 -07:00
Matt Dunn-Rankin
abfe854756 use item data to detect conflicts 2020-04-24 18:39:38 -07:00
Matt Dunn-Rankin
d0c698bf18 minor string format fix 2020-04-24 17:48:22 -07:00
Matt Dunn-Rankin
cf2d76023c safari layout fix 2020-04-24 00:46:24 -07:00
Matt Dunn-Rankin
d9e4b8cb59 smooth fade-in/out for layers! 2020-04-24 00:28:00 -07:00
Matt Dunn-Rankin
95eb3a56e0 misc outfit preview fixups 2020-04-23 23:52:06 -07:00
Matt Dunn-Rankin
da0e35d4e2 show loading spinner _over_ previous outfit state 2020-04-23 15:19:36 -07:00
Matt Dunn-Rankin
a076c1835a add restricted zone support 2020-04-23 14:44:06 -07:00
Matt Dunn-Rankin
dd5a7f9242 added pet appearance queries, using in frontend 2020-04-23 14:23:46 -07:00
Matt Dunn-Rankin
f5cb1d263c add query to outfit preview, but don't use it yet 2020-04-23 13:31:39 -07:00
Matt Dunn-Rankin
881be0c910 oops, add support for all-body item layers! 2020-04-23 13:10:42 -07:00
Matt Dunn-Rankin
5028c39ea9 set default graphql endpoint in playground 2020-04-23 01:12:52 -07:00
Matt Dunn-Rankin
ff8327981f enable playground in production :) 2020-04-23 01:09:17 -07:00
Matt Dunn-Rankin
4a61919649 add GQL support for appearance data! 2020-04-23 01:09:06 -07:00
Matt Dunn-Rankin
93507cc777 oh oops, use gql for search prototype too! 2020-04-22 16:36:08 -07:00
Matt Dunn-Rankin
8e8eea2b39 add cache redirects for the items query 2020-04-22 16:18:29 -07:00
Matt Dunn-Rankin
5074b17aba fix db connection closing in tests 2020-04-22 15:53:59 -07:00
Matt Dunn-Rankin
d1d98e2f72 add item list skeleton while loading 2020-04-22 15:24:38 -07:00
Matt Dunn-Rankin
7397243c7f load name and thumbnail from the db :o 2020-04-22 14:55:12 -07:00
Matt Dunn-Rankin
496d69dc95 got apollo server running as a vercel function! 2020-04-22 14:02:23 -07:00
Matt Dunn-Rankin
81a2306667 move to vercel now function api structure
I haven't really tested the API yet, because it's hard to query GraphQL directly, but I'll set up the client in a bit for it!
2020-04-22 13:03:32 -07:00
Matt Dunn-Rankin
8f4ed8e10d add db snapshotting & better translation loader 2020-04-22 12:01:05 -07:00
Matt Dunn-Rankin
ecebb93ec5 set up Apollo server! 2020-04-22 11:51:36 -07:00
Matt Dunn-Rankin
513b2c12e7 fix a minor scrolling bug with name edit button 2020-04-22 04:10:50 -07:00