DAGIT DEVLOG 2
We’ve improved the TUI soo much!! 
What I’ve done
- Got
gitlogworking with hash, commit message and the contibuter - Made a somewhat good looking
git visualizerand fixed the horizontal and vertical border issue caused by big lines (reference mainly) - Styled the
git visualizerwith charm’slipgloss - Fixed border issues in the
footerandgit logtoo - Also made
dagitresize 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 keybind
rto 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 graphfrom git and then we spread the graph by usingSpreadGraphfunction ingraph.goto 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 togit 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
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.