-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Client connecting progress indicator #4
Comments
100% agreed but will be tricky... I think maybe the server should register for the EDPO message and calculate progress based on that plus the total byte count compared to the requested byte count in the Get Memory message? Will have to experiment... |
I think it's better to integrate it into the stack itself. Like a function to get the active transport protocol sessions between two control functions. And then there can simply be a getter to get the progress in fractions/percentages of the total number of bytes transferred. Though then we should consider waiting for Open-Agriculture/AgIsoStack-plus-plus#344 first, because otherwise we are duplicating our work... I think this approach will result in a smoother progress bar than solely depending on EDPO (which can be every 255 frames, and can even reach up to 255*200ms = +/-25 seconds) |
A function to get progress percentage for transportation sessions will be added with Open-Agriculture/AgIsoStack-plus-plus#391 |
Now that your ETP/TP changes are merged, I might be able to knock this out this weekend. I am thinking of drawing a circular progress bar where each working set icon would be drawn once it's fully transferred. |
I was also thinking we'd go down the path of drawing the indicator where the working set icon would be, so that's consistent with the direction I had in my head at least. My initial thought was to use a Juce progress bar with the "arched" style for it, but a percent gives more useful info. |
Actually, the JUCE progress bars can include a percentage, so it might be a bit cleaner to just use that - maybe at least take a look and consider |
Well so far I did it in a stone aged approach: using a rectangle and a text, but I will take a look on Juce's progressbar. |
Add loading indicator in UI that there is a VT client being connected. For really large pools, you think it's hanging, while in practice it is transferring the object pool(s).
The text was updated successfully, but these errors were encountered: