sudara / alonetone

A free, open source, non-commercial home for musicians and their music
https://alonetone.com
MIT License
351 stars 92 forks source link

Rails 7 upgrade with turbo #1087

Closed sudara closed 2 years ago

sudara commented 3 years ago

DEPLOYING REQUIRES CACHE CLEAR

app/packs is no longer a thing since Rails 7, so no moving files is necessary, everything stays in app/javascript

GOAL:

REALITY:

Player QA Issues

TASKS:

Frontend:

QA:

sudara commented 3 years ago

@ofsound I went ahead and added inline errors to the login form.

I was wondering if you could look at the html and css in user_sessions/new.html.erb and login.html.erb and the css there to determine the best shared path for the form styles....

You'd have to yarn install for this branch and restart bin/webpack-dev-server, if there's problems, blow away the node_modules dir.... Additionally, be aware that javascript has now moved into app/packs and therefore there some 5% chance you might have to manually move MorphSVGPlugin.js into the right place? Not totally sure since git is told to ignore that file.

jlmitch5 commented 3 years ago

I checked out this branch and it seems to work great on latest node 16 (nvm install 16 / nvm use 16 ...right now it's version 16.10.0). I'd recommend adding a note to use that version in the contrib doc.

sudara commented 2 years ago

@ofsound It looks like there's some new jank when changing tracks — not sure if it's a byproduct of the changed css?...

There's an intermediate state right after clicking a track where the sidebar jumps, maybe because the #playlist-track is empty or .track_content is not there and that's problematic somehow.

image

https://user-images.githubusercontent.com/472/148791767-66e60760-c3d2-44b8-85f2-767d988565a9.mp4

sudara commented 2 years ago

@ofsound Ok, this is ready for player QA on single and playlist playback.... I'm going to take a look at tests next....

ofsound commented 2 years ago

https://user-images.githubusercontent.com/407724/149046044-9310f61c-3ef3-468f-ac84-792f0dd07b9f.mov

https://user-images.githubusercontent.com/407724/149046104-cffb6b4a-44bf-4069-900c-250d111e78ae.mov

https://user-images.githubusercontent.com/407724/149046489-4dd8e56c-db83-48f5-bcb9-0f9228ba0e94.mov

sudara commented 2 years ago

@ofsound All of these are resolved except the "multiple of the same track" problem. I'm going to open up an issue for that one, as it will require some backend shuffling....

deploy deploy deploy?.... wanna do one more poke around?

sudara commented 2 years ago

Ok, I fixed the multiple tracks thing. You can't link to anything other than the first copy, but you can at least select the tracks in the sidebar and stitches will let you jump between them as different tracks.