Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix NullInjectorError for the benchmark page #295

Merged
merged 1 commit into from
Feb 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/ui/src/components/visualizer/benchmark_runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import * as three from 'three';
import {ModelEdge, ModelGraph, NodeType, OpNode} from './common/model_graph';
import {Point} from './common/types';
import {generateCurvePoints} from './common/utils';
import {EdgeOverlaysService} from './edge_overlays_service';
import {Logo} from './logo';
import {SplitPaneService} from './split_pane_service';
import {SubgraphSelectionService} from './subgraph_selection_service';
Expand All @@ -50,7 +51,7 @@ const THREE = three;
ReactiveFormsModule,
WebglRenderer,
],
providers: [SubgraphSelectionService, SplitPaneService],
providers: [EdgeOverlaysService, SubgraphSelectionService, SplitPaneService],
templateUrl: './benchmark_runner.ng.html',
styleUrls: ['./benchmark_runner.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
Expand Down
3 changes: 2 additions & 1 deletion src/ui/src/components/visualizer/complex_queries.scss
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@

&.min,
&.max {
width: 50px;
width: 46px;
flex-shrink: 0;
}
}
}
Expand Down
2 changes: 2 additions & 0 deletions src/ui/src/components/visualizer/graph_selector_panel.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
overflow-y: auto;

input {
font-family: sans-serif;
font-size: 12px;
margin: 4px 10px;
width: calc(100% - 20px);
Expand All @@ -40,6 +41,7 @@
height: 20px;
border-radius: 4px;
padding: 0 2px;
min-width: 184px;
}

.collection-container {
Expand Down
2 changes: 2 additions & 0 deletions src/ui/src/components/visualizer/search_bar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
font-size: 20px;
width: 20px;
height: 20px;
flex-shrink: 0;
}

mat-icon.clear {
Expand All @@ -55,6 +56,7 @@
padding: 0 4px;
font-size: 12px;
flex-grow: 1;
min-width: 0;
}

.btn-clear-container {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ $sync_highlight_color: #004fb8;
margin: 4px 0 0 36px;
resize: none;
border-radius: 3px;
font-family: 'Google Sans Text', 'Google Sans', Arial, Helvetica, sans-serif;
font-family: sans-serif;
font-size: 11px;
padding: 2px;
line-break: anywhere;
Expand Down
2 changes: 1 addition & 1 deletion src/ui/src/components/visualizer/view_on_node.scss
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
border: 1px solid #aaa;
border-radius: 3px;
padding: 3px 26px 3px 4px;
min-width: 200px;
width: 200px;

&::placeholder {
color: #aaa;
Expand Down
Loading