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

39m 47s logged

Devlog #2: Infinite Canvas + Keyboard shortcuts.

Since this mission is about making life easier, i realised that always switching between mouse and keyboard to just move around and stuff is a bit ironic. So, I rewrote how the entire workspace behaves.

Changes:

Drag & Pan: I threw out standard scrollbars entirely. Now, the background is like an infinite canvas. You can click and drag anywhere to pan around, or use your trackpad to move in any direction.

Keyboard Shortcuts: I wanted to make it possible to map out an entire codebase without ever touching the mouse. I split the branching logic into two intuitive shortcuts:

  • Ctrl + Enter drops down to create a child branch (diving deeper into an idea).
  • Ctrl + B creates a parallel sibling branch right next to you (exploring an alternative idea).
  • Arrow Key Navigation: You can now move through the branches tree using Ctrl + Arrow Keys. Heading Up takes you to the parent thought, Down dives into the branches, and Left/Right hops between parallel options.
  • Ctrl + delete/backspace deletes the current branch/texarea that you are on. If you delete a branch, the cursor shifts focus to the parent node so your typing flow never breaks.

Some problems: Fixed a frustrating bug where the connecting lines were off by a single pixel on the outermost branches. Using a calc(), the layout is now completely locked in and perfectly aligned.

Next up, I’m diving into LocalStorage so the canvas automatically saves your notes in the background.

0
3

Comments 0

No comments yet. Be the first!