Open harshsbhat opened 2 weeks ago
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
[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
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