You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting the environment slug to overview, it'll overlap with the secret overview page in the URL.
When navigating through "clicks" switching pages works great in-app, but when copy/pasting the URL or just by refreshing you'll always end up on the secret overview page and not on the correct environment page with the overview slug
To Reproduce 💻
Go to https://app.infisical.com/project/<project-id>/settings
In the "Environment" section, edit/create an environment (e.g. foo) with the overview slug
Go back to the secret overview page and "explore" the foo environment (https://app.infisical.com/project/<project-id>/secrets/overview)
See the same URL as the page just before
Refresh and see the error, you'll get back to the overview page
Expected behavior 🔎
A project's environment URL should always lead you to the correct page. Some slugs should be reserved keywords or another logic should be implemented.
E.g. refactoring the overview path to https://app.infisical.com/project/<project-id>/overview and keeping the trailing .../secrets/ for environment slugs:
Describe the bug 🪲
When setting the environment slug to
overview
, it'll overlap with the secret overview page in the URL.When navigating through "clicks" switching pages works great in-app, but when copy/pasting the URL or just by refreshing you'll always end up on the secret overview page and not on the correct environment page with the
overview
slugTo Reproduce 💻
https://app.infisical.com/project/<project-id>/settings
foo
) with theoverview
slugfoo
environment (https://app.infisical.com/project/<project-id>/secrets/overview
)Expected behavior 🔎
A project's environment URL should always lead you to the correct page. Some slugs should be reserved keywords or another logic should be implemented.
E.g. refactoring the overview path to
https://app.infisical.com/project/<project-id>/overview
and keeping the trailing.../secrets/
for environment slugs:https://app.infisical.com/project/<project-id>/overview
https://app.infisical.com/project/<project-id>/secrets/<env-slug>
This could prevent this bug
Screenshots 🎨
Platform you are having the issue on
Infisical Cloud + self-hosted
The text was updated successfully, but these errors were encountered: