65f74897da
Fix alignment for outfit badges
...
Woof, I haven't done a big screen in a while, centering them is yikes!
2021-03-13 02:06:34 -08:00
99e887105c
Copy tweak for OutfitKnownGlitchesBadge
2021-03-13 02:02:34 -08:00
da2b8813c2
Oops, fix HTML5 badge for Flying in an Airplane
...
Oops, the HTML5Badge was using the presence of an `svgUrl` to decide if the item is converted!
Here, we add an extra condition that if the OFFICIAL_SVG_IS_INCORRECT glitch is applied, then *that* indicates HTML5 conversion, too.
2021-03-13 02:00:32 -08:00
5a74b9df8f
Add glitch message for OFFICIAL_SVG_IS_INCORRECT
2021-03-13 01:58:06 -08:00
6ebbc4af02
Explain Static UC conflict in a new glitch UI
2021-03-13 01:48:12 -08:00
d7fe05c42c
Refactor: Extract OutfitHTML5Badge
...
I'm gonna add glitch stuff too, and I want all this better encapsulated!
2021-03-13 01:33:00 -08:00
d44315de2c
Oops, actually Static hides UCs!
2021-03-13 01:08:48 -08:00
56dd2bbdd7
Hide Static zone for UCs, just like restricteds
2021-03-13 00:51:13 -08:00
e423affa6d
Homepage updates Mar 12
2021-03-12 07:58:33 -08:00
56e9df719a
Stop encoding punctuation in item search bar
...
Typing "foo:bar" would re-encode to "foo%3Abar"!
2021-03-12 07:44:59 -08:00
bdc4cdf46b
Use official PNG when available, instead of ours
...
This was one more bit that needed fixing for "Flying in an Airplane": it wasn't just the official SVG that was incorrect, but also the official SWF. So our converted PNG was also incorrect!
Here, we now try to use the official Neopets PNG when the manifest provides it, instead of our own.
2021-03-12 04:28:57 -08:00
0aaf1adb29
Add Support tool for OFFICIAL_SVG_IS_INCORRECT
...
Inspired by the "Flying in an Airplane" bug (item 82287), where the official SVG (and I think SWF) were visually glitched and included both zones in the image, but the official PNG was correct.
This flag lets us use the PNG, like the official player does—but only for this item, while still keeping SVGs for everyone else!
2021-03-12 04:01:35 -08:00
15d4a27657
Link to both new and old manifests in item support
2021-03-11 08:52:46 -08:00
46066807ad
Update to the new manifest URL format
...
I guess they dropped the hashes! Well, we're very behind on conversion now lol!
2021-03-11 02:16:42 -08:00
d5336cafc4
Add manifest & movie buttons to item support modal
...
Helpful for debugging HTML5 conversion and making sure we're up to date!
2021-03-11 02:04:04 -08:00
7ca548bae0
Wire up the NC support tool for real!
2021-02-22 19:37:24 -08:00
9b16cb8f91
[WIP] Add PB field to NC support tool
...
Just for clarity!
2021-02-22 19:24:33 -08:00
0ae26a6633
[WIP] UI for isManuallyNc support tool
2021-02-22 19:11:03 -08:00
281fdccb89
Upgrade Chakra, remove tooltip flicker workaround
2021-02-22 19:00:47 -08:00
614dc0795a
Switch to bottom tooltips for zone/html5 info
...
I've decided that covering up the species faces with other species info is too weird! It feels like it's removing some ability to cross-reference.
A cool UI affordance would be to have this and the faces interact with each other, like you can hover to highlight the relevant species faces, or even vice-versa, to show the relevant zones for this species. But that's probably way overkill for this relatively niche feature.
2021-02-12 18:35:16 -08:00
b276714fc1
Oops, fix layout bug in restricted zones
...
Too much nowrap! Looked very bad on "Ceremonial Shenkuu Warrior Armour", lol
2021-02-12 18:33:14 -08:00
8e806d178d
Visually de-emphasize species counts for zones
2021-02-12 18:31:12 -08:00
09cc2e6a2b
Don't allow line breaks in zone list items
...
Some looked really bad in the new design, like Jewelled Staff, which was breaking between the words "2 species", making a real bad tooltip target too.
Now, there's no line breaks allowed inside a list item at all! We force it to break between items, instead. (Could have also maybe implemented this with flex wrapping? This seemed like a straighter path, but…)
2021-02-12 18:25:08 -08:00
7183f0725c
Add zone restrict to item page, too
...
I knew I was forgetting something! lol
2021-02-12 18:15:45 -08:00
7421f41e58
Move HTML5Badge to zones area
2021-02-12 17:46:33 -08:00
2d58627bdd
Fix species faces container sizes
2021-02-12 17:33:34 -08:00
e0e85b2add
Mention zone info on home page updates section
2021-02-12 16:11:30 -08:00
614bad72d2
Show real zone data on item page
...
And some Cypress specs to test the basic cases!
2021-02-12 16:09:11 -08:00
20f9573e50
[wip] Zone info UI for item page, with fake data
2021-02-12 15:18:54 -08:00
048fb29c14
Refactor item page preview to grid layout
...
because I wanna add zones to the area below the faces!
2021-02-12 14:35:14 -08:00
67784bd5e3
Add prev/next pagination to item search page
2021-02-10 14:23:25 -08:00
86de09b285
Add pet status to wardrobe page HTML5Badge
2021-02-10 14:02:18 -08:00
ab21f3a8a5
Remove unused imports
2021-02-10 13:52:20 -08:00
d2c672667d
Fix performance problem with defaulting to []
2021-02-10 13:51:59 -08:00
bbb752fa65
Extract out layerUsesHTML5
function
2021-02-10 13:50:42 -08:00
10e47115bd
List non-HTML5 items in wardrobe page
2021-02-10 13:47:02 -08:00
0c80491f99
Add HTML5Badge to outfit page
2021-02-10 13:35:34 -08:00
bf85cef922
Fix HTML5Badge tooltip on mobile
2021-02-10 13:20:21 -08:00
2403bd813a
Refactor into WardrobePreviewAndControls component
...
I'm moving the preview and controls stuff closer together in the code, to clear the way to change `OutfitPreview` into a `useOutfitPreview` hook here!
2021-02-10 12:52:00 -08:00
d2240cc5c5
Increase item preview loading UI delay back to 500ms
...
I don't remember why we set it to 200ms before, but it feels too aggressive now. Idk!
2021-02-09 23:10:22 -08:00
a03ae98468
Keyboard accessibility for "item needs models" warning
2021-02-09 22:58:00 -08:00
27f441df36
Don't show "item needs models" for invalid pets
2021-02-09 22:56:31 -08:00
4aade5782f
Don't flicker the HTML5 badge while loading
2021-02-09 22:55:19 -08:00
f11fbbb831
Don't show error pet preview for invalid pet state
...
We could also afford to figure out how to not request appearance data in this situation… but not showing the error message is a good first step lol!
2021-02-09 22:38:40 -08:00
9e49b6ae3e
Fix text color for OutfitPreview
...
Oops, I never actually saw the practically invisible text in light mode! Let's make it actually dark in light mode item pages, and still dark in all wardrobe pages!
2021-02-09 22:36:50 -08:00
b0eeb84d63
Disable "Customize more" for invalid pet
...
Oops, before disabling, we'd build a link with `pose=null`, and that would cause downstream issues on the wardrobe page.
2021-02-09 22:31:50 -08:00
1eb00ba6ca
Fix crash when choosing invalid appearance
...
Oops, I messed up in my `useOutfitPreview` refactor just now! Fixing fixing!
2021-02-09 22:27:22 -08:00
c0e1c78d75
Fix SpeciesFacePicker desktop alignment
...
Oops, I fixed mobile alignment by centering this, but didn't realize I broke desktop alignment! Now we do different alignment on different sizes 😅
2021-02-09 21:48:18 -08:00
f29a269b94
Use prettier focus outline for HTML5Badge
2021-02-09 21:47:12 -08:00
828fb65cf4
Refactor HTML5Badge
...
let's de-dupe that stuff, baby!
2021-02-09 21:45:29 -08:00