[GH-ISSUE #24] Request: Progress indicator #9

Closed
opened 2026-05-07 00:17:15 +02:00 by BreizhHardware · 2 comments

Originally created by @aroundmyroom on GitHub (Jan 6, 2023).
Original GitHub issue: https://github.com/glenndehaan/unifi-voucher-site/issues/24

Originally assigned to: @glenndehaan on GitHub.

When submitting a request for a voucher, when using on ie. a Cloudkey Gen2 plus it can take some time for the controller to react
See here:
The request is send at 7.43.21 and the person who requested the voucher had to wait for more than 30 seconds before there was an answer of API of the controller to get an voucher.

So maybe you can add after submitting a ' loading / progress' indicator that you are waiting an answer of the controller
Now the screen does not show anything and you wonder if your submit actually worked

NB. this slow speed does not happen all the time. But seems behaviour of the CloudkeyGen2 plus

Jan 6 07:42:50 voucher server.sh[46631]: [Web]: /
Jan 6 07:42:51 voucher server.sh[46631]: [Web]: /dist/style.css
Jan 6 07:42:51 voucher server.sh[46631]: [Web]: /images/bg-1.jpg
Jan 6 07:42:51 voucher server.sh[46631]: [Web]: /manifest.json
Jan 6 07:42:51 voucher server.sh[46631]: [Web]: /images/unifi-icon.png
Jan 6 07:42:51 voucher server.sh[46631]: [Web]: /images/favicon.ico
Jan 6 07:43:06 voucher server.sh[46631]: [Web]: /
Jan 6 07:43:21 voucher server.sh[46631]: [Web]: /voucher?code=0000&type=480,0,,,
Jan 6 07:44:41 voucher server.sh[46631]: [Web]: /images/bg-7.jpg
Jan 6 07:44:41 voucher server.sh[46631]: [Web]: /manifest.json

Originally created by @aroundmyroom on GitHub (Jan 6, 2023). Original GitHub issue: https://github.com/glenndehaan/unifi-voucher-site/issues/24 Originally assigned to: @glenndehaan on GitHub. When submitting a request for a voucher, when using on ie. a Cloudkey Gen2 plus it can take some time for the controller to react See here: The request is send at 7.43.21 and the person who requested the voucher had to wait for more than 30 seconds before there was an answer of API of the controller to get an voucher. So maybe you can add after submitting a ' loading / progress' indicator that you are waiting an answer of the controller Now the screen does not show anything and you wonder if your submit actually worked NB. this slow speed does not happen all the time. But seems behaviour of the CloudkeyGen2 plus Jan 6 07:42:50 voucher server.sh[46631]: [Web]: / Jan 6 07:42:51 voucher server.sh[46631]: [Web]: /dist/style.css Jan 6 07:42:51 voucher server.sh[46631]: [Web]: /images/bg-1.jpg Jan 6 07:42:51 voucher server.sh[46631]: [Web]: /manifest.json Jan 6 07:42:51 voucher server.sh[46631]: [Web]: /images/unifi-icon.png Jan 6 07:42:51 voucher server.sh[46631]: [Web]: /images/favicon.ico Jan 6 07:43:06 voucher server.sh[46631]: [Web]: / Jan 6 07:43:21 voucher server.sh[46631]: [Web]: /voucher?code=0000&type=480,0,,, Jan 6 07:44:41 voucher server.sh[46631]: [Web]: /images/bg-7.jpg Jan 6 07:44:41 voucher server.sh[46631]: [Web]: /manifest.json
BreizhHardware 2026-05-07 00:17:15 +02:00
Author
Owner

@glenndehaan commented on GitHub (Jan 15, 2024):

Hi,

I forgot that this issue was still open. I have implemented a basic spinner on submit.

Kind regards,
Glenn

<!-- gh-comment-id:1892613861 --> @glenndehaan commented on GitHub (Jan 15, 2024): Hi, I forgot that this issue was still open. I have implemented a basic spinner on submit. Kind regards, Glenn
Author
Owner

@aroundmyroom commented on GitHub (Jan 16, 2024):

Thanks Glenn!
Will have to check if all keeps working as there was an issue with an dependency and that change should not be reverted ;)

<!-- gh-comment-id:1893772089 --> @aroundmyroom commented on GitHub (Jan 16, 2024): Thanks Glenn! Will have to check if all keeps working as there was an issue with an dependency and that change should not be reverted ;)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/unifi-voucher-site#9
No description provided.