Upgrade all scripts to modules #116
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "modules-upgrade"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description of Changes
This PR makes literally every script on Auride a module, meaning we can use NPM modules (thanks to Vite), import functions only when needed within other scripts, more verbose errors, and any other benefits modules bring.
Mainly did this for the ability to make Auride an SPA, meaning we can navigate pages without having to refresh the page every time, which will come out... eventually.
Visual Sample
N/A, would be impossible to showcase every page and all the functionality on them.
I did my best to check every page though, and I didn't notice anything broken (unless it was already broken before this PR, that's just bad code.)
Checklist
remove this file
@ -0,0 +5185,4 @@// check if near the bottom, if user is,// hide the login/signup promptwindow.addEventListener("scroll", () => {let loginPrompt = document.getElementById("notSignedIn-banner");i need to remove this. i just wanted to hide the errors for a sec so i could focus on the ones that i needed to look at
this isnt anything serious, and it works fine... unsure why it errors
thats besides the point though
girl its literally all broken
seriously, did you test anything?
yes, and it worked fine and magically broke in prod
lets not, im already stressed about it as is