Skip to content
Permalink
Browse files
[NO ISSUE][DASHBOARD] Updated dependenices for asterix-dashboard
-user model changes: no
-storage format changes: no
-interface changes no

Details:
-Fixed windows resizing issue with query naviagator
-Selecting dataverse will no longer delete current query
-Items per page increase
-Query plan navigator moved to left
-Zoom speed on query plan navigator slowed

Change-Id: I60b4a1a93324d613d71d528206d8b5d0ed6d4f4c
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/14866
Reviewed-by: Michael Blow <mblow@apache.org>
Tested-by: Michael Blow <mblow@apache.org>
  • Loading branch information
mileshong1 authored and mblow committed Mar 17, 2022
1 parent 518f6b3 commit 0b17c29f9c47b59e3e18100db42050aa45f56c81
Showing 6 changed files with 10 additions and 5 deletions.
@@ -46,6 +46,7 @@ $query-spacing-unit: 5px;
.options {
display: flex;
flex-flow: row;
overflow: auto;
}

.codemirror-container {
@@ -538,7 +538,7 @@
this.queryString = '';
this.selected = 'Default';
} else {
this.queryString = 'USE ' + this.selected + '; \n';
this.queryString = 'USE ' + this.selected + '; \n' + this.queryString;
}
this.editor.getDoc().setValue(this.queryString);
this.editor.execCommand('goDocEnd')
@@ -97,7 +97,7 @@ <h4 class="heading-title" *ngIf="detailed">Search:</h4>
[links]="edgesArr"
[nodes]="nodesArr"
[draggingEnabled]="false"
[zoomSpeed]="0.025"
[zoomSpeed]="0.015"
[update$]="update$"
[layoutSettings]="{
orientation: planOrientation,
@@ -36,7 +36,6 @@ limitations under the License.
}

.panel {
order: 2;
display: flex;
flex-flow: column;
justify-content: stretch;
@@ -30,7 +30,8 @@
<button *ngIf="isCSV" mat-button class='button export' (click)='openJSONExportPicker()' matTooltip="Export CSV file to Computer">EXPORT</button>
<button *ngIf="isCSV == false" mat-button class='button export' (click)='openJSONExportPicker()' matTooltip="Export JSON/JSONL file to Computer">EXPORT</button>
</span>
<mat-paginator *ngIf="this.planVisible === false" [showFirstLastButtons]="true" [length]='metrics.resultCount' [pageSize]='pagedefaults.pageSize' [pageSizeOptions]='pageSizeOptions' (page)='showResults($event, false)'>

<mat-paginator *ngIf="this.planVisible === false" [showFirstLastButtons]="true" [length]='metrics.resultCount' [pageSize]='pageSize' [pageSizeOptions]='pageSizeOptions' (page)='showResults($event, false)'>
</mat-paginator>
</div>
<div *ngIf='treeVisible' class='navi-data' class='navi-data'>
@@ -60,7 +60,8 @@ export class TreeViewComponent {
currentRange: any;
/* see 10 records as initial set */
pagedefaults: any = { pageIndex: 0, pageSize:10, lenght: 0};
pageSizeOptions = [5, 10, 25, 100, 200];
pageSize = 10;
pageSizeOptions = [5, 10, 25, 100, 200, 300, 400];
viewMode = 'JSON';
showGoTop = false;
showGoBottom = false;
@@ -141,6 +142,9 @@ export class TreeViewComponent {
}

showResults(range, expanded) {
// update pagesize
this.pageSize = range.pageSize;

this.currentRange = range;
this.currentIndex = this.currentRange.pageIndex;

0 comments on commit 0b17c29

Please sign in to comment.