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

3h 34m 2s logged

DAGIT DEVLOG 2

We’ve improved the TUI soo much!! :yay:

What I’ve done

  • Got gitlog working with hash, commit message and the contibuter
  • Made a somewhat good looking git visualizer and fixed the horizontal and vertical border issue caused by big lines (reference mainly)
  • Styled the git visualizer with charm’s lipgloss
  • Fixed border issues in the footer and git log too
  • Also made dagit resize when the user makes the terminal window larger but idk why it doesnt work when the terminal window is shortened
  • I also added a resize keybindr to reload the data in the TUI so that the user does not need to stop it and run again for it to update to latest info

Issues faced

I haven’t faced any big issue in particular but figuring out resizing is the only thing that eats my brain

Where I spent the most time

I have spent the most time making the visualizer, lemme explain a little of it’s woking !!

  • First we fetch the git log graph from git and then we spread the graph by using SpreadGraph function in graph.go to make it look a little better
  • Then we get 15 of the graph lines into out TUI and then render it using lipgloss [Man charm’s tool are soo cool and make CLI/TUI look soo good]. Although we don’t see all the 15 lines as we dont have a scroll feature for now

What we are going to do

  • Style it
  • Fetch number of commits done to the repo and display it
  • Add scrollbar to git visualizer
    _ Also add scrollbar to git log -Not sure

What I currently feel

When I was planning to make dagit, I felt it’ll be different and will attract people towards it but it’s not upto my expectation.
I thinking to adding some feature that will make more people use it

0
84

Comments 0

No comments yet. Be the first!