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

[incubator-datalab] branch DATALAB-2214 created (now 189ab21)

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

dgnatyshyn pushed a change to branch DATALAB-2214
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git.


      at 189ab21  Small fix

This branch includes the following new commits:

     new eb298cc  [DATALAB-2214]: Fixed scroll users list on role page for Chrome/Safari browsers
     new 189ab21  Small fix

The 2 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.



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


[incubator-datalab] 01/02: [DATALAB-2214]: Fixed scroll users list on role page for Chrome/Safari browsers

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

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

commit eb298ccaf0c0516425c93b48c98055bc85f2ea6f
Author: Dmytro_Gnatyshyn <di...@ukr.net>
AuthorDate: Wed Jan 6 11:34:39 2021 +0200

    [DATALAB-2214]: Fixed scroll users list on role page for Chrome/Safari browsers
---
 .../src/app/administration/roles/roles.component.html      | 14 ++++++++------
 .../src/app/administration/roles/roles.component.scss      | 11 ++++++++---
 .../install-libraries/install-libraries.component.html     |  4 ++--
 .../main/resources/webapp/src/assets/styles/_theme.scss    |  3 +++
 4 files changed, 21 insertions(+), 11 deletions(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/administration/roles/roles.component.html b/services/self-service/src/main/resources/webapp/src/app/administration/roles/roles.component.html
index 5189557..2dfa491 100644
--- a/services/self-service/src/main/resources/webapp/src/app/administration/roles/roles.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/administration/roles/roles.component.html
@@ -141,12 +141,14 @@
             </button>
           </mat-form-field>
           <div class="list-selected list-container ani">
-            <mat-chip-list>
-              <mat-chip *ngFor="let user of element.users">
-                {{ user }}
-                <a class="material-icons" (click)="removeUser(element.users, user)">clear</a>
-              </mat-chip>
-            </mat-chip-list>
+            <div class="scrolling">
+              <mat-chip-list [disabled]="true">
+                <mat-chip *ngFor="let user of element.users">
+                  {{ user }}
+                  <a class="material-icons" (click)="removeUser(element.users, user)">clear</a>
+                </mat-chip>
+              </mat-chip-list>
+            </div>
           </div>
         </td>
       </ng-container>
diff --git a/services/self-service/src/main/resources/webapp/src/app/administration/roles/roles.component.scss b/services/self-service/src/main/resources/webapp/src/app/administration/roles/roles.component.scss
index 3a13669..743c06a 100644
--- a/services/self-service/src/main/resources/webapp/src/app/administration/roles/roles.component.scss
+++ b/services/self-service/src/main/resources/webapp/src/app/administration/roles/roles.component.scss
@@ -274,14 +274,19 @@ mat-expansion-panel-header {
   }
 }
 
+.mat-chip-list{
+  pointer-events: auto;
+}
+
+
+
 .mat-chip:not(.mat-basic-chip) {
   transition: box-shadow 280ms cubic-bezier(.4, 0, .2, 1);
-  padding: 7px 0 7px 10px;
+  padding: 7px 25px 7px 10px;
   border-radius: 24px;
   cursor: default;
   display: inline-block;
-  position: relative;
-  padding-right: 25px;
+  position: relative;  ;
   white-space: nowrap;
   max-width: 100%;
   overflow: hidden;
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 41f9246..80f81f1 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
@@ -189,8 +189,8 @@
           </ng-template>
 
           <div class="search">
-            <div class="list-selected list-container" id='scrolling'>
-              <mat-chip-list *ngIf="model.selectedLibs.length && libs_uploaded">
+            <div class="list-selected list-container scrolling">
+              <mat-chip-list *ngIf="model.selectedLibs.length && libs_uploaded" [disabled]="true">
                 <mat-chip *ngFor="let item of model.selectedLibs">
                   {{ item.name }}
                   <span *ngIf="item.version && item.version !== 'N/A'">&nbsp;{{ item.version }}</span>
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 6c612fd..bfdd064 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
@@ -358,6 +358,9 @@ span.mat-slide-toggle-content {
   .mat-chip{
     overflow: hidden;
     pointer-events: all;
+    &.mat-standard-chip.mat-chip-disabled{
+      opacity: 1;
+    }
   }
 }
 


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


[incubator-datalab] 02/02: Small fix

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

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

commit 189ab21e2f3ab5f1548838f1ed609e43242183d8
Author: Dmytro_Gnatyshyn <di...@ukr.net>
AuthorDate: Wed Jan 6 11:35:56 2021 +0200

    Small fix
---
 .../resources/webapp/src/app/administration/roles/roles.component.scss  | 2 --
 1 file changed, 2 deletions(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/administration/roles/roles.component.scss b/services/self-service/src/main/resources/webapp/src/app/administration/roles/roles.component.scss
index 743c06a..227692f 100644
--- a/services/self-service/src/main/resources/webapp/src/app/administration/roles/roles.component.scss
+++ b/services/self-service/src/main/resources/webapp/src/app/administration/roles/roles.component.scss
@@ -278,8 +278,6 @@ mat-expansion-panel-header {
   pointer-events: auto;
 }
 
-
-
 .mat-chip:not(.mat-basic-chip) {
   transition: box-shadow 280ms cubic-bezier(.4, 0, .2, 1);
   padding: 7px 25px 7px 10px;


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