Skip to content

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

Change view name from "BCF" to "Bim" to match specification

Henriette Darge61ef494bb29d
diff --git a/docs/api/apiv3/components/examples/view_bcf.yml b/docs/api/apiv3/components/examples/view_bcf.yml
index 44a7fca4428..39ef5791ade 100644
--- a/docs/api/apiv3/components/examples/view_bcf.yml
+++ b/docs/api/apiv3/components/examples/view_bcf.yml
@@ -1,8 +1,8 @@
-# Example: ViewBcf
+# Example: ViewBim
---
value:
- _type: Views::BCF
- name: Bcfs
+ _type: Views::Bim
+ name: My assigned Bcfs
id: 8
_links:
self:
diff --git a/frontend/src/app/features/work-packages/components/wp-list/wp-query-view.service.ts b/frontend/src/app/features/work-packages/components/wp-list/wp-query-view.service.ts
index 9ac41669059..90628b62d28 100644
--- a/frontend/src/app/features/work-packages/components/wp-list/wp-query-view.service.ts
+++ b/frontend/src/app/features/work-packages/components/wp-list/wp-query-view.service.ts
@@ -39,6 +39,9 @@ export class WorkPackagesQueryViewService {
if (this.$state.includes('team_planner')) {
return 'team_planner';
}
+ if (this.$state.includes('bim')) {
+ return 'bim';
+ }
throw new Error('Not on a path defined for query views');
}
diff --git a/frontend/src/app/shared/components/op-view-select/op-static-queries.service.ts b/frontend/src/app/shared/components/op-view-select/op-static-queries.service.ts
index f46d58dcbc2..f77ca41fc3a 100644
--- a/frontend/src/app/shared/components/op-view-select/op-static-queries.service.ts
+++ b/frontend/src/app/shared/components/op-view-select/op-static-queries.service.ts
@@ -138,7 +138,7 @@ export class StaticQueriesService {
uiSref: 'bim.partitioned.split',
// TODO: "dr":"splitCards"
uiParams: { query_id: '', query_props: '' },
- view: 'BCF',
+ view: 'Bim',
},
{
title: this.text.latest_activity,
@@ -147,7 +147,7 @@ export class StaticQueriesService {
query_id: '',
query_props: '{"c":["id","subject","type","status","assignee","updatedAt"],"hi":false,"dr":"splitCards","g":"","t":"updatedAt:desc","f":[{"n":"status","o":"o","v":[]}]}',
},
- view: 'BCF',
+ view: 'Bim',
},
{
title: this.text.recently_created,
@@ -156,7 +156,7 @@ export class StaticQueriesService {
query_id: '',
query_props: '{"c":["id","subject","type","status","assignee","createdAt"],"hi":false,"dr":"splitCards","g":"","t":"createdAt:desc","f":[{"n":"status","o":"o","v":[]}]}',
},
- view: 'BCF',
+ view: 'Bim',
},
];
@@ -237,7 +237,7 @@ export class StaticQueriesService {
query_id: '',
query_props: '{"c":["id","subject","type","status","assignee","updatedAt"],"hi":false,"dr":"splitCards","g":"","t":"updatedAt:desc,id:asc","f":[{"n":"status","o":"o","v":[]},{"n":"author","o":"=","v":["me"]}]}',
},
- view: 'BCF',
+ view: 'Bim',
},
{
title: this.text.assigned_to_me,
@@ -246,7 +246,7 @@ export class StaticQueriesService {
query_id: '',
query_props: '{"c":["id","subject","type","status","author","updatedAt"],"hi":false,"dr":"splitCards","g":"","t":"updatedAt:desc,id:asc","f":[{"n":"status","o":"o","v":[]},{"n":"assigneeOrGroup","o":"=","v":["me"]}]}',
},
- view: 'BCF',
+ view: 'Bim',
},
];
}
diff --git a/frontend/src/app/shared/components/op-view-select/op-view-select.component.ts b/frontend/src/app/shared/components/op-view-select/op-view-select.component.ts
index 304054db43f..8151614e56a 100644
--- a/frontend/src/app/shared/components/op-view-select/op-view-select.component.ts
+++ b/frontend/src/app/shared/components/op-view-select/op-view-select.component.ts
@@ -53,7 +53,7 @@ import { Apiv3ListParameters } from 'core-app/core/apiv3/paths/apiv3-list-resour
import { View } from 'core-app/core/state/views/view.model';
import idFromLink from 'core-app/features/hal/helpers/id-from-link';
-export type ViewType = 'WorkPackagesTable'|'BCF'|'TeamPlanner';
+export type ViewType = 'WorkPackagesTable'|'Bim'|'TeamPlanner';
export const opViewSelectSelector = 'op-view-select';
diff --git a/modules/bim/app/views/bim/ifc_models/ifc_models/_panels.html.erb b/modules/bim/app/views/bim/ifc_models/ifc_models/_panels.html.erb
index b973b67987f..62e64b4e9d3 100644
--- a/modules/bim/app/views/bim/ifc_models/ifc_models/_panels.html.erb
+++ b/modules/bim/app/views/bim/ifc_models/ifc_models/_panels.html.erb
@@ -5,7 +5,7 @@
projectId: (@project ? @project.id.to_s : ''),
menuItems: [parent_name, name],
baseRoute: 'bim.partitioned.split',
- viewType: 'BCF',
+ viewType: 'Bim',
}
%>