Compare commits

..

2 commits

Author SHA1 Message Date
03f38c6461 Upgrade to Yarn 4.0.2
Unlike previous attempts to do future-Yarn, this seemed to just mostly
go swimmingly, idk why! (I moved to a new computer and installed new
Yarn without really thinking, and hey nice!)

There was an issue where it was trying to do some glob expansion in
one of the arguments for the `build` script, fixed! (Idk why Yarn has
its own glob expansion and different from previous versions, but ok!)
2024-01-14 23:05:53 -08:00
d4e77b9ad9 Remove Pardon Our Dust message and page
I think it's served its purpose! I'll do more updates in another venue
sometime probably!
2024-01-14 23:00:23 -08:00
11 changed files with 4852 additions and 3626 deletions

1
.yarnrc.yml Normal file
View file

@ -0,0 +1 @@
nodeLinker: node-modules

Binary file not shown.

Before

Width:  |  Height:  |  Size: 484 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

View file

@ -20,7 +20,6 @@
@import outfits/index @import outfits/index
@import outfits/new @import outfits/new
@import pets/bulk @import pets/bulk
@import static/pardon_our_dust
@import static/terms @import static/terms
@import swf_assets/links @import swf_assets/links
@import users/top_contributors @import users/top_contributors

View file

@ -3,38 +3,6 @@
body.outfits-new body.outfits-new
+campaign-progress +campaign-progress
.pardon-our-dust
border: 1px solid #3d8bfd
border-radius: .5em
color: #084298
padding: .25em .5em
margin-bottom: 1em
display: grid
grid-template-areas: "thumbnail header" "thumbnail body1" "thumbnail body2"
grid-template-columns: auto 1fr
column-gap: .75em
align-items: center
.thumbnail
grid-area: thumbnail
border: 1px solid #cfe2ff
border-radius: .25em
width: 60px
height: 60px
header
grid-area: header
font-weight: bold
font-size: 1.25em
p
margin-bottom: 0
line-height: 1.75
a
color: #0a58ca
#pet-not-found #pet-not-found
display: none display: none

View file

@ -1,17 +0,0 @@
body.static-pardon_our_dust
.header-image
max-width: 100%
.post-header
margin-bottom: 1em
h1
margin-bottom: .125em
.posted-at
font-size: 75%
main
ul
padding-left: 2em
margin-bottom: 1em

View file

@ -4,16 +4,6 @@
%p#pet-not-found.alert= t 'pets.load.not_found' %p#pet-not-found.alert= t 'pets.load.not_found'
%section.pardon-our-dust
= image_tag 'pardon-our-dust/worker.png', class: 'thumbnail',
alt: 'A blue Kacheek wearing a construction hat, pencil over ear, looking at a blueprint'
%header Pardon our dust!
%p
A surprise tech issue shut down the site, oops! We're fixing it by releasing this beta version a bit early!
%p
There's some rough edges, and also some new things we think you'll like, too!
= link_to "Here's the details.", pardon_our_dust_path
#outfit-forms #outfit-forms
- localized_cache :action_suffix => 'outfit_forms_intro' do - localized_cache :action_suffix => 'outfit_forms_intro' do
#pet-preview #pet-preview

View file

@ -1,95 +0,0 @@
- title 'Pardon our dust!'
- hide_title_header
= image_tag 'pardon-our-dust/header.png', class: 'header-image',
alt: 'Fyora directing a Yurble worker, as other faeries help rebuild Faerieland in the background'
%header.post-header
%h1#title Pardon our dust!
.posted-at Posted by Matchu on October 12, 2023
%main
:markdown
Hi, friends! There's a few interesting things happening right now, sorry for
the mess! Here's what's up.
## Welcome to the new-old site!
After working on our new-ish [Impress 2020][impress-2020] site the past
few years, we've decided it's not entirely the direction we want to go
after all. But also not entirely *not*? We love the HTML5 support, we love
how it looks on mobile, and we love some of the new trading features. But
in hindsight, we don't think the tech we used is a good choice for the
long-term, and we want to help Neopets customization stick around for
decades to come.
**So, we're merging the best parts of Impress 2020 into the original site!**
We finally caught up on *many* years of technical upgrades, and cleaned up a
*lot* of ancient rubble, so the original site can be a strong foundation for
us again—and then we copied over Impress 2020's most important bits of UI, to
keep things bright and breezy!
Here's what you should notice already:
- **New outfit editor:** The outfit editor is entirely replaced with Impress
2020's modern editor, with support for HTML5 wearables and for mobile!
- **Simplified login:** We used to have a weird second website for login and
account management. That's all merged into the main site now!
- **Improved item page:** We copied over Impress 2020's item previewer, so
you'll be able to see animated items, and get better support for special
colors like Maraquan and Baby!
And behind the scenes, we've made this site's code a *lot* simpler and a
lot more up-to-date, and dependent on fewer external services, so it should
be a lot easier to maintain going forward.
We're still missing some really important things because we're launching
sooner than expected (like outfit saving), but we hope to fill in those
gaps soon!
## Wait, why the sudden update?
One of our service providers recently made a change that's been a long time
coming, but is unusually difficult to work around. In this case, it would
require us to upgrade a *lot* of components of our system that, frankly,
we're years behind on updating.
But this new-old beta site? It's already running on the latest tech, and
depends on a lot fewer external services to begin with. So, as a team with
limited resources, it felt like a better idea to just skip forward to the
beta version that already works, than to split the original site into
*another* version of DTI and have *three* copies of the site we're
maintaining 😅
For the most part, I hope you mostly don't feel much of a difference, and
that most of the changes feel good? But I also know we're shipping it out
earlier than we planned and that's always a bit rough; and I know there are
things about the new outfit editor that still aren't ideal for everyone,
and I hope we can get those attended to once we have our stronger
foundation.
## And sorry about all this…
Sorry for the delay on getting this fixed, there's been a lot of family
things to attend to lately, I hope everyone's been doing okay in the
meantime!!
Earlier this year I put out a call for extra help, and I haven't really
made good on that either, and I'm sorry for that too… soon after, I
realized the help I asked for (continuing to invest in Impress 2020's
missing features) didn't actually feel like the right path forward for the
site long-term—and that the next step for us (unifying the sites) would
kinda be the *worst* time to bring in someone new 😬
It can be a challenging thing, to have a site going for more than ten years
and to not always be in a phase of life to give it the attention it
deserves… and to have the weight of your ten-years-younger self's decisions
to carry around with it 😅 My hope is that, by cleaning up this decade-long
complex sprawling thing, we can build a site that isn't quite so dependent
on the ebb and flow of my own personal life… I don't think we're there yet,
but I'll do my best to get us there!
Sorry for the disruption, and I hope these new changes find you well, friends!
—*Matchu*
[impress-2020]: https://impress-2020.openneo.net/

View file

@ -82,7 +82,6 @@ OpenneoImpressItems::Application.routes.draw do
get '/donate' => 'campaigns#current', as: :donate get '/donate' => 'campaigns#current', as: :donate
# Static pages! # Static pages!
get '/pardon-our-dust' => 'static#pardon_our_dust', :as => :pardon_our_dust
get '/terms' => redirect("https://impress-2020.openneo.net/terms"), :as => :terms get '/terms' => redirect("https://impress-2020.openneo.net/terms"), :as => :terms
# Other useful lil things! # Other useful lil things!

View file

@ -39,7 +39,7 @@
"typescript": "^5.2.2" "typescript": "^5.2.2"
}, },
"scripts": { "scripts": {
"build": "esbuild app/javascript/*.* --bundle --sourcemap --outdir=app/assets/builds --public-path=/assets --asset-names=[name]-[hash].digested --loader:.js=jsx --loader:.png=file --loader:.svg=file --loader:.min.js=text", "build": "esbuild app/javascript/*.* --bundle --sourcemap --outdir=app/assets/builds --public-path=/assets --asset-names='[name]-[hash].digested' --loader:.js=jsx --loader:.png=file --loader:.svg=file --loader:.min.js=text",
"build:dev": "yarn build --public-path=/dev-assets", "build:dev": "yarn build --public-path=/dev-assets",
"dev": "yarn build:dev --watch", "dev": "yarn build:dev --watch",
"lint": "eslint app/javascript", "lint": "eslint app/javascript",

8319
yarn.lock

File diff suppressed because it is too large Load diff