Skip to content
Permalink
Browse files
refactor(ontology): clean up unused code (DEV-304) (#629)
* refactor(ontology): clean up visualizer and d3-lib

* fix(datadog): bug fix in datadog request
  • Loading branch information
kilchenmann committed Jan 12, 2022
1 parent 374fc78 commit 3d029a1e57179c6b0797a26767443c51ffdec6cb
Show file tree
Hide file tree
Showing 15 changed files with 29 additions and 2,039 deletions.
@@ -49,9 +49,7 @@
"src/styles.scss"
],
"scripts": [
"node_modules/openseadragon/build/openseadragon/openseadragon.min.js",
"node_modules/3d-force-graph/dist/3d-force-graph.min.js",
"node_modules/d3-force-3d/dist/d3-force-3d.js"
"node_modules/openseadragon/build/openseadragon/openseadragon.min.js"
]
},
"configurations": {

Large diffs are not rendered by default.

@@ -37,12 +37,9 @@
"@datadog/browser-rum": "^3.7.0",
"@ngx-translate/core": "^12.1.2",
"@ngx-translate/http-loader": "5.0.0",
"3d-force-graph": "^1.60.12",
"angular-split": "^4.0.0",
"ckeditor5-custom-build": "github:dasch-swiss/ckeditor_custom_build#v2.0.0",
"core-js": "^3.19.1",
"d3": "^5.15.1",
"d3-force-3d": "^2.1.0",
"jdnconvertiblecalendar": "^0.0.7",
"jdnconvertiblecalendardateadapter": "^0.0.17",
"json2typescript": "^1.0.6",
@@ -55,8 +52,6 @@
"rollbar": "^2.24.0",
"rxjs": "~6.5.5",
"semver": "^6.1.1",
"three": "^0.125.0",
"three-spritetext": "^1.5.1",
"ts-md5": "^1.2.7",
"tslib": "^2.2.0",
"zone.js": "~0.11.4"
@@ -67,7 +62,6 @@
"@angular/cli": "^12.2.14",
"@angular/compiler-cli": "^12.2.14",
"@angular/language-service": "^12.2.14",
"@types/d3": "^5.7.2",
"@types/jasmine": "~3.6.0",
"@types/jasminewd2": "~2.0.3",
"@types/node": "^12.20.37",
@@ -59,8 +59,6 @@ import { ListItemFormComponent } from './project/list/list-item-form/list-item-f
import { ListItemComponent } from './project/list/list-item/list-item.component';
import { ListComponent } from './project/list/list.component';
import { OntologyFormComponent } from './project/ontology/ontology-form/ontology-form.component';
import { OntologyVisualizerComponent } from './project/ontology/ontology-visualizer/ontology-visualizer.component';
import { VisualizerComponent } from './project/ontology/ontology-visualizer/visualizer/visualizer.component';
import { OntologyComponent } from './project/ontology/ontology.component';
import { PropertyFormComponent } from './project/ontology/property-form/property-form.component';
import { PropertyInfoComponent } from './project/ontology/property-info/property-info.component';
@@ -235,7 +233,6 @@ export function httpLoaderFactory(httpClient: HttpClient) {
MessageComponent,
OntologyComponent,
OntologyFormComponent,
OntologyVisualizerComponent,
PasswordFormComponent,
PermissionComponent,
ProfileComponent,
@@ -300,7 +297,6 @@ export function httpLoaderFactory(httpClient: HttpClient) {
UserMenuComponent,
UsersComponent,
UsersListComponent,
VisualizerComponent,
YetAnotherDateValueComponent,
],
imports: [
@@ -28,7 +28,7 @@ export class DatadogRumService {
beforeSend: (event, context) => {
// collect a RUM resource's response headers
if (event.type === 'resource' && event.resource.type === 'xhr') {
event.context = { ...event.context, responseHeaders: (context as RumFetchResourceEventDomainContext).response.body };
event.context = { ...event.context, responseHeaders: (context as RumFetchResourceEventDomainContext).response?.body };
}
},
});

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 3d029a1

Please sign in to comment.