psdtools / phs-map Goto Github PK
View Code? Open in Web Editor NEWA map of Pattonville High School
Home Page: https://psdtools.github.io/PHS-Map/
A map of Pattonville High School
Home Page: https://psdtools.github.io/PHS-Map/
When the user makes a mistake and reloads, we don't let them fix their mistake.
After I removed most inline styles, the button for moving between classes no longer gets un-display:none
'd.
Level 0's cropped differently from levels 1 and 2, and so it doesn't line up.
Dependabot doesn't support bun, so I turned it off. Currently, some deps are outdated as a result. As a side note, we might want to use renovate because it does support bun.
Might improve perf, will definitely improve DX and error messages.
Lines 68 to 75 in 48bbe96
PHS-Map/src/data/data-types.ts
Lines 43 to 47 in 48bbe96
In localstorage, we write all of the classes, but when we restore classes from localstorage, only the first class is restored. I think we're passing in the wrong data to createCourse
, but I'm not sure.
You wouldn't need fonts/
or pathing/
, they'd be automatically bundled without needing them to be checked in.
Everything works fine locally, but vite, both 4 & 5 are acting up in CI.
When we migrated to ESM, it implied strict mode. I simply added a bunch of globals, so there are probably some behavior quirks. Let's scope those variables to go back to the old behaviors.
Lines 56 to 83 in 48bbe96
Turbo and Bun are a pain. Turbo's lack of coloring is so bothersome that I think we should switch to Nx, and anyway Nx has better perf nowadays. Bun is so new, it's not well supported. Thus, I propose using Yarn instead seeing as it's more complete and as of v4, it also has pnpm's speed and doesn't use zero-installs, which were why we'd used pnpm previously.
We currently don't show any validation errors, we just silently fail. That's a bad user experience. Let's use the zod-validation-error
to create user-friendly errors, and then wire them up so that they can be seen by users so that there's feedback when they make a mistake.
Keeping the Map and the Calculator is sync is getting annoying. Now that Tailwind's Oxide engine and LightningCSS integration is in alpha,1 there's no longer a major reason for us not to put everything in a single monorepo. This would involve using Bun's https://bun.sh/docs/install/workspaces feature, and properly configuring Turborepo.
I hadn't wanted to keep them together if one would need PostCSS and the other wouldn't. โฉ
Currently, getting data back from localstorage
is a pain and very buggy. We should fix that! I'm planning on using Zod to manage validation, and re-doing all of the state using it. Async is potentially faster for larger data, and using unstorage
allows for cross-platform storage in the future. Hopefully, the increased type-safety from Zod will help the API enough to help me fix the bugs.
Hey, @ParkerH27! I got the branch stuff to work, so if you could go to the branches page and fix the default branch, that would be most obliging. Once that's happened, the @PSDTools version can be deleted, and then you can switch the owner of this repo to be @PSDTools. Thanks!
Use vite-plugin-remote-assets
instead of manual vendoring.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.