Devlog 5
Loking back and accepting
- this time I saw what happens when you build a project without any proper
system design, - things were so clunky in my application that I was not in mood of creating another groundbreaking feature
- i just spent time
improving existing featuresand make them actually usable
What went down
So basically, I had done a dumb thing very dumb thing. I did not realize that the buttons on the actual keyboard have different states, you know when they are being held down OR they’re being pressed OR they are being released, this info matters and I completely missed it.
-
so now, basically, my key presses have a state
- Down (pressing down)
- Up (releasing the key)
- Pressed (holding the key)
-
So the
SHIFTbutton which I had implemented earlier was onlyclickable, user couldn’tholdit, but the shift button is meant to be held, so I fixed this and other similar buttons likealt,controlandcommand -
Improved the portrait and landscape switching between the views in layout builder. This is just normal UI improvement Nothing special here
-
Other than these two improvements above, there has been numerous other small little improvements which took me a lot of time, so I don’t really have much to write on this devlog, changes are like
- I improved the whole
conditional renderingthing, it was messy as I decided not to usereact routerfor this project as there weren’t any actual pages or URLs, just bunch of different control layouts. - Improve my
state managementto handle menu overlay properly - Overall code quality improvement, creating
utility functionsandtype safety.
- I improved the whole
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.