Going ham on authentication
Alright, I've just spent a nice solid 3-4hrs on Synthesia this morning. I came into the day with two primary urges:
- Try to follow best practices on authentication per Next.js docs
- Get auth working to the point that people can actually test the tool
Most of what I spent my time on was learning and so the checkboxes aren't super populated, but here are a few sources I looked into for figuring out auth stuff:
And here are some to-dos I did:
- [x] Fixing routes & authorization:
- [x] Replace /protected with /synthesia
- [x] /synthesia/palettes should be public and tied to a [page_id]
- [x] /synthesia/[page_id] should be public but currently isn’t
- [x] Hide /notes and /todos in an “other” directory just for cleaning up
And here are some things I'm trying to work on for v1.0.0f:
- [ ] Add page for non-users to explore generated palettes or public pages
- [ ] Get artist name, which requires:
- [ ] Users should be prompted to set usernames
- [ ] Edit profile for artists
- [ ] List all public picker pages
- [ ] Get all users but only if they have usernames
- [ ] Link to all user profiles, which requires:
- [ ] Users have public profile pages
- [ ] Link to all user profiles, which requires:
- [ ] Get artist name, which requires:
- [ ] Install @radix-ui/themes
- [ ] Remove radix-ui/themes?
- [ ] Ensure DAL (auth) is implemented in all Server Action
- [ ] Edit Profile

Other
Halfway through the day as I write this so not a ton to put for today, but a few thoughts from the past few days and weekend
- I got a synthesizer! My first piece of proper hardware, not including my MIDI keyboards.
- I also got a cool new computer keyboard. Let's see how long it takes to setup lol.
- Went to a few cool events in the city on Saturday and had an overall good day
- Did not have a great Tuesday
- Monday was fine, got a nice workout in and cooked a nice dinner. I'll take it
- Going to a concert solo tonight for a band I've liked for awhile
- Feeling a bit of a slip in focus on my yearly mantras and feeling the results of it, too. For ZZ it's as simple as doing it and it will pay off
- I did get a nice reflection in on my 25 in '25, which is also a good practice.
- ← Previous
What I Did Today: 21-Feb