Josh Hansen @me@joshhansen.tech

Hacker-poet. Learn Something cofounder & CTO. Creator of Seattle Poetry Meetup. To me everything is craft; everything is creativity.

Jack of all trades, but master of some. Typescript, Rust, Kotlin, Python—collector of programming languages since age 11. Deep neural networks, reinforcement learning, AI if you must....

Project concepts and progress; kind-hearted smackdowns; quesadilla technique if you're lucky.

Github

https://github.com/joshhansen

LinkedIn

https://www.linkedin.com/in/hansen-josh

  • Notes
  • Articles
  • Remote follow
Josh Hansen's avatar
Josh Hansen
@me@joshhansen.tech

Today: deepening my knowledge of relm4. My immediate objective is to add a files list to the sidebar. Once files are selectable, I'll show a file view in the main pane.

I spent a while reading up on Relm's factories, but kept wondering how they relate to GTK's own list views. The Relm docs recommend using GTK directly for lists with many items---I think all the files in a git commit / working directory probably qualify.

Question I've been pondering: if Git Kit (or whatever this thing is called) is going to be a sort of combination of git gui and gitk with a dash of GitLens thrown in, then we'll have to represent the relationship of commits to each other, and of each commit to its file tree, and of each file to the commits that created it.

All at once?

Which is, like, a tall order.

gtk-rs overview - GUI development with Relm4 relm4.org
  • permalink
  • interact from your instance
  • 4 months ago
Powered by microblog.pub 2.0.0+ce6f9238 and the ActivityPub protocol. Admin.