Matt Dunn-Rankin
75a0fe2e8c
refactor e/gp pairs to pose enum
2020-05-23 12:47:06 -07:00
Matt Dunn-Rankin
772917fde6
add unknown and UC to valid pet poses
2020-05-23 11:48:53 -07:00
Matt Dunn-Rankin
4d6a6faf4c
compact the svg logs
2020-05-23 11:32:05 -07:00
Matt Dunn-Rankin
62fc161013
upgrade to immer 6.0.8, remove bug workaround
2020-05-23 10:51:32 -07:00
Matt Dunn-Rankin
674107516c
stop using javascript:void 0
as a placeholder
2020-05-19 18:30:54 -07:00
Matt Dunn-Rankin
1237ed0bb2
note on skipped query for future reference
2020-05-19 15:18:59 -07:00
Matt Dunn-Rankin
e9a490feca
oops, we broke cacheRedirects, so item adds broke!
2020-05-19 15:14:12 -07:00
Matt Dunn-Rankin
94b05ad95b
skip OutfitStateItems query if there are no items
...
Kinda surprised our cache redirect isn't good enough for this, but I guess Apollo can't differentiate between a confident empty list vs an uncertain empty list!
2020-05-19 14:57:25 -07:00
Matt Dunn-Rankin
b47392f17f
add opnames for all queries
2020-05-19 14:48:54 -07:00
Matt Dunn-Rankin
c7707c8ee5
Show more realistic item list skeletons
2020-05-19 14:43:21 -07:00
Matt Dunn-Rankin
8e6c9a3d98
misc a11y fixes
...
both pages pass Lighthouse now, yay!
2020-05-18 01:21:46 -07:00
Matt Dunn-Rankin
3f379a819f
add aria-label for search field
2020-05-18 01:09:27 -07:00
Matt Dunn-Rankin
f1d10f1c9e
empty alt text for images
2020-05-18 01:08:56 -07:00
Matt Dunn-Rankin
cfabefa442
inline index.css, omit unused fonts, preload hints
2020-05-18 00:56:46 -07:00
Matt Dunn-Rankin
41e8e5f849
add webpackPreload hint for OutfitControls
2020-05-18 00:37:13 -07:00
Matt Dunn-Rankin
2fc0205304
code split the two pages
2020-05-18 00:20:48 -07:00
Matt Dunn-Rankin
db9dc3390b
code-split OutfitControls
2020-05-18 00:11:18 -07:00
Matt Dunn-Rankin
543a12123d
remove use-http to save 31kb
2020-05-17 23:44:33 -07:00
Matt Dunn-Rankin
2b8ed15bc1
remove react-helmet to save 12kb
2020-05-17 23:26:00 -07:00
Matt Dunn-Rankin
9c8a48a325
http caching for all color/species requests
2020-05-14 15:51:08 -07:00
Matt Dunn-Rankin
7847eddec3
less aggressive flash when color/species loads in
2020-05-14 15:50:59 -07:00
Matt Dunn-Rankin
e18aba17c6
add svgUrl for image layers
2020-05-11 21:19:34 -07:00
Matt Dunn-Rankin
072a95faba
remove demo outfit, initialize state from url
...
it was causing a flash of content sometimes, oops!
2020-05-10 01:28:39 -07:00
Matt Dunn-Rankin
905b41aa7c
use error color for invalid poses
...
I tweaked it to be a bit less aggressive of a red 😅
2020-05-10 01:21:24 -07:00
Matt Dunn-Rankin
f2d48cad84
remove error tooltip bc it's broken in prod
...
I also think it's not great a11y… need to think of a clear indicator!
2020-05-10 01:17:16 -07:00
Matt Dunn-Rankin
6b616d917d
attempt to fix a prod-only tooltip bug 🤔
...
My current guess is that maybe showDelay={false} is infinite delay after prod compilation? Not sure why but it's my best guess!
2020-05-10 01:05:19 -07:00
Matt Dunn-Rankin
785d119324
set explicit page title on homepage
2020-05-10 01:01:14 -07:00
Matt Dunn-Rankin
9b4a677395
fix Safari outfit controls visual bug
2020-05-10 00:56:44 -07:00
Matt Dunn-Rankin
dcd8cc7a4a
do pet loading on homepage, scrap reset modal
2020-05-10 00:54:23 -07:00
Matt Dunn-Rankin
385360ef10
basic home page!
2020-05-10 00:21:04 -07:00
Matt Dunn-Rankin
feccb5a46f
misc image optimizations
2020-05-10 00:17:09 -07:00
Matt Dunn-Rankin
6757775fec
change validPetPoses bit order, add dims to blob
2020-05-03 13:03:02 -07:00
Matt Dunn-Rankin
01c6cbcfdb
reverse bit ordering in getValidPetPoses
2020-05-03 12:58:35 -07:00
Matt Dunn-Rankin
da0398b50b
use bodyId, not speciesId, for pose transforms
2020-05-03 12:55:37 -07:00
Matt Dunn-Rankin
3f2f77c35d
Merge branch 'valid-pet-poses'
2020-05-03 01:52:59 -07:00
Matt Dunn-Rankin
1bf33c14db
use compressed validPetPoses to save network
...
it also has valid emotion/gp data in there too, which we'll use later!
2020-05-03 01:52:39 -07:00
Matt Dunn-Rankin
5d6b267992
fix outfit resets for emotion/gp
2020-05-03 01:08:43 -07:00
Matt Dunn-Rankin
04a851a138
new endpoint for blob of valid pet poses
2020-05-03 01:04:34 -07:00
Matt Dunn-Rankin
2214fe2815
remove flicker when opening the pose picker
2020-05-03 00:15:03 -07:00
Matt Dunn-Rankin
6c4569656f
try to fix a compiler bug?
...
It looks like, in prod, our lambda fn here got optimized away, and I'm guessing it's because it starts with a comment now? I moved the comment down a line, fingers crossed!
2020-05-02 23:32:45 -07:00
Matt Dunn-Rankin
fc6258f6e9
fix a small mistake in OutfitPreview doAnimations
2020-05-02 23:18:20 -07:00
Matt Dunn-Rankin
a142df86cf
return focus after PosePicker closes
2020-05-02 23:04:31 -07:00
Matt Dunn-Rankin
5ea717c391
better handling of missing poses
2020-05-02 22:59:30 -07:00
Matt Dunn-Rankin
2300fe4fbe
add ID to pet appearance fragment for more caching
2020-05-02 22:41:01 -07:00
Matt Dunn-Rankin
2f8a4df27b
fix PosePicker PetState debug output
2020-05-02 22:40:34 -07:00
Matt Dunn-Rankin
fb902e49f8
default emotion/gp for old outfit URLs
2020-05-02 22:39:25 -07:00
Matt Dunn-Rankin
f828686ac5
cache PetAppearance for quick pose switches
2020-05-02 22:37:52 -07:00
Matt Dunn-Rankin
6e1e0a5c0b
show updated pet appearance in outfit preview!
2020-05-02 22:32:08 -07:00
Matt Dunn-Rankin
a064e5b471
move emotion / gender presentation to outfit state
2020-05-02 22:20:17 -07:00
Matt Dunn-Rankin
fae2a579c2
focus the radio when opening PosePicker
2020-05-02 22:07:47 -07:00