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

Use project's code in URLs, reduce the use of Profile.current_project #336

Closed
cuu508 opened this issue Feb 21, 2020 · 0 comments
Closed

Comments

@cuu508
Copy link
Member

cuu508 commented Feb 21, 2020

Some URLs already contain project's code:

/projects/<project-code>/checks/
/projects/<project-code>/badges/
/projects/<project-code>/settings/

Some don't:

/integrations/
/integrations/add_email/
/integrations/add_slack/
...

In these views, we look up the current project from the Profile.current_project field. This can cause confusion when multiple projects are open in multiple tabs.

I'd like to reduce the usage of Profile.current_project as much as possible. This should probably be done incrementally in small steps, not as a big overhaul.

cuu508 added a commit that referenced this issue Feb 25, 2020
@cuu508 cuu508 closed this as completed in 8bbf85a Mar 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant