hackernews-TUI icon indicating copy to clipboard operation
hackernews-TUI copied to clipboard

The greatest TUI client so far, bat the progress [bar] is absolute must!

Open ink-splatters opened this issue 4 years ago • 3 comments

Hi,

thanks a lot for just the greatest HN TUI! fantastic work! The only thing is lacking and, IMHO, it's a major issue (but very easy to add): the loading progress visualisation. Otherwise it feels like your brain is itching inside, lol :) Almost physical thing!

Or if by some reason there is one and I'm missing it... Just let me know :)

Thanks!

ink-splatters avatar Nov 10 '21 12:11 ink-splatters

Hi @ink-splatters, thank you for your kind words.

Regarding the loading progress visualisation, are you referring the time when loading stories, comments, etc?

Currently there is a simple loading screen (not a progress bar) for those:

https://user-images.githubusercontent.com/40011582/141149270-00ec8d8a-83d9-4744-be5b-22eed95dce16.mov

One reason that I don't use progress bar is because it's hard to estimate the time needed to finish an API call to the Hacker News server.

Edit: if you have any suggestions or things I can look into for reference, please let me know!

aome510 avatar Nov 10 '21 16:11 aome510

@aome510 thank you very much for getting back to me. It's sort of a shame I didn't notice it, maybe I need to check if I'm blue color - blind:)

but just in case if this feedback helps, you may want to make the progress bar to stand out more, e.g. by making it thicker :) just saying :)

Regarding the API call time: can't you rely on Content-Length? or it's not guaranteed to present? (you could then update the status every time you receive a new buffer).

ink-splatters avatar Nov 11 '21 18:11 ink-splatters

but just in case if this feedback helps, you may want to make the progress bar to stand out more, e.g. by making it thicker :) just saying :)

Regarding the API call time: can't you rely on Content-Length? or it's not guaranteed to present? (you could then update the status every time you receive a new buffer).

Great! Thanks for the feedback. I'll look into those and see what I could do.

aome510 avatar Nov 11 '21 22:11 aome510