Skip to content
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

Deleting the override doesn't remove it from the overrides. Refreshing it will give you a client side error. #2246

Open
3 tasks done
harshsbhat opened this issue Oct 7, 2024 · 27 comments
Assignees
Labels
Bug Something isn't working

Comments

@harshsbhat
Copy link
Contributor

Preliminary Checks

Reproduction / Replay Link (Optional)

No response

Issue Summary

After deleting the override it is still displayed in the overrides. If you click on it the whole UI breaks

Steps to Reproduce

  1. Go to a /ratelimit and create a new ratelimit
  2. Create a new override and delete it.
  3. It is still displayed under all overrides.
  4. If you refresh it the whole UI will break
    image

Expected behavior

Once deleted it should not be visbile in the ratelimit/id/overrides .

Other information

No response

Screenshots

https://www.loom.com/share/030e5263e3ea44c5bdc1d03c882b790a?sid=53973849-b8a4-49a0-9c5d-18fc91b79fe4

Version info

- OS:
- Node:
- npm:
@harshsbhat harshsbhat added Bug Something isn't working Needs Approval Needs approval from Unkey labels Oct 7, 2024
@chronark
Copy link
Collaborator

chronark commented Oct 7, 2024

We're probably not checking the deletedAt column when doing the query to list all ratelimits

that should fix this I believe

@chronark chronark added 🕹️ oss.gg 🕹️ 150 points and removed Needs Approval Needs approval from Unkey labels Oct 7, 2024
@chronark
Copy link
Collaborator

chronark commented Oct 7, 2024

/award 150

Copy link

oss-gg bot commented Oct 7, 2024

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

@HarshitVashisht11
Copy link

/assign

Copy link

oss-gg bot commented Oct 7, 2024

Assigned to @HarshitVashisht11! 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 🚀

Copy link

oss-gg bot commented Oct 9, 2024

@HarshitVashisht11, 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.

@AakashRao-dev
Copy link

/assign

Copy link

oss-gg bot commented Oct 10, 2024

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

@HarshitVashisht11
Copy link

/unassign

Copy link

oss-gg bot commented Oct 10, 2024

Issue unassigned.

@alokdangre
Copy link

/assign

Copy link

oss-gg bot commented Oct 10, 2024

Assigned to @Studycode001! 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 oss-gg bot mentioned this issue Oct 10, 2024
18 tasks
@Usmanxs
Copy link

Usmanxs commented Oct 11, 2024

/assign

Copy link

oss-gg bot commented Oct 11, 2024

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

@shindebhavika
Copy link

/assign

Copy link

oss-gg bot commented Oct 11, 2024

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

1 similar comment
Copy link

oss-gg bot commented Oct 11, 2024

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

@nilaygit-10721
Copy link

/assign

Copy link

oss-gg bot commented Oct 12, 2024

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

@aniket607
Copy link

/assign

Copy link

oss-gg bot commented Oct 12, 2024

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

@no-naame
Copy link

/assign

Copy link

oss-gg bot commented Oct 14, 2024

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

@Vardhaman619
Copy link
Contributor

/assign

Copy link

oss-gg bot commented Oct 15, 2024

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

@harshsbhat
Copy link
Contributor Author

@Studycode001 Hey are you working on this? Since it has been 3 weeks I would like to take over if you are not working on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests