diff --git a/changelog.md b/changelog.md index 5249d996b4..3623c25c81 100644 --- a/changelog.md +++ b/changelog.md @@ -6,6 +6,7 @@ Tracker: - Remember view options - My issues +- Roadmap Chunter: diff --git a/models/tracker/src/index.ts b/models/tracker/src/index.ts index b69f269e1e..d130abd9a6 100644 --- a/models/tracker/src/index.ts +++ b/models/tracker/src/index.ts @@ -465,6 +465,13 @@ export function createModel (builder: Builder): void { label: tracker.string.Views, icon: tracker.icon.Views, component: tracker.component.Views + }, + { + id: 'roadmap', + position: 'top', + label: tracker.string.Roadmap, + icon: tracker.icon.Projects, + component: tracker.component.Roadmap } ], spaces: [ @@ -500,7 +507,7 @@ export function createModel (builder: Builder): void { id: projectsId, label: tracker.string.Projects, icon: tracker.icon.Projects, - component: tracker.component.Projects + component: tracker.component.TeamProjects } ] } diff --git a/plugins/tracker-assets/lang/en.json b/plugins/tracker-assets/lang/en.json index 9618b1eebf..088b3d6692 100644 --- a/plugins/tracker-assets/lang/en.json +++ b/plugins/tracker-assets/lang/en.json @@ -120,6 +120,7 @@ "ProjectMembersTitle": "Project members", "ProjectLeadSearchPlaceholder": "Set project lead\u2026", "ProjectMembersSearchPlaceholder": "Change project members\u2026", + "Roadmap": "Roadmap", "GotoIssues": "Go to issues", "GotoActive": "Go to active issues", diff --git a/plugins/tracker-assets/lang/ru.json b/plugins/tracker-assets/lang/ru.json index df93731364..e17454ac28 100644 --- a/plugins/tracker-assets/lang/ru.json +++ b/plugins/tracker-assets/lang/ru.json @@ -120,6 +120,7 @@ "ProjectMembersTitle": "Участники проекта", "ProjectLeadSearchPlaceholder": "Назначьте руководителя проекта\u2026", "ProjectMembersSearchPlaceholder": "Измененить участников проекта\u2026", + "Roadmap": "Планирование", "GotoIssues": "Перейти к задачам", "GotoActive": "Перейти к активным задачам", diff --git a/plugins/tracker-resources/src/components/projects/LeadPresenter.svelte b/plugins/tracker-resources/src/components/projects/LeadPresenter.svelte index dfdc35fd49..65f513e067 100644 --- a/plugins/tracker-resources/src/components/projects/LeadPresenter.svelte +++ b/plugins/tracker-resources/src/components/projects/LeadPresenter.svelte @@ -15,7 +15,7 @@ + + diff --git a/plugins/tracker-resources/src/components/projects/TeamProjects.svelte b/plugins/tracker-resources/src/components/projects/TeamProjects.svelte new file mode 100644 index 0000000000..5fe8374683 --- /dev/null +++ b/plugins/tracker-resources/src/components/projects/TeamProjects.svelte @@ -0,0 +1,23 @@ + + + + diff --git a/plugins/tracker-resources/src/index.ts b/plugins/tracker-resources/src/index.ts index a523664b32..6e8339a3d9 100644 --- a/plugins/tracker-resources/src/index.ts +++ b/plugins/tracker-resources/src/index.ts @@ -44,6 +44,8 @@ import LeadPresenter from './components/projects/LeadPresenter.svelte' import ProjectEditor from './components/projects/ProjectEditor.svelte' import ProjectMembersPresenter from './components/projects/ProjectMembersPresenter.svelte' import ProjectPresenter from './components/projects/ProjectPresenter.svelte' +import Roadmap from './components/projects/Roadmap.svelte' +import TeamProjects from './components/projects/TeamProjects.svelte' import Projects from './components/projects/Projects.svelte' import ProjectStatusEditor from './components/projects/ProjectStatusEditor.svelte' import ProjectStatusPresenter from './components/projects/ProjectStatusPresenter.svelte' @@ -140,6 +142,8 @@ export default async (): Promise => ({ IssuesView, ListView, KanbanView, + TeamProjects, + Roadmap, IssuePreview }, completion: { diff --git a/plugins/tracker-resources/src/plugin.ts b/plugins/tracker-resources/src/plugin.ts index 72b8776d77..8f3dd3a676 100644 --- a/plugins/tracker-resources/src/plugin.ts +++ b/plugins/tracker-resources/src/plugin.ts @@ -136,6 +136,7 @@ export default mergeIds(trackerId, tracker, { ProjectMembersSearchPlaceholder: '' as IntlString, List: '' as IntlString, NumberLabels: '' as IntlString, + Roadmap: '' as IntlString, IssueTitlePlaceholder: '' as IntlString, IssueDescriptionPlaceholder: '' as IntlString, @@ -205,6 +206,8 @@ export default mergeIds(trackerId, tracker, { IssuesView: '' as AnyComponent, ListView: '' as AnyComponent, KanbanView: '' as AnyComponent, + Roadmap: '' as AnyComponent, + TeamProjects: '' as AnyComponent, IssuePreview: '' as AnyComponent } })