You are browsing as a guest. Sign up (or log in) to start making projects!

2h 27m 36s logged

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 features and 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.

  1. so now, basically, my key presses have a state

    1. Down (pressing down)
    2. Up (releasing the key)
    3. Pressed (holding the key)
  2. So the SHIFT button which I had implemented earlier was only clickable, user couldn’t hold it, but the shift button is meant to be held, so I fixed this and other similar buttons like alt, control and command

  3. Improved the portrait and landscape switching between the views in layout builder. This is just normal UI improvement Nothing special here

  4. 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

    1. I improved the whole conditional rendering thing, it was messy as I decided not to use react router for this project as there weren’t any actual pages or URLs, just bunch of different control layouts.
    2. Improve my state management to handle menu overlay properly
    3. Overall code quality improvement, creating utility functions and type safety.

and a lot of my time is invested in learning Rust as this is like my second project in rust (i leanred rust like a year ago and now i remember nothing, thanks to my good c++, i have held my ground so far)

Bottom line → Better UI and UX, button can now be held and tracked weather they are being pressed or released

0
2

Comments 0

No comments yet. Be the first!