Today wasn't a big output day, but a lot got questioned.
localStorage for the light/dark toggle actually works now, remembers what you chose. Took some understanding and breaking things to get there, more me learning than anything. Also learnt about duplicating code, I was writing the same two lines two or three times over, so pulled it into a small helper instead.
Next was slug trimming. Turns out pointless right now, since I still add posts manually in Supabase and just choose the length myself. Dropped it until it's actually needed.
Revalidate timing went from 60 seconds to 43200, every 12 hours. I'm not posting often enough to need it faster. If that changes, I'll drop it to 6. Eventually, once I build a proper dashboard for adding posts, the real fix is having it auto-revalidate the moment a post goes live, rather than waiting on a timer at all.
Last one, commit messages. More a GitHub habit than a code thing, but wanted to challenge it anyway. Right now mine are messy, loud, a bit all over the place. Looked into Conventional Commits, feat:, refactor:, that kind of thing. Quickly realised it's not really for me right now. I'm a solo dev, still learning. The ceremony's not buying me anything yet.