OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
[#67157] Make Project Selector use friendly URLs
Alexander Brandon Coles200a19336a19
diff --git a/frontend/src/app/shared/components/header-project-select/list/header-project-select-list.component.html b/frontend/src/app/shared/components/header-project-select/list/header-project-select-list.component.htmlindex a95acbc6ed1..17ea499a23b 100644--- a/frontend/src/app/shared/components/header-project-select/list/header-project-select-list.component.html+++ b/frontend/src/app/shared/components/header-project-select/list/header-project-select-list.component.html@@ -12,7 +12,7 @@'spot-list--item-action_disabled': project.disabled,'spot-list--item-action_active': (searchableProjectListService.selectedItemID$ | async) === project.id}"- [href]="extendedUrl(project.id)"+ [href]="extendedUrl(project.identifier)"[attr.data-list-selector]="projectListActionIdentifier"[attr.data-project-id]="project.id"[attr.data-test-selector]="currentProjectService.id === project.id.toString() ? 'op-header-project-select--active-item' : null"diff --git a/frontend/src/app/shared/components/project-include/insert-in-list.ts b/frontend/src/app/shared/components/project-include/insert-in-list.tsindex d2d7af7390c..5eb53c4e5d4 100644--- a/frontend/src/app/shared/components/project-include/insert-in-list.ts+++ b/frontend/src/app/shared/components/project-include/insert-in-list.ts@@ -23,6 +23,7 @@ export const insertInList = (id: project.id,name: project.name,href: project._links.self.href,+ identifier: project.identifier,disabled: false,children: [],position: 0,@@ -49,6 +50,7 @@ export const insertInList = (id: ancestorProject.id,name: ancestorProject.name,href: ancestorProject._links.self.href,+ identifier: ancestorProject.identifier,disabled: true,children: insertInList(projects, project, [], visibleAncestors.slice(1)),position: 0,diff --git a/frontend/src/app/shared/components/searchable-project-list/project-data.ts b/frontend/src/app/shared/components/searchable-project-list/project-data.tsindex e8934b4fa52..4d769cbca2b 100644--- a/frontend/src/app/shared/components/searchable-project-list/project-data.ts+++ b/frontend/src/app/shared/components/searchable-project-list/project-data.ts@@ -3,6 +3,7 @@ import { ID } from '@datorama/akita';export interface IProjectData {id:ID;href:string;+ identifier:string;name:string;disabled:boolean;children:IProjectData[];