Today was literally awful. No joke, awful.
So all I did today was try to fix one single bug. Yes, that is right, one single bug.
So what is this bug that took me so long? It was quite a weird bug. Any time I would click on something interactive (more prevalent on the project page), the page would reload.
Weird, but I looked through the code to see if maybe I made a mistake and refreshed the page or called setState() wrong. I couldn’t find anything. I was getting desperate. I have already spent 2 hrs on this, and I needed to fix this. And of course, most of it didn’t count for hackatime, so that is great. Eventually, I had enough, and I used AI. And of course, that didn’t work either. I probably spent 25% of my copilot allowance just on that and got nowhere. Then I asked it to just write extensive debug logs of everything, and to my surprise, it worked. We found the issue turned out to be a bug in the deferred page system, so we got that fixed, and now it works. yay!
Oh, also, I added a survey to the shipping process.
What I did today:
- Fix a bug that caused the page to rebuild and cause other weird behavior
- Add survey to ship
Video of how it doesn’t reload every time now.