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/09/05 13:40:57 UTC

[incubator-dlab] branch DLAB-1044 created (now 5443d06)

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

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


      at 5443d06  [DLAB-984]: added error message in case of project starting issues

This branch includes the following new commits:

     new de14f04  [DLAB-984]: added error message in case of project starting issues
     new 5443d06  [DLAB-984]: added error message in case of project starting issues

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@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org


[incubator-dlab] 01/02: [DLAB-984]: added error message in case of project starting issues

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

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

commit de14f04028b7cd419c468cbe6bb97d231f584173
Author: Andriana Kovalyshyn <An...@epam.com>
AuthorDate: Thu Sep 5 16:40:27 2019 +0300

    [DLAB-984]: added error message in case of project starting issues
---
 .../webapp/src/app/administration/project/project.component.ts         | 3 ++-
 .../src/app/resources/resources-grid/resources-grid.component.scss     | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/administration/project/project.component.ts b/services/self-service/src/main/resources/webapp/src/app/administration/project/project.component.ts
index a8976c3..18d892e 100644
--- a/services/self-service/src/main/resources/webapp/src/app/administration/project/project.component.ts
+++ b/services/self-service/src/main/resources/webapp/src/app/administration/project/project.component.ts
@@ -107,7 +107,8 @@ export class ProjectComponent implements OnInit, OnDestroy {
   }
 
   private toggleStatusRequest(data, action) {
-    this.projectService.toggleProjectStatus(data, action).subscribe(res => this.refreshGrid());
+    this.projectService.toggleProjectStatus(data, action).subscribe(() => this.refreshGrid(),
+      error => this.toastr.error(error.message, 'Oops!'));
   }
 
   private getEnvironmentHealthStatus() {
diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.scss b/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.scss
index 2d8edc2..9d1aae2 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.scss
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.scss
@@ -209,7 +209,7 @@ tr.element-row:not(.expanded-row):active {
 }
 
 .filter-row .actions {
-  text-align: center;
+  text-align: right;
 }
 
 .filter-row .actions button {


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


[incubator-dlab] 02/02: [DLAB-984]: added error message in case of project starting issues

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

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

commit 5443d069aa684fbd1040b236a73898c28c2ff549
Author: Andriana Kovalyshyn <An...@epam.com>
AuthorDate: Thu Sep 5 16:40:47 2019 +0300

    [DLAB-984]: added error message in case of project starting issues
---
 .../src/main/resources/webapp/src/app/core/util/checkUtils.ts           | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/core/util/checkUtils.ts b/services/self-service/src/main/resources/webapp/src/app/core/util/checkUtils.ts
index 9a05903..f975d90 100644
--- a/services/self-service/src/main/resources/webapp/src/app/core/util/checkUtils.ts
+++ b/services/self-service/src/main/resources/webapp/src/app/core/util/checkUtils.ts
@@ -33,7 +33,7 @@ export class CheckUtils {
     const charCode = ($event.which) ? $event.which : $event.keyCode;
     if (charCode > 31 && (charCode < 48 || charCode > 57)
       && (charCode < 96 || charCode > 105)
-      || charCode === 45 || charCode === 47) {
+      || charCode === 45 || charCode === 47 || charCode === 101) {
       $event.preventDefault();
       return false;
     }


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