@kernhq/module-tracker 0.11.10 → 0.11.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kernhq/module-tracker",
3
- "version": "0.11.10",
3
+ "version": "0.11.11",
4
4
  "description": "Kern tracker module: projects, work item types, custom fields, workflows, issues, KQL, cycles, views, reports, intake, time tracking (server + client skeleton)",
5
5
  "homepage": "https://github.com/KernAIO/module-tracker#readme",
6
6
  "license": "AGPL-3.0-only",
@@ -42,6 +42,26 @@ export const trackerClientModule = defineClientModule({
42
42
  },
43
43
  permission: TRACKER_PERMISSIONS.view,
44
44
  },
45
+ {
46
+ // One project, one page per concern: /tracker/projects/KRN (sections default to components),
47
+ // .../KRN/components, .../KRN/milestones, .../KRN/cycles and .../KRN/templates. ProjectPage
48
+ // picks the screen from the section; the sidebar's project rows move between them. The key is
49
+ // the project's `key` (`KRN`), which is what the URL carries and what the pages look up.
50
+ path: '/tracker/projects/:key',
51
+ component: () => import('./pages/ProjectPage.svelte'),
52
+ get title() {
53
+ return t('title')
54
+ },
55
+ permission: TRACKER_PERMISSIONS.view,
56
+ },
57
+ {
58
+ path: '/tracker/projects/:key/:section',
59
+ component: () => import('./pages/ProjectPage.svelte'),
60
+ get title() {
61
+ return t('title')
62
+ },
63
+ permission: TRACKER_PERMISSIONS.view,
64
+ },
45
65
  {
46
66
  path: '/tracker',
47
67
  component: () => import('./pages/IssuesPage.svelte'),