gasp development log: year 1, week 2
I still hate databases.By Tibet Tornaci | Tue, 17 Jan 2023 00:00:00 GMT | 2 minutes read
Year 1, Week 2
New Features
Variant Sets
Multiple pictures! In one post! Oh my!
Minor changes
- Tags can now only be edited in the edit page.
- Transparent images now have a checkerboard background.
- Switched JXL.js to render PNG instead of JPEG to preserve transparency.
- Removed a few
console.log()s. - The edit profile button is only visible on your own profile now.
- The share button works now!
- Mobile layouts now have multiple columns.
Bugs Squashed
- Fixed a bug where attempting to upload might return the wrong HTTP status code (300 instead of 302), resulting in the inability to upload again. If this is happening, clear the site data and it should be good after you log back in.
- Fixed a bug where the username wasn't in sync across the application when updated.
- Fixed a bug where JXL.js wasn't being linked during the build process.
- Fixed a bug where the AI options are missing from the new uploader.
- Fixed a lot of problems caused by changing usernames.
- Fixed a bug that caused extra whitespace on mobile layouts.
- The layout now looks much less horrendous on tablets held vertically.
Known Bugs
- Currently using the single thread version of JXL.js due to some browsers (namely Safari) not supporting WebAssembly SIMD. Feature detection will be added to serve the faster version to browsers that can make use of it.
- There is a bug where going back after opening an image resets your scroll position to the top. This isn't really a problem until we get a lot of posts though, so get sharing. :)
- There is a dropdown for selecting the profile type when creating your profile; it doesn't actually do anything and will be removed.
- Deleting posts results in an HTTP 405 error. The posts are deleted fine, but you get the error in exchange!
Planned for this week
- [ ] Make the tag input nicer.
- [ ] Onion skinning variants.
- [ ] Resorting and renaming variants.
- [ ] Direct links to variants.
- [ ] New post type: Manga/Comic
- [ ] Panning and zooming into images
Maaaaybe if I have the extra time I'll look into implementing an animated post type as well. I really want to do it right, with a frame-by-frame viewer, and variant support so people can show off their process.
I'd also like to look into some more backend stuff. Notifications, probably.
Between developing this, trying to get a job, and my 3x accelerated winter class, I haven't had much of a time to do anything, but at least I have been able to keep working on this project every day. I'm not taking many classes next semester, so I plan to really go into gasp then. Even if I end up finding a job, (very unlikely, based on historical trends) while that means less time for the code side, it also lets me do things that require money, that there is no way for me to do now, so I think development should really pick up in either March or April no matter what.
Happy sharing! https://gasp.256.fyi