You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by an...@apache.org on 2019/06/03 13:26:56 UTC

[incubator-dlab] branch feature/projects updated (047221c -> d7f402a)

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

ankovalyshyn pushed a change to branch feature/projects
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git.


    from 047221c  DLAB-000 changed userInstance dto field name
     new a740012  [DLAB-655]: added focus on configuration check
     new 1e31375  [DLAB-655]: added empty default options to selects
     new d7f402a  [DLAB-655]: fixrd issue with hirizontal scrolling on projects list

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../exploratory-environment-create-dialog.component.html       |  6 +++++-
 .../exploratory-environment-create-dialog.component.ts         |  2 +-
 .../src/main/resources/webapp/src/assets/styles/_theme.scss    | 10 ++++++++++
 3 files changed, 16 insertions(+), 2 deletions(-)


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


[incubator-dlab] 01/03: [DLAB-655]: added focus on configuration check

Posted by an...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ankovalyshyn pushed a commit to branch feature/projects
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git

commit a7400121a720d01b36d84d89a0167cf7f6259bd8
Author: Andriana Kovalyshyn <An...@epam.com>
AuthorDate: Mon Jun 3 16:24:54 2019 +0300

    [DLAB-655]: added focus on configuration check
---
 .../exploratory-environment-create-dialog.component.ts                  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/exploratory-environment-create-dialog/exploratory-environment-create-dialog.component.ts b/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/exploratory-environment-create-dialog/exploratory-environment-create-dialog.component.ts
index adab1b1..2b2f40b 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/exploratory-environment-create-dialog/exploratory-environment-create-dialog.component.ts
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/exploratory-environment-create-dialog/exploratory-environment-create-dialog.component.ts
@@ -96,7 +96,7 @@ export class ExploratoryEnvironmentCreateComponent implements OnInit {
     const value = (this.configuration.nativeElement.checked && this.createExploratoryForm)
       ? JSON.stringify(CLUSTER_CONFIGURATION.SPARK, undefined, 2) : '';
 
-    document.querySelector('#configurationNode').scrollIntoView({ block: 'start', behavior: 'smooth' });
+    document.querySelector('#config').scrollIntoView({ block: 'start', behavior: 'smooth' });
     this.createExploratoryForm.controls['configuration_parameters'].setValue(value);
   }
 


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


[incubator-dlab] 02/03: [DLAB-655]: added empty default options to selects

Posted by an...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ankovalyshyn pushed a commit to branch feature/projects
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git

commit 1e3137528e7ad5ea4e5bd9d254e87c745dbc59ea
Author: Andriana Kovalyshyn <An...@epam.com>
AuthorDate: Mon Jun 3 16:26:00 2019 +0300

    [DLAB-655]: added empty default options to selects
---
 .../exploratory-environment-create-dialog.component.html            | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/exploratory-environment-create-dialog/exploratory-environment-create-dialog.component.html b/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/exploratory-environment-create-dialog/exploratory-environment-create-dialog.component.html
index 7f0d440..b5b9687 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/exploratory-environment-create-dialog/exploratory-environment-create-dialog.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/exploratory/exploratory-environment-create-dialog/exploratory-environment-create-dialog.component.html
@@ -32,6 +32,7 @@
               <mat-label>Select project</mat-label>
               <mat-select formControlName="project" disableOptionCentering>
                 <mat-option *ngFor="let project of projects" [value]="project.name" (click)="getTemplates($event, project)">{{ project.name }}</mat-option>
+                <mat-option *ngIf="!projects.length" class="multiple-select" disabled>Projects list is empty</mat-option>
               </mat-select>
               <button class="caret">
                 <i class="material-icons">keyboard_arrow_down</i>
@@ -47,6 +48,7 @@
               <mat-label>Select endpoint</mat-label>
               <mat-select formControlName="endpoint" disableOptionCentering>
                 <mat-option *ngFor="let endpoint of endpoints" [value]="endpoint">{{ endpoint }}</mat-option>
+                <mat-option *ngIf="!endpoints.length" class="multiple-select" disabled>Endpoints list is empty</mat-option>
               </mat-select>
               <button class="caret">
                 <i class="material-icons">keyboard_arrow_down</i>
@@ -66,6 +68,7 @@
                   (click)="getShapes(template)">
                   {{ template.exploratory_environment_versions[0].template_name }}
                 </mat-option>
+                <mat-option *ngIf="!templates.length" class="multiple-select" disabled>Templates list is empty</mat-option>
               </mat-select>
               <button class="caret">
                 <i class="material-icons">keyboard_arrow_down</i>
@@ -82,6 +85,7 @@
               <mat-select formControlName="notebook_image_name" disableOptionCentering>
                 <mat-option [value]="null">None</mat-option>
                 <mat-option *ngFor="let image of images" [value]="image.name">{{ image.name }}</mat-option>
+                <mat-option *ngIf="!images.length" class="multiple-select" disabled>Images list is empty</mat-option>
               </mat-select>
               <button class="caret">
                 <i class="material-icons">keyboard_arrow_down</i>
@@ -131,7 +135,7 @@
               <input #configurationNode type="checkbox" (change)="selectConfiguration()" /> Spark configurations
             </label>
             <div class="config-details" [ngClass]="{ show: configuration?.nativeElement['checked'] || false }">
-              <textarea formControlName="cluster_config" placeholder="Cluster configuration template, JSON" data-gramm_editor="false"></textarea>
+              <textarea formControlName="cluster_config" placeholder="Cluster configuration template, JSON" data-gramm_editor="false" id="config"></textarea>
               <span class="error" *ngIf="!createExploratoryForm?.controls.cluster_config.valid && createExploratoryForm?.controls['cluster_config'].dirty">Configuration parameters is not in a valid format</span>
             </div>
           </div>


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


[incubator-dlab] 03/03: [DLAB-655]: fixrd issue with hirizontal scrolling on projects list

Posted by an...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

ankovalyshyn pushed a commit to branch feature/projects
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git

commit d7f402a4ac7aeb0de54e282040f436c418369625
Author: Andriana Kovalyshyn <An...@epam.com>
AuthorDate: Mon Jun 3 16:26:45 2019 +0300

    [DLAB-655]: fixrd issue with hirizontal scrolling on projects list
---
 .../src/main/resources/webapp/src/assets/styles/_theme.scss    | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/services/self-service/src/main/resources/webapp/src/assets/styles/_theme.scss b/services/self-service/src/main/resources/webapp/src/assets/styles/_theme.scss
index 03dc54f..4d5c5c1 100644
--- a/services/self-service/src/main/resources/webapp/src/assets/styles/_theme.scss
+++ b/services/self-service/src/main/resources/webapp/src/assets/styles/_theme.scss
@@ -289,6 +289,9 @@
         .mat-form-field-label {
           padding-top: 0;
           color: #607d8b;
+          mat-label {
+            vertical-align: middle;
+          }
         }
         .mat-select {
           &:focus {
@@ -486,3 +489,10 @@ mat-horizontal-stepper {
     }
   }
 }
+
+.mat-table {
+  .mat-cell {
+    word-break: break-all;
+    padding: 5px 10px;
+  }
+}
\ No newline at end of file


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