diff --git a/webapp/src/app/app.routes.ts b/webapp/src/app/app.routes.ts
index 62ca6832..3c869a34 100644
--- a/webapp/src/app/app.routes.ts
+++ b/webapp/src/app/app.routes.ts
@@ -82,6 +82,20 @@ export const routes: Routes = [
},
],
},
+ {
+ path: 'institution/:id',
+ canActivate: [userGuard],
+ loadComponent: () =>
+ import('./modules/institution/institution.component').then(
+ (mod) => mod.InstitutionComponent,
+ ),
+ },
+ {
+ path: 'work/:id',
+ canActivate: [userGuard],
+ loadComponent: () =>
+ import('./modules/work/work.component').then((mod) => mod.WorkComponent),
+ },
{
path: '**',
redirectTo: 'login',
diff --git a/webapp/src/app/modules/institution/institution.component.html b/webapp/src/app/modules/institution/institution.component.html
new file mode 100644
index 00000000..06cbe4a2
--- /dev/null
+++ b/webapp/src/app/modules/institution/institution.component.html
@@ -0,0 +1 @@
+
institution works!
diff --git a/webapp/src/app/modules/institution/institution.component.scss b/webapp/src/app/modules/institution/institution.component.scss
new file mode 100644
index 00000000..e69de29b
diff --git a/webapp/src/app/modules/institution/institution.component.ts b/webapp/src/app/modules/institution/institution.component.ts
new file mode 100644
index 00000000..0cdeb3de
--- /dev/null
+++ b/webapp/src/app/modules/institution/institution.component.ts
@@ -0,0 +1,11 @@
+import { Component } from '@angular/core';
+
+@Component({
+ selector: 'app-institution',
+ imports: [],
+ templateUrl: './institution.component.html',
+ styleUrl: './institution.component.scss',
+})
+export class InstitutionComponent {
+
+}
diff --git a/webapp/src/app/modules/person-network-collaborators/person-network-collaborators.component.html b/webapp/src/app/modules/person-network-collaborators/person-network-collaborators.component.html
index 174e3857..cee55b3c 100644
--- a/webapp/src/app/modules/person-network-collaborators/person-network-collaborators.component.html
+++ b/webapp/src/app/modules/person-network-collaborators/person-network-collaborators.component.html
@@ -1,9 +1,5 @@
-
- | ID |
- {{ element.id }} |
-
Name |
@@ -19,13 +15,13 @@
|
-
+
|
@@ -39,15 +35,18 @@
>
|
+@if (dataSource.filteredData.length === 0) {
+ Keine Kollaborierenden gefunden.
+}
diff --git a/webapp/src/app/modules/person-network-collaborators/person-network-collaborators.component.scss b/webapp/src/app/modules/person-network-collaborators/person-network-collaborators.component.scss
index 57d2cbf4..4dfb4f9e 100644
--- a/webapp/src/app/modules/person-network-collaborators/person-network-collaborators.component.scss
+++ b/webapp/src/app/modules/person-network-collaborators/person-network-collaborators.component.scss
@@ -27,3 +27,12 @@
.detail-row {
width: 100%;
}
+
+.work-link {
+ color: var(--sg-primary);
+ text-decoration: none;
+
+ &:hover {
+ text-decoration: underline;
+ }
+}
diff --git a/webapp/src/app/modules/person-network-collaborators/person-network-collaborators.component.ts b/webapp/src/app/modules/person-network-collaborators/person-network-collaborators.component.ts
index 0860dec1..798ff06f 100644
--- a/webapp/src/app/modules/person-network-collaborators/person-network-collaborators.component.ts
+++ b/webapp/src/app/modules/person-network-collaborators/person-network-collaborators.component.ts
@@ -43,7 +43,7 @@ export class PersonNetworkCollaboratorsComponent implements AfterViewInit {
collaborationNetwork = input.required
();
searchTerm = input.required();
- displayedColumns: string[] = ['id', 'name', 'count', 'actions'];
+ displayedColumns: string[] = ['name', 'count', 'actions'];
dataSource = new MatTableDataSource();
diff --git a/webapp/src/app/modules/person-network-filter-dialog/person-network-filter-dialog.component.scss b/webapp/src/app/modules/person-network-filter-dialog/person-network-filter-dialog.component.scss
index 8a9b4eb9..d030a8c7 100644
--- a/webapp/src/app/modules/person-network-filter-dialog/person-network-filter-dialog.component.scss
+++ b/webapp/src/app/modules/person-network-filter-dialog/person-network-filter-dialog.component.scss
@@ -1,17 +1,13 @@
form {
- padding: 20px;
+ padding: 5px;
display: flex;
flex-direction: column;
- gap: 20px;
}
-
-
.form-field-full {
width: 100%;
}
-
.toggle-group {
margin-bottom: 20px;
}
diff --git a/webapp/src/app/modules/person-network-graph/person-network-graph.component.ts b/webapp/src/app/modules/person-network-graph/person-network-graph.component.ts
index 8c6235de..9567c626 100644
--- a/webapp/src/app/modules/person-network-graph/person-network-graph.component.ts
+++ b/webapp/src/app/modules/person-network-graph/person-network-graph.component.ts
@@ -81,7 +81,7 @@ export class PersonNetworkGraphComponent {
author: 'Autor',
collaborator: 'Kollaborierender',
institution: 'Institution',
- work: 'Arbeit',
+ work: 'Publikation',
};
onChartEvent(event: any, type: string) {
@@ -194,6 +194,7 @@ export class PersonNetworkGraphComponent {
friction: 0.9,
gravity: 0.2,
},
+ zoom: 0.1,
links: item.links.map((e) => {
return {
source: e[0] + '',
diff --git a/webapp/src/app/modules/person-network-institutions/person-network-institutions.component.html b/webapp/src/app/modules/person-network-institutions/person-network-institutions.component.html
index 052d4d06..22621d39 100644
--- a/webapp/src/app/modules/person-network-institutions/person-network-institutions.component.html
+++ b/webapp/src/app/modules/person-network-institutions/person-network-institutions.component.html
@@ -1,11 +1,7 @@
-
- | ID |
- {{ element.id }} |
-
- Titel |
+ Name |
{{ element.name }}
|
@@ -16,7 +12,19 @@
{{ element.collaborators.length }}
-
+
+ |
+
+
+ open_in_new
+
+ |
+
+
+@if (dataSource.filteredData.length === 0) {
+ Keine Institutionen gefunden.
+}
@@ -34,9 +45,11 @@
diff --git a/webapp/src/app/modules/person-network-institutions/person-network-institutions.component.scss b/webapp/src/app/modules/person-network-institutions/person-network-institutions.component.scss
index 57d2cbf4..7cb09d57 100644
--- a/webapp/src/app/modules/person-network-institutions/person-network-institutions.component.scss
+++ b/webapp/src/app/modules/person-network-institutions/person-network-institutions.component.scss
@@ -27,3 +27,12 @@
.detail-row {
width: 100%;
}
+
+.person-link {
+ color: var(--sg-primary);
+ text-decoration: none;
+
+ &:hover {
+ text-decoration: underline;
+ }
+}
diff --git a/webapp/src/app/modules/person-network-institutions/person-network-institutions.component.ts b/webapp/src/app/modules/person-network-institutions/person-network-institutions.component.ts
index 38df3cbe..d68dd101 100644
--- a/webapp/src/app/modules/person-network-institutions/person-network-institutions.component.ts
+++ b/webapp/src/app/modules/person-network-institutions/person-network-institutions.component.ts
@@ -41,7 +41,7 @@ export class PersonNetworkInstitutionsComponent implements AfterViewInit {
collaborationNetwork = input.required();
searchTerm = input.required();
- displayedColumns: string[] = ['id', 'name', 'collaborators'];
+ displayedColumns: string[] = ['name', 'collaborators', 'actions'];
dataSource = new MatTableDataSource();
diff --git a/webapp/src/app/modules/person-network-publications/person-network-publications.component.html b/webapp/src/app/modules/person-network-publications/person-network-publications.component.html
index 9206482a..80a737c9 100644
--- a/webapp/src/app/modules/person-network-publications/person-network-publications.component.html
+++ b/webapp/src/app/modules/person-network-publications/person-network-publications.component.html
@@ -1,9 +1,5 @@
-
- | ID |
- {{ element.id }} |
-
Titel |
@@ -16,6 +12,14 @@
{{ element.collaborators.length }}
|
+
+ |
+
+
+ open_in_new
+
+ |
+
+@if (dataSource.filteredData.length === 0) {
+ Keine Publikationen gefunden.
+}
@@ -34,10 +41,9 @@
diff --git a/webapp/src/app/modules/person-network-publications/person-network-publications.component.scss b/webapp/src/app/modules/person-network-publications/person-network-publications.component.scss
index 57d2cbf4..7cb09d57 100644
--- a/webapp/src/app/modules/person-network-publications/person-network-publications.component.scss
+++ b/webapp/src/app/modules/person-network-publications/person-network-publications.component.scss
@@ -27,3 +27,12 @@
.detail-row {
width: 100%;
}
+
+.person-link {
+ color: var(--sg-primary);
+ text-decoration: none;
+
+ &:hover {
+ text-decoration: underline;
+ }
+}
diff --git a/webapp/src/app/modules/person-network-publications/person-network-publications.component.ts b/webapp/src/app/modules/person-network-publications/person-network-publications.component.ts
index d594e6fa..eee8078c 100644
--- a/webapp/src/app/modules/person-network-publications/person-network-publications.component.ts
+++ b/webapp/src/app/modules/person-network-publications/person-network-publications.component.ts
@@ -43,7 +43,7 @@ export class PersonNetworkPublicationsComponent implements AfterViewInit {
collaborationNetwork = input.required();
searchTerm = input.required();
- displayedColumns: string[] = ['id', 'title', 'contributors'];
+ displayedColumns: string[] = ['title', 'contributors', 'actions'];
dataSource = new MatTableDataSource();
diff --git a/webapp/src/app/modules/person-network/person-network.component.ts b/webapp/src/app/modules/person-network/person-network.component.ts
index e91df9fb..ca8a9a52 100644
--- a/webapp/src/app/modules/person-network/person-network.component.ts
+++ b/webapp/src/app/modules/person-network/person-network.component.ts
@@ -94,11 +94,11 @@ export class PersonNetworkComponent implements OnInit {
const displayedTable = this.displayedTable();
switch (displayedTable) {
case 'collaborators':
- return 'Suche Kollaborierende nach Name oder ID';
+ return 'Suche Kollaborierende nach Name';
case 'publications':
- return 'Suche Publikationen nach Titel oder ID';
+ return 'Suche Publikationen nach Titel';
case 'institutions':
- return 'Suche Institutionen nach Name oder ID';
+ return 'Suche Institutionen nach Name';
default:
return 'Suchbegriff';
}
@@ -120,6 +120,9 @@ export class PersonNetworkComponent implements OnInit {
}
this.latestNodeId.set(id);
+ if (category === 'author') {
+ return;
+ }
this.filterForm.patchValue({
displayedTable: this.categoryTableMap[category],
diff --git a/webapp/src/app/modules/work/work.component.html b/webapp/src/app/modules/work/work.component.html
new file mode 100644
index 00000000..e8187ec0
--- /dev/null
+++ b/webapp/src/app/modules/work/work.component.html
@@ -0,0 +1 @@
+work works!
diff --git a/webapp/src/app/modules/work/work.component.scss b/webapp/src/app/modules/work/work.component.scss
new file mode 100644
index 00000000..e69de29b
diff --git a/webapp/src/app/modules/work/work.component.ts b/webapp/src/app/modules/work/work.component.ts
new file mode 100644
index 00000000..f4fda054
--- /dev/null
+++ b/webapp/src/app/modules/work/work.component.ts
@@ -0,0 +1,11 @@
+import { Component } from '@angular/core';
+
+@Component({
+ selector: 'app-work',
+ imports: [],
+ templateUrl: './work.component.html',
+ styleUrl: './work.component.scss',
+})
+export class WorkComponent {
+
+}