[ARVADOS-WORKBENCH2] updated: 2.3.0-267-g41f6f1e4

Git user git at public.arvados.org
Mon Apr 4 21:37:05 UTC 2022


Summary of changes:
 cypress/integration/user-profile.spec.js           | 449 +++++++++++++++++++++
 cypress/integration/virtual-machine-admin.spec.js  |  14 +-
 src/components/context-menu/context-menu.tsx       |   4 +
 .../copy-to-clipboard-snackbar.tsx                 |  58 +++
 src/components/icon/icon.tsx                       |  11 +-
 src/components/select-field/select-field.tsx       |  10 +-
 src/models/group.ts                                |  16 +-
 src/routes/route-change-handlers.ts                |   9 +-
 src/routes/routes.ts                               |   6 +
 src/services/user-service/user-service.ts          |  21 +-
 src/store/auth/auth-action.ts                      |   4 +
 src/store/breadcrumbs/breadcrumbs-actions.ts       |  44 +-
 src/store/context-menu/context-menu-actions.ts     |  11 +
 src/store/context-menu/context-menu-filters.ts     |  40 ++
 .../group-details-panel-actions.ts                 |  43 +-
 ...oup-details-panel-members-middleware-service.ts |   9 +-
 ...details-panel-permissions-middleware-service.ts |   8 +-
 src/store/my-account/my-account-panel-actions.ts   |  30 --
 src/store/navigation/navigation-action.ts          |  11 +-
 src/store/store.ts                                 |   6 +
 src/store/user-profile/user-profile-actions.ts     | 177 ++++++++
 .../user-profile-groups-middleware-service.ts      |  81 ++++
 src/store/users/user-panel-middleware-service.ts   |  74 ++--
 src/store/users/users-actions.ts                   | 161 ++++----
 .../virtual-machines/virtual-machines-actions.ts   |   2 +-
 src/store/workbench/workbench-actions.ts           |  27 +-
 src/validators/validators.tsx                      |   2 +
 .../context-menu/action-sets/user-action-set.ts    |  70 +++-
 src/views-components/context-menu/context-menu.tsx |  18 +-
 src/views-components/data-explorer/renderers.tsx   | 137 +++++--
 .../dialog-create/dialog-user-create.tsx           |  12 +-
 .../dialog-forms/setup-shell-account-dialog.tsx    |  86 ----
 .../form-fields/user-form-fields.tsx               |  41 +-
 .../activate-dialog.tsx}                           |   9 +-
 .../deactivate-dialog.tsx}                         |   9 +-
 src/views-components/user-dialog/manage-dialog.tsx |  77 ----
 .../setup-dialog.tsx}                              |   9 +-
 .../group-details-panel/group-details-panel.tsx    |   8 +-
 .../my-account-panel/my-account-panel-root.tsx     | 164 --------
 src/views/my-account-panel/my-account-panel.tsx    |  27 --
 src/views/user-panel/user-panel.tsx                | 124 ++----
 .../user-profile-panel/user-profile-panel-root.tsx | 353 ++++++++++++++++
 .../user-profile-panel/user-profile-panel.tsx      |  43 ++
 src/views/workbench/workbench.tsx                  |  15 +-
 44 files changed, 1787 insertions(+), 743 deletions(-)
 create mode 100644 cypress/integration/user-profile.spec.js
 create mode 100644 src/components/copy-to-clipboard-snackbar/copy-to-clipboard-snackbar.tsx
 create mode 100644 src/store/context-menu/context-menu-filters.ts
 delete mode 100644 src/store/my-account/my-account-panel-actions.ts
 create mode 100644 src/store/user-profile/user-profile-actions.ts
 create mode 100644 src/store/user-profile/user-profile-groups-middleware-service.ts
 delete mode 100644 src/views-components/dialog-forms/setup-shell-account-dialog.tsx
 copy src/views-components/{ssh-keys-dialog/remove-dialog.tsx => user-dialog/activate-dialog.tsx} (71%)
 copy src/views-components/{ssh-keys-dialog/remove-dialog.tsx => user-dialog/deactivate-dialog.tsx} (71%)
 delete mode 100644 src/views-components/user-dialog/manage-dialog.tsx
 copy src/views-components/{ssh-keys-dialog/remove-dialog.tsx => user-dialog/setup-dialog.tsx} (71%)
 delete mode 100644 src/views/my-account-panel/my-account-panel-root.tsx
 delete mode 100644 src/views/my-account-panel/my-account-panel.tsx
 create mode 100644 src/views/user-profile-panel/user-profile-panel-root.tsx
 create mode 100644 src/views/user-profile-panel/user-profile-panel.tsx

       via  41f6f1e495c82fcfa79b87cf718fa2e9cd91c726 (commit)
       via  b13aaa8909cc1f8b4edf8d32fda9580a3c899418 (commit)
       via  952bcc8f3ef686a2463931bc3f88457398163df7 (commit)
       via  a7031136f64556a75204141b327f694192235cfd (commit)
       via  e4a198bd0cc9ed174cb68345623ce9fbd8923951 (commit)
       via  2ab43f230662c3f5d7d7ff75c08bdab0c66b22b0 (commit)
       via  8426035efad90f0745bf1c3e43da3027ef5c2805 (commit)
       via  3b4d9c223bbbd3778063eda39b5bf633b4b47e30 (commit)
       via  1ef4bffbfa4d05ae4356ef22b3964d6152310fb9 (commit)
       via  9828c767c310f24aea087aaa9f33a2134f0b1809 (commit)
       via  352e8d13baae99e7f4e9f1b88253d6988541fecb (commit)
       via  5cefad212822a48c83af1d38cbe14368c0cb1a20 (commit)
       via  d839ac44e90bfca5e07e8cc5ddf56c30deabc008 (commit)
       via  d5f11bb2fbb20c85e8ef857caedd58adf333e522 (commit)
       via  fa947bf995717dafce322213fabb84fbf5fd6d67 (commit)
       via  08f915990ffe4588c076efce4d01e0b3bed2b398 (commit)
       via  736b2d3cc858cfba93bedf5367f5af6c1852fcfe (commit)
       via  d4d0208892ea0f0f4bf79691770b14aca89db92b (commit)
       via  864465d579c4b2caf06fce87b1861674758135f6 (commit)
       via  ed59f8b637bc1131ec95e7215efb8bfa4fde9f04 (commit)
       via  6d49676d1505f09223d85a488e79ca678201a81b (commit)
       via  7e9513099881d63a99a70c69ddd71c5d83567fa4 (commit)
       via  066c2178f99f8fb5c818bc453b49ba8341d440a6 (commit)
       via  09b2d7a937291e1e74d773a4227c4cfc63c30972 (commit)
       via  a5cbf89b125947ddebacfb4475149d77a18d1851 (commit)
       via  46b878b9773789f7a953f58f3de2cc4bf370e153 (commit)
       via  96a705a50db3d742fd897c12a236b8a44bbcaffb (commit)
       via  ab13bb0f02c562635b95b3bdf908bd9941d149e4 (commit)
       via  36b2ed3407e92cb7788a87eb52badd18eb7b2b18 (commit)
       via  695ee8df0aeadd5eb788ca29da6450813880da76 (commit)
       via  514574540614593941c39592d9f9972f770e0cb7 (commit)
       via  71a95158c62c2dd106e1874c0b811c56b35cf9cc (commit)
       via  888c698aa77e4cfdeb346bed8995ba0ec2c17a08 (commit)
       via  aa14e6d194dde8f2ce473c0ed3b5d0b63af19c5c (commit)
       via  80852d13ef70331d0b5dcb7c0741956967129728 (commit)
       via  7435f8f863ff94834d7188772547cfb0cd4ba1d4 (commit)
       via  925a083d8e82281a6d1de1f1021a88da147e5bac (commit)
       via  9da78c51275666c685545d29cd92ffa0d32f7b2f (commit)
       via  addb01b6d7636a8963ddb1eff4799ebc96f44739 (commit)
       via  4e862392eae3d1a1846b3f33c6e29f4e68c31aca (commit)
       via  3583b37935585f9b19605d98c47ccef73c23cb15 (commit)
       via  33963600639e6e7f3cd4afea9d4210ee815c180b (commit)
      from  342f4ed11da7860e834928aa79974f096a8f6291 (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 41f6f1e495c82fcfa79b87cf718fa2e9cd91c726
Merge: 342f4ed1 b13aaa89
Author: Stephen Smith <stephen at curii.com>
Date:   Mon Apr 4 17:31:00 2022 -0400

    Merge branch '18559-user-profile' into main. Closes #18559
    
    Arvados-DCO-1.1-Signed-off-by: Stephen Smith <stephen at curii.com>

diff --cc src/components/icon/icon.tsx
index 557e22e7,4d17dd28..19b4beea
--- a/src/components/icon/icon.tsx
+++ b/src/components/icon/icon.tsx
@@@ -65,9 -65,11 +65,14 @@@ import VpnKey from '@material-ui/icons/
  import LinkOutlined from '@material-ui/icons/LinkOutlined';
  import RemoveRedEye from '@material-ui/icons/RemoveRedEye';
  import Computer from '@material-ui/icons/Computer';
 +import WrapText from '@material-ui/icons/WrapText';
 +import TextIncrease from '@material-ui/icons/ZoomIn';
 +import TextDecrease from '@material-ui/icons/ZoomOut';
+ import CropFreeSharp from '@material-ui/icons/CropFreeSharp';
+ import ExitToApp from '@material-ui/icons/ExitToApp';
+ import CheckCircleOutline from '@material-ui/icons/CheckCircleOutline';
+ import RemoveCircleOutline from '@material-ui/icons/RemoveCircleOutline';
+ import NotInterested from '@material-ui/icons/NotInterested';
  
  // Import FontAwesome icons
  import { library } from '@fortawesome/fontawesome-svg-core';
@@@ -176,6 -177,8 +180,11 @@@ export const CanReadIcon: IconType = (p
  export const CanWriteIcon: IconType = (props) => <Edit {...props} />;
  export const CanManageIcon: IconType = (props) => <Computer {...props} />;
  export const AddUserIcon: IconType = (props) => <PersonAdd {...props} />;
 +export const WordWrapIcon: IconType = (props) => <WrapText {...props} />;
 +export const TextIncreaseIcon: IconType = (props) => <TextIncrease {...props} />;
 +export const TextDecreaseIcon: IconType = (props) => <TextDecrease {...props} />;
+ export const DeactivateUserIcon: IconType = (props) => <NotInterested {...props} />;
+ export const LoginAsIcon: IconType = (props) => <ExitToApp {...props} />;
+ export const ActiveIcon: IconType = (props) => <CheckCircleOutline {...props} />;
+ export const SetupIcon: IconType = (props) => <RemoveCircleOutline {...props} />;
+ export const InactiveIcon: IconType = (props) => <NotInterested {...props} />;
diff --cc src/routes/routes.ts
index d7257b51,205ae08f..50689ec3
--- a/src/routes/routes.ts
+++ b/src/routes/routes.ts
@@@ -94,8 -96,12 +95,10 @@@ export const getNavUrl = (uuid: string
  
  export const getProcessUrl = (uuid: string) => `/processes/${uuid}`;
  
 -export const getProcessLogUrl = (uuid: string) => `/process-logs/${uuid}`;
 -
  export const getGroupUrl = (uuid: string) => `/group/${uuid}`;
  
+ export const getUserProfileUrl = (uuid: string) => `/user/${uuid}`;
+ 
  export interface ResourceRouteParams {
      id: string;
  }
diff --cc src/store/navigation/navigation-action.ts
index 49f56591,776409c0..1cdb6784
--- a/src/store/navigation/navigation-action.ts
+++ b/src/store/navigation/navigation-action.ts
@@@ -6,7 -6,7 +6,7 @@@ import { Dispatch, compose, AnyAction 
  import { push } from "react-router-redux";
  import { ResourceKind, extractUuidKind } from 'models/resource';
  import { SidePanelTreeCategory } from '../side-panel-tree/side-panel-tree-actions';
- import { Routes, getGroupUrl, getNavUrl } from 'routes/routes';
 -import { Routes, getProcessLogUrl, getGroupUrl, getNavUrl, getUserProfileUrl } from 'routes/routes';
++import { Routes, getGroupUrl, getNavUrl, getUserProfileUrl } from 'routes/routes';
  import { RootState } from 'store/store';
  import { ServiceRepository } from 'services/services';
  import { pluginConfig } from 'plugins';

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list