-
Notifications
You must be signed in to change notification settings - Fork 3.6k
[WEB - 2752] fix: renamed inbox to intake #5967
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
Changes from all commits
ffeb4bb
2ca812e
f269183
7cbe512
f68013e
146b63f
86b97e9
3dcbb47
0e61526
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| from django.urls import path | ||
|
|
||
| from plane.api.views import IntakeIssueAPIEndpoint | ||
|
|
||
|
|
||
| urlpatterns = [ | ||
| path( | ||
| "workspaces/<str:slug>/projects/<uuid:project_id>/inbox-issues/", | ||
| IntakeIssueAPIEndpoint.as_view(), | ||
| name="inbox-issue", | ||
| ), | ||
pablohashescobar marked this conversation as resolved.
Show resolved
Hide resolved
pablohashescobar marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| path( | ||
| "workspaces/<str:slug>/projects/<uuid:project_id>/inbox-issues/<uuid:issue_id>/", | ||
| IntakeIssueAPIEndpoint.as_view(), | ||
| name="inbox-issue", | ||
| ), | ||
| path( | ||
| "workspaces/<str:slug>/projects/<uuid:project_id>/intake-issues/", | ||
| IntakeIssueAPIEndpoint.as_view(), | ||
| name="intake-issue", | ||
| ), | ||
| path( | ||
| "workspaces/<str:slug>/projects/<uuid:project_id>/intake-issues/<uuid:issue_id>/", | ||
| IntakeIssueAPIEndpoint.as_view(), | ||
| name="intake-issue", | ||
| ), | ||
|
Comment on lines
+7
to
+26
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Use unique names for URL patterns Multiple URL patterns are sharing the same name. This can cause issues with Django's URL reversing functionality. Consider using more specific names to distinguish between collection and detail views. Apply this diff to use unique names: path(
"workspaces/<str:slug>/projects/<uuid:project_id>/intake-issues/",
IntakeIssueAPIEndpoint.as_view(),
- name="intake-issue",
+ name="intake-issue-list",
),
path(
"workspaces/<str:slug>/projects/<uuid:project_id>/intake-issues/<uuid:issue_id>/",
IntakeIssueAPIEndpoint.as_view(),
- name="intake-issue",
+ name="intake-issue-detail",
),
|
||
| ] | ||
pablohashescobar marked this conversation as resolved.
Show resolved
Hide resolved
|
||
Uh oh!
There was an error while loading. Please reload this page.