amplify-hosting icon indicating copy to clipboard operation
amplify-hosting copied to clipboard

Access Log Download button needs a debouncer

Open 0618 opened this issue 3 years ago • 2 comments

Before opening, please confirm:

App Id

No response

Region

all

Amplify Hosting feature

Logging

Describe the bug

The download button didn't work at first, so I clicked it multiple times, then it downloaded multiple times....

Pasted_Image_9_4_22__16_36

Expected behavior

The button should be disabled when unavailable. And it should has a debouncer to prevent sending too many request if the user clicks too frequenctly.

Reproduction steps

  1. go to Amplify Console, monitoring
  2. click "Access logs" tab
  3. click "Download" button

Build Settings

No response

Additional information

No response

0618 avatar Sep 04 '22 23:09 0618

Hi @0618 👋🏽 I just tested this out but was not able to reproduce the behavior. The download button should be grayed out until the logs become available for download. Here is a screenshot of what you should see: Screen Shot 2022-09-15 at 6 03 44 PM

ghost avatar Sep 15 '22 23:09 ghost

It was greyed out (disabled), but when it's enabled again, the issue mentioned above happened.

0618 avatar Sep 15 '22 23:09 0618

Hi @0618 👋 , thanks for your continued patience and we apologize for the delayed response on this thread.

I performed a few tests both in the Firefox and Chrome browsers and was unable to reproduce this behavior. Can you please confirm if you are still running into this issue with the Download button in the Monitoring section of the Amplify Console?

If yes, can you please provide us a HAR capture of it as it will help us understand the API requests and its corresponding responses?

Jay2113 avatar Jun 20 '23 20:06 Jay2113

This issue has not received a response in a while. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.

github-actions[bot] avatar Jun 23 '23 21:06 github-actions[bot]

This issue has been automatically locked.

github-actions[bot] avatar Jun 27 '23 21:06 github-actions[bot]