You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by yt...@apache.org on 2021/06/01 08:40:30 UTC

[incubator-datalab] 01/01: [DATALAB-2378] added UI minor improvements for some pages

This is an automated email from the ASF dual-hosted git repository.

ytykhun pushed a commit to branch DATALAB-2378
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git

commit 635b8db03014e2da39336d38cee7db3dc683b46d
Author: Yurii Tykhun <ty...@gmail.com>
AuthorDate: Tue Jun 1 11:37:20 2021 +0300

    [DATALAB-2378] added UI minor improvements for some pages
---
 .../configuration/configuration.component.html           | 16 ++++++++--------
 .../create-environment/create-environment.component.html |  2 +-
 .../install-libraries/install-libraries.component.html   |  3 ++-
 3 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/administration/configuration/configuration.component.html b/services/self-service/src/main/resources/webapp/src/app/administration/configuration/configuration.component.html
index 25f6c36..faab5da 100644
--- a/services/self-service/src/main/resources/webapp/src/app/administration/configuration/configuration.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/administration/configuration/configuration.component.html
@@ -62,6 +62,14 @@
           Discard changes
         </button>
       </ng-template>
+      <button
+        mat-raised-button type="button"
+        class="butt action"
+        (click)="restartServices()"
+        [disabled]="isServiceSelected()"
+      >
+        Restart
+      </button>
       <button mat-raised-button class="butt" (click)="refreshConfig()">
         <i class="material-icons refresh-icon">autorenew</i>Refresh
       </button>
@@ -97,14 +105,6 @@
                   </p>
                 </li>
               </ul>
-              <button
-                mat-raised-button type="button"
-                class="butt action"
-                (click)="restartServices()"
-                [disabled]="isServiceSelected()"
-              >
-                Restart
-              </button>
             </div>
           </section>
         </div>
diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/create-environment/create-environment.component.html b/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/create-environment/create-environment.component.html
index a08ff84..b3f280c 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/create-environment/create-environment.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/create-environment/create-environment.component.html
@@ -29,7 +29,7 @@
           <label class="label">Select project</label>
           <div class="control selector-wrapper">
             <mat-form-field>
-              <mat-select formControlName="project" panelClass="create-resources-dialog scrolling" placeholder="Select project">
+              <mat-select formControlName="project" disableOptionCentering panelClass="create-resources-dialog scrolling" placeholder="Select project">
                 <mat-option *ngFor="let project of projects" [value]="project.name" (click)="setEndpoints(project)">
                   {{ project.name }}</mat-option>
                 <mat-option *ngIf="!projects.length" class="multiple-select ml-10" disabled>Projects list is empty
diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/install-libraries/install-libraries.component.html b/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/install-libraries/install-libraries.component.html
index 630590a..3813fcc 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/install-libraries/install-libraries.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/install-libraries/install-libraries.component.html
@@ -22,6 +22,7 @@
     <h4 class="modal-title">Manage <span>{{ notebook?.name }}</span> Libraries</h4>
     <button type="button" class="close" (click)="dialogRef.close()">&times;</button>
   </header>
+  <mat-progress-bar *ngIf="autoComplete === 'UPDATING'" mode="indeterminate"></mat-progress-bar>
   <div class="dialog-content">
    <div class="aligner">
     <div class="info" *ngIf="notebook?.status !== 'running'">
@@ -99,7 +100,7 @@
                   <span class="configuring" >Autocomplete is currently unavailable for {{groupsListMap[group]}} group</span >
                 </mat-option>
                 <mat-option *ngIf="autoComplete === 'UPDATING' && lib.name?.length > 1">
-                  <span class="configuring" >Autocomplete is currently loading for {{groupsListMap[group]}} group</span >
+                  <span class="configuring" >Library list is being loaded at the moment. Please wait a minute</span>
                 </mat-option>
               </mat-autocomplete>
             </div>

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org