[ARVADOS-WORKBENCH2] updated: 1.4.1-453-g2c7ded94

Git user git at public.arvados.org
Mon Oct 5 20:57:51 UTC 2020


Summary of changes:
 src/store/auth/auth-action-session.ts | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

       via  2c7ded941806dfa7da0d4e2255257a5e022efe8f (commit)
       via  f56ac713283fd5e0ade864e49f5519c0f3e467d0 (commit)
      from  c666d78642ac6af933bfee6bca45b0815a2ed86e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 2c7ded941806dfa7da0d4e2255257a5e022efe8f
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Mon Oct 5 16:56:59 2020 -0400

    16947: do not produce snackbar errors in validateSessions()
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>

diff --git a/src/store/auth/auth-action-session.ts b/src/store/auth/auth-action-session.ts
index 0f85e9ac..8fc17810 100644
--- a/src/store/auth/auth-action-session.ts
+++ b/src/store/auth/auth-action-session.ts
@@ -188,10 +188,11 @@ export const validateSessions = () =>
 			   places in Workbench2. */
                         await dispatch(validateSession(session, activeSession));
                     } catch (e) {
-                        dispatch(snackbarActions.OPEN_SNACKBAR({
-                            message: e.message,
-                            kind: SnackbarKind.ERROR
-                        }));
+                        // Don't do anything here.  User may get
+                        // spammed with multiple messages that are not
+                        // helpful.  They can see the individual
+                        // errors by going to site manager and trying
+                        // to toggle the session.
                     }
                 }
             }

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list