Closed kyu08 closed 1 month ago
Thanks for working on this @kyu08, looks great! Just a couple of comments:
ctx.Theme.SecondaryText
could work well. WDYT?I don't actually recall what it does atm with a long list... It paginates?
Wouldn't be it beter to behave like, say, vim and not actually highlight the bottom couple until it's actually the bottom couple? That's how most people configure their text editor, and I believe this behaviour is supported by native components isn't it?
wdym @Omnikron13? Like vim's scrolloff
?
Yeah. At the resolution I'm normally at it takes a hell of a large list to actually see what happens with a full screen+ of items. Bumping up my font size to comical levels it seems that is the current behaviour? Is that configurable? I haven't dug too much into config options honestly
On 31 May 2024 21:40:17 BST, Dolev Hadar @.***> wrote:
wdym @Omnikron13? Like vim's
scrolloff
?-- Reply to this email directly or view it on GitHub: https://github.com/dlvhdr/gh-dash/pull/364#issuecomment-2142949030 You are receiving this because you were mentioned.
Message ID: @.***>
My lax attitude to issues and PRs is rather why good tooling that doesn't make me leave the terminal to pleasantly interact with... well, practically every part of GitHub tbh. Spent literal a couple years using a daily driver that didn't even have X installed out a general preferences, and by god have things god notably more pleasant since then as well.
@dlvhdr The color issue has been fixed in 58e9fca9d7dd. The pagination issue has been fixed in b6d5806ed6a7.
Could you review these changes please?
Thanks for fixing my comments :) I think there's another small bug, let me know if you want to fix it or land as is. When refreshing every view with R (capital R) the spinner doesn't spin.
@dlvhdr Thanks for reviewing too!
I think there's another small bug, let me know if you want to fix it or land as is. When refreshing every view with R (capital R) the spinner doesn't spin.
In my environment, I could not confirm reproduction. Can you show me reproduction procedure please?
Not near a computer right now but when you press R you can see the spinner properly working but then when you switch to the next section with l it stops.
@dlvhdr
Thank you for letting me know how to repro. Now I can repro on my environment too.
I took a look around the codes, but I couldn't identify the cause.
For now, how about we merge this PR and discuss this issue separately as you suggested?
Thanks! When I have enough time, I'll take a look at it.
Resolves #363
This is my first PR to gh-dash. So if I'm doing something wrong. Please let me know that. 😅
Summary
Show
Loading...
when gh-dash fetching PRs(not issues because the Tip is showed when issues are being fetched currently)How did you test this change?
Verify
Loading...
is showed when:r
key is pushedR
key is pushedImages/Videos
Before
https://github.com/dlvhdr/gh-dash/assets/49891479/24584df0-9a6b-4444-a325-f0bec1550456
After
https://github.com/dlvhdr/gh-dash/assets/49891479/e2896a10-0440-4f1e-b156-fd64b4072433
I considered to showing
Loading...
on sidebar too. But the message currently showed is suitable too. So I did not change it.