|
@@ -1027,6 +1027,80 @@ function routes() {
|
|
|
}
|
|
|
component={errorHandler(LazyLoad)}
|
|
|
/>
|
|
|
+ {/* Once org issues is complete, these routes can be nested under
|
|
|
+ /organizations/:orgId/issues */}
|
|
|
+ <Route
|
|
|
+ path="/organizations/:orgId/issues/:groupId/"
|
|
|
+ componentPromise={() =>
|
|
|
+ import(/* webpackChunkName: "OrganizationGroupDetails" */ 'app/views/organizationGroupDetails')
|
|
|
+ }
|
|
|
+ component={errorHandler(LazyLoad)}
|
|
|
+ >
|
|
|
+ {/* XXX: if we change the path for group details, we *must* update `OrganizationContext`.
|
|
|
+ There is behavior that depends on this path and unfortunately no great way to test for this contract */}
|
|
|
+ <IndexRoute
|
|
|
+ componentPromise={() =>
|
|
|
+ import(/* webpackChunkName: "OrganizationGroupEventDetails" */ 'app/views/organizationGroupDetails/groupEventDetails')
|
|
|
+ }
|
|
|
+ component={errorHandler(LazyLoad)}
|
|
|
+ />
|
|
|
+ <Route
|
|
|
+ path="/organizations/:orgId/issues/:groupId/activity/"
|
|
|
+ componentPromise={() =>
|
|
|
+ import(/* webpackChunkName: "GroupActivity" */ 'app/views/organizationGroupDetails/groupActivity')
|
|
|
+ }
|
|
|
+ component={errorHandler(LazyLoad)}
|
|
|
+ />
|
|
|
+ <Route
|
|
|
+ path="/organizations/:orgId/issues/:groupId/events/:eventId/"
|
|
|
+ componentPromise={() =>
|
|
|
+ import(/* webpackChunkName: "OrganizationGroupEventDetails" */ 'app/views/organizationGroupDetails/groupEventDetails')
|
|
|
+ }
|
|
|
+ component={errorHandler(LazyLoad)}
|
|
|
+ />
|
|
|
+ <Route
|
|
|
+ path="/organizations/:orgId/issues/:groupId/events/"
|
|
|
+ componentPromise={() =>
|
|
|
+ import(/* webpackChunkName: "OrganizationGroupEvents" */ 'app/views/organizationGroupDetails/groupEvents')
|
|
|
+ }
|
|
|
+ component={errorHandler(LazyLoad)}
|
|
|
+ />
|
|
|
+ <Route
|
|
|
+ path="/organizations/:orgId/issues/:groupId/tags/"
|
|
|
+ componentPromise={() =>
|
|
|
+ import(/* webpackChunkName: "OrganizationGroupTags" */ 'app/views/organizationGroupDetails/groupTags')
|
|
|
+ }
|
|
|
+ component={errorHandler(LazyLoad)}
|
|
|
+ />
|
|
|
+ <Route
|
|
|
+ path="/organizations/:orgId/issues/:groupId/tags/:tagKey/"
|
|
|
+ componentPromise={() =>
|
|
|
+ import(/* webpackChunkName: "OrganizationGroupTagsValues" */ 'app/views/organizationGroupDetails/groupTagValues')
|
|
|
+ }
|
|
|
+ component={errorHandler(LazyLoad)}
|
|
|
+ />
|
|
|
+ <Route
|
|
|
+ path="/organizations/:orgId/issues/:groupId/feedback/"
|
|
|
+ componentPromise={() =>
|
|
|
+ import(/* webpackChunkName: "OrganizationGroupUserFeedback" */ 'app/views/organizationGroupDetails/groupUserFeedback')
|
|
|
+ }
|
|
|
+ component={errorHandler(LazyLoad)}
|
|
|
+ />
|
|
|
+ <Route
|
|
|
+ path="/organizations/:orgId/issues/:groupId/similar/"
|
|
|
+ componentPromise={() =>
|
|
|
+ import(/* webpackChunkName: "GroupSimilarView" */ 'app/views/organizationGroupDetails/groupSimilar')
|
|
|
+ }
|
|
|
+ component={errorHandler(LazyLoad)}
|
|
|
+ />
|
|
|
+ <Route
|
|
|
+ path="/organizations/:orgId/issues/:groupId/merged/"
|
|
|
+ componentPromise={() =>
|
|
|
+ import(/* webpackChunkName: "GroupSimilarView" */ 'app/views/organizationGroupDetails/groupMerged')
|
|
|
+ }
|
|
|
+ component={errorHandler(LazyLoad)}
|
|
|
+ />
|
|
|
+ </Route>
|
|
|
</Route>
|
|
|
{/* The heavyweight organization detail views */}
|
|
|
<Route path="/:orgId/" component={errorHandler(OrganizationDetails)}>
|
|
@@ -1198,80 +1272,6 @@ function routes() {
|
|
|
component={errorHandler(IssueListOverview)}
|
|
|
/>
|
|
|
</Route>
|
|
|
- {/* Once org issues is complete, these routes can be nested under
|
|
|
- /organizations/:orgId/issues */}
|
|
|
- <Route
|
|
|
- path="/organizations/:orgId/issues/:groupId/"
|
|
|
- componentPromise={() =>
|
|
|
- import(/* webpackChunkName: "OrganizationGroupDetails" */ 'app/views/organizationGroupDetails')
|
|
|
- }
|
|
|
- component={errorHandler(LazyLoad)}
|
|
|
- >
|
|
|
- {/* XXX: if we change the path for group details, we *must* update `OrganizationContext`.
|
|
|
- There is behavior that depends on this path and unfortunately no great way to test for this contract */}
|
|
|
- <IndexRoute
|
|
|
- componentPromise={() =>
|
|
|
- import(/* webpackChunkName: "OrganizationGroupEventDetails" */ 'app/views/organizationGroupDetails/groupEventDetails')
|
|
|
- }
|
|
|
- component={errorHandler(LazyLoad)}
|
|
|
- />
|
|
|
- <Route
|
|
|
- path="/organizations/:orgId/issues/:groupId/activity/"
|
|
|
- componentPromise={() =>
|
|
|
- import(/* webpackChunkName: "GroupActivity" */ 'app/views/organizationGroupDetails/groupActivity')
|
|
|
- }
|
|
|
- component={errorHandler(LazyLoad)}
|
|
|
- />
|
|
|
- <Route
|
|
|
- path="/organizations/:orgId/issues/:groupId/events/:eventId/"
|
|
|
- componentPromise={() =>
|
|
|
- import(/* webpackChunkName: "OrganizationGroupEventDetails" */ 'app/views/organizationGroupDetails/groupEventDetails')
|
|
|
- }
|
|
|
- component={errorHandler(LazyLoad)}
|
|
|
- />
|
|
|
- <Route
|
|
|
- path="/organizations/:orgId/issues/:groupId/events/"
|
|
|
- componentPromise={() =>
|
|
|
- import(/* webpackChunkName: "OrganizationGroupEvents" */ 'app/views/organizationGroupDetails/groupEvents')
|
|
|
- }
|
|
|
- component={errorHandler(LazyLoad)}
|
|
|
- />
|
|
|
- <Route
|
|
|
- path="/organizations/:orgId/issues/:groupId/tags/"
|
|
|
- componentPromise={() =>
|
|
|
- import(/* webpackChunkName: "OrganizationGroupTags" */ 'app/views/organizationGroupDetails/groupTags')
|
|
|
- }
|
|
|
- component={errorHandler(LazyLoad)}
|
|
|
- />
|
|
|
- <Route
|
|
|
- path="/organizations/:orgId/issues/:groupId/tags/:tagKey/"
|
|
|
- componentPromise={() =>
|
|
|
- import(/* webpackChunkName: "OrganizationGroupTagsValues" */ 'app/views/organizationGroupDetails/groupTagValues')
|
|
|
- }
|
|
|
- component={errorHandler(LazyLoad)}
|
|
|
- />
|
|
|
- <Route
|
|
|
- path="/organizations/:orgId/issues/:groupId/feedback/"
|
|
|
- componentPromise={() =>
|
|
|
- import(/* webpackChunkName: "OrganizationGroupUserFeedback" */ 'app/views/organizationGroupDetails/groupUserFeedback')
|
|
|
- }
|
|
|
- component={errorHandler(LazyLoad)}
|
|
|
- />
|
|
|
- <Route
|
|
|
- path="/organizations/:orgId/issues/:groupId/similar/"
|
|
|
- componentPromise={() =>
|
|
|
- import(/* webpackChunkName: "GroupSimilarView" */ 'app/views/organizationGroupDetails/groupSimilar')
|
|
|
- }
|
|
|
- component={errorHandler(LazyLoad)}
|
|
|
- />
|
|
|
- <Route
|
|
|
- path="/organizations/:orgId/issues/:groupId/merged/"
|
|
|
- componentPromise={() =>
|
|
|
- import(/* webpackChunkName: "GroupSimilarView" */ 'app/views/organizationGroupDetails/groupMerged')
|
|
|
- }
|
|
|
- component={errorHandler(LazyLoad)}
|
|
|
- />
|
|
|
- </Route>
|
|
|
<Route
|
|
|
path="/organizations/:orgId/releases/"
|
|
|
componentPromise={() =>
|