-
Notifications
You must be signed in to change notification settings - Fork 522
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
Creating ratelimit in the new workspace shows it in the personal workspace too #2395
Comments
It seems that all previously loaded data remains cached unless the page is reloaded. After creating a new workspace, you can skip the optional "Choose your adventure" step. When you navigate to any page via the left side menu—such as APIs, Audit Logs, or Rate Limits—you will notice that all pages display data from the previously selected workspace. |
@unrenamed but what's the solution? I don't think that it's the best experience to see this right? |
@harshsbhat I agree with you. This is definitely a bug and the root cause somewhere in the client code that automatically switches to the created workspace. My message was that I can reproduce the issue on my side and it appears to occur not only with ratelimits but other pages as well. |
ah got it. I thought I was not understanding something which was causing the issue. Thanks for clarification though |
P.S. I see the confusion. The issue you found and the one I faced with are a bit different, although something tells me they might be related and fixed together. See the steps:
|
Yeah, this is related to how we currently switch workspaces using clerk, it'll be different soon. Assigning @mcstepp to double check this is fixed in the new implementation |
Preliminary Checks
I have reviewed the documentation: https://unkey.com/docs
I have searched for existing issues: https://github.com/unkeyed/unkey/issues
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
After creating the new rate limit in your workspace ( not personal ). It is still visible in the personal workspace. But if you click on it that will just redirect you to 404.
https://www.loom.com/share/d34c1076ee524a1abeaaabb15306a398?sid=d301ee35-5022-4f77-a37e-9c60343d8171
Steps to Reproduce
Expected behavior
Ideally it shouldn't be visible after switching workspaces
Other information
No response
Screenshots
No response
Version info
The text was updated successfully, but these errors were encountered: