unkey icon indicating copy to clipboard operation
unkey copied to clipboard

`Reset Filters` button on `/ratelimits/:id/logs` redirects to `/audit` page

Open unrenamed opened this issue 1 year ago • 23 comments

Preliminary Checks

  • [X] I have reviewed the documentation: https://unkey.com/docs

  • [X] I have searched for existing issues: https://github.com/unkeyed/unkey/issues

  • [X] This issue is not a question, general help request, or anything other than a bug report directly related to Unkey. Please ask questions in our Discord community: https://unkey.com/discord.

Reproduction / Replay Link (Optional)

No response

Issue Summary

The Reset Filters button on the /ratelimits/:id/logs page incorrectly redirects users to the /audit page instead of resetting the filters on the current logs page.

Steps to Reproduce

  1. Navigate to the /ratelimits/:id/logs page.
  2. Apply any filters to the logs (e.g., identifier, IP address) that result in no data being returned.
  3. Click the Reset Filters button.
  4. Observe the redirection to the /audit page instead of the expected behavior.

Expected behavior

When the Reset Filters button is clicked, the user should remain on the /ratelimits/:id/logs page. All applied filters should be cleared, displaying the default log view without redirection to another page.

Other information

No response

Screenshots

image

Version info

- OS:
- Node:
- npm:

unrenamed avatar Oct 13 '24 17:10 unrenamed

/award 150

perkinsjr avatar Oct 13 '24 17:10 perkinsjr

Awarding unrenamed: 150 points 🕹️ Well done! Check out your new contribution on oss.gg/unrenamed

oss-gg[bot] avatar Oct 13 '24 17:10 oss-gg[bot]

/assign

chetansharma-meta avatar Oct 13 '24 18:10 chetansharma-meta

Assigned to @chetansharma-meta! Please open a draft PR linking this issue within 48h ⚠️ If we can't detect a PR from you linking this issue in 48h, you'll be unassigned automatically 🕹️ Excited to have you ship this 🚀

oss-gg[bot] avatar Oct 13 '24 18:10 oss-gg[bot]

/assign

shashankpatil28 avatar Oct 13 '24 19:10 shashankpatil28

This issue is already assigned to another person. Please find more issues here.

oss-gg[bot] avatar Oct 13 '24 19:10 oss-gg[bot]

/assign

Sans25VS avatar Oct 14 '24 05:10 Sans25VS

This issue is already assigned to another person. Please find more issues here.

oss-gg[bot] avatar Oct 14 '24 05:10 oss-gg[bot]

/assign

saiteja-in avatar Oct 14 '24 07:10 saiteja-in

This issue is already assigned to another person. Please find more issues here.

oss-gg[bot] avatar Oct 14 '24 07:10 oss-gg[bot]

/assign

spawade99 avatar Oct 15 '24 18:10 spawade99

This issue is already assigned to another person. Please find more issues here.

oss-gg[bot] avatar Oct 15 '24 18:10 oss-gg[bot]

/assign

div000-321go avatar Oct 15 '24 18:10 div000-321go

This issue is already assigned to another person. Please find more issues here.

oss-gg[bot] avatar Oct 15 '24 18:10 oss-gg[bot]

@chetansharma-meta, Just a little reminder: Please open a draft PR linking this issue within 12 hours. If we can't detect a PR in 12h, you will be unassigned automatically.

oss-gg[bot] avatar Oct 18 '24 06:10 oss-gg[bot]

/assign

mohdshubair313 avatar Oct 18 '24 14:10 mohdshubair313

This issue is already assigned to another person. Please find more issues here.

oss-gg[bot] avatar Oct 18 '24 14:10 oss-gg[bot]

/assign

mohdshubair313 avatar Oct 19 '24 04:10 mohdshubair313

This issue is already assigned to another person. Please find more issues here.

oss-gg[bot] avatar Oct 19 '24 04:10 oss-gg[bot]

This issue is already assigned to another person. Please find more issues here.

oss-gg[bot] avatar Oct 19 '24 13:10 oss-gg[bot]

/assign

Vardhaman619 avatar Oct 21 '24 10:10 Vardhaman619

This issue is already assigned to another person. Please find more issues here.

oss-gg[bot] avatar Oct 21 '24 10:10 oss-gg[bot]