Day 31 - Zoom out

Count
227
Created on
Aug 28, 2021 06:50 AM
Last edited time
Aug 28, 2021 06:50 AM
Don't you just love it when you're gaining great momentum on your side project? You're on the roll. Things are going well. Then suddenly you hit a blocker. Why isn't this working? Why won't this feature appear on the screen where I want it to? Where did I go wrong?
 
Okay. Take a step back, and zoom out. Are you too focused on the details? Don't forget the bigger picture.
 
This was me earlier when I was trying to solve a problem - a "favourite" button feature for VSJO. It took me some time to figure out what I did wrong. I couldn't pinpoint where the problem was. I tried watching the tutorial again and again, but it doesn't explain the issue I was facing.
I'm trying to think back, but I think it was when I decided to take a step back and notice the screen I'm on.
One screen was for editing a form and the other was for viewing the entry. Two different functions. But I was adding the same technique to both of them, which wasn't correct! It turned out I was creating a whole new toggle *outside* of the edit form. I could have added the "fav" button in the form itself, since all the other fields are one with the same collection too.
 
Lesson learned.