mirror of
https://github.com/glenndehaan/unifi-voucher-site.git
synced 2026-05-09 08:25:29 +02:00
[GH-ISSUE #24] Request: Progress indicator #9
Labels
No labels
bug
enhancement
pull-request
question
question
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/unifi-voucher-site#9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@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
@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 ;)