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/02/03 14:55:10 UTC

[incubator-datalab] branch develop updated: [DATALAB-2273] added hint for user tag

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

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


The following commit(s) were added to refs/heads/develop by this push:
     new 7c2a9f4  [DATALAB-2273] added hint for user tag
     new 1cca30b  Merge pull request #1056 from YuraTyhun/DATALAB-2273
7c2a9f4 is described below

commit 7c2a9f45efab5abd0c208ded607ac62d636fdb09
Author: Yurii Tykhun <ty...@gmail.com>
AuthorDate: Wed Feb 3 15:42:00 2021 +0200

    [DATALAB-2273] added hint for user tag
---
 .../webapp/src/app/administration/roles/roles.component.html        | 6 +++++-
 .../webapp/src/app/administration/roles/roles.component.scss        | 4 ++++
 services/self-service/src/main/resources/webapp/src/styles.scss     | 4 ++++
 3 files changed, 13 insertions(+), 1 deletion(-)

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 2dfa491..0b78937 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
@@ -143,7 +143,11 @@
           <div class="list-selected list-container ani">
             <div class="scrolling">
               <mat-chip-list [disabled]="true">
-                <mat-chip *ngFor="let user of element.users">
+                <mat-chip 
+                  *ngFor="let user of element.users" 
+                  [matTooltip]="user"
+                  matTooltipPosition="above"
+                  matTooltipClass="mat-tooltip-for-users">
                   {{ user }}
                   <a class="material-icons" (click)="removeUser(element.users, user)">clear</a>
                 </mat-chip>
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 227692f..7ca3ed0 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
@@ -296,6 +296,10 @@ mat-chip.mat-chip a {
   right: 15px;
 }
 
+mat-chip:hover::after {
+  opacity: .12;
+}
+
 mat-form-field.chip-list {
   &.mat-form-field {
     position: absolute;
diff --git a/services/self-service/src/main/resources/webapp/src/styles.scss b/services/self-service/src/main/resources/webapp/src/styles.scss
index 3c5d948..bfa4251 100644
--- a/services/self-service/src/main/resources/webapp/src/styles.scss
+++ b/services/self-service/src/main/resources/webapp/src/styles.scss
@@ -515,3 +515,7 @@ input[type='number'] {
   overflow: hidden;
   text-overflow: ellipsis;
 }
+
+.mat-tooltip-for-users {
+  overflow-wrap: break-word;
+}
\ No newline at end of file


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