[ARVADOS-WORKBENCH2] updated: 1.1.4-416-g8c6209c

Git user git at public.curoverse.com
Tue Jul 24 08:07:58 EDT 2018


Summary of changes:
 src/components/side-panel/side-panel.tsx           |   2 +
 src/index.tsx                                      |   2 +
 .../favorite-service/favorite-order-builder.ts     |  48 ++++++++
 src/services/favorite-service/favorite-service.ts  |  24 ++--
 src/services/project-service/project-service.ts    |   1 -
 .../favorite-panel/favorite-panel-middleware.ts    | 125 +++++++++++++++++++++
 src/store/favorites/favorites-actions.ts           |   6 +-
 src/store/navigation/navigation-action.ts          |   1 +
 src/store/side-panel/side-panel-reducer.ts         |  14 ++-
 src/store/store.ts                                 |   4 +-
 .../action-sets/favorite-action-set.ts             |  18 +++
 .../context-menu/action-sets/project-action-set.ts |   6 +-
 src/views-components/context-menu/context-menu.tsx |   3 +-
 .../favorite-panel-item.ts}                        |   4 +-
 .../favorite-panel.tsx}                            |  82 ++++++--------
 src/views/workbench/workbench.tsx                  |  35 +++++-
 16 files changed, 302 insertions(+), 73 deletions(-)
 create mode 100644 src/services/favorite-service/favorite-order-builder.ts
 create mode 100644 src/store/favorite-panel/favorite-panel-middleware.ts
 create mode 100644 src/views-components/context-menu/action-sets/favorite-action-set.ts
 copy src/views/{project-panel/project-panel-item.ts => favorite-panel/favorite-panel-item.ts} (84%)
 copy src/views/{project-panel/project-panel.tsx => favorite-panel/favorite-panel.tsx} (66%)

       via  8c6209c45e4720c66dd53640142cbc9111748246 (commit)
       via  45f4e01be5f55c1ba1ec21b3ca1b1371bed707ee (commit)
       via  6129d1321586333fc7da1193c2b2e1c1e701c352 (commit)
       via  e7d5aed05a563ee1c4ce7fc15181306abc0952d6 (commit)
       via  98237b19875f6437fa1e01845ad9c911d886cf04 (commit)
       via  18ff30c75321f3be6a9e02529af2b5e1f1a3ddb0 (commit)
       via  4652d6baf3d0424d091e8e9e42660447f6259bd5 (commit)
       via  ce074465f93417bec660d09597aeabc75664a679 (commit)
       via  c2ce837bcdbe8605880059d5e0de484ae2ac9f6e (commit)
       via  9f72326a9442c6db9c29cbd50db7d047106efc90 (commit)
       via  2953c96ede69c1d518ae05f1a57239aad951d0e7 (commit)
       via  224cde8bd16074b2755cedf44ae048340bc82969 (commit)
       via  dd01c37f3cc8b741e4202c480271eb2ffa6a3021 (commit)
       via  1f37ef5dfe95421be1af2f821ea4a8499babc655 (commit)
       via  62daa4bdd790f99845bbc49062015799fdfd82b5 (commit)
       via  ab3e261d28ff83fa214002a372a055817a931cd1 (commit)
      from  434e46f35eea74f5defd2ca7d19e418f216c35e3 (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 8c6209c45e4720c66dd53640142cbc9111748246
Merge: 434e46f 45f4e01
Author: Daniel Kos <daniel.kos at contractors.roche.com>
Date:   Tue Jul 24 14:02:48 2018 +0200

    refs #13573 Merge branch '13753-favorites-view'
    
    Arvados-DCO-1.1-Signed-off-by: Daniel Kos <daniel.kos at contractors.roche.com>

diff --cc src/store/favorites/favorites-actions.ts
index c38f4d1,4a176e3..33fc7e3
--- a/src/store/favorites/favorites-actions.ts
+++ b/src/store/favorites/favorites-actions.ts
@@@ -21,12 -21,12 +21,12 @@@ export const toggleFavorite = (resource
          const userUuid = getState().auth.user!.uuid;
          dispatch(favoritesActions.TOGGLE_FAVORITE({ resourceUuid: resource.uuid }));
          const isFavorite = checkFavorite(resource.uuid, getState().favorites);
-         const promise: (any) = isFavorite
 -        const promise = isFavorite
++        const promise: any = isFavorite
              ? favoriteService.delete({ userUuid, resourceUuid: resource.uuid })
              : favoriteService.create({ userUuid, resource });
  
-         promise
+         return promise
 -            .then(fav => {
 +            .then(() => {
                  dispatch(favoritesActions.UPDATE_FAVORITES({ [resource.uuid]: !isFavorite }));
              });
      };
diff --cc src/store/store.ts
index 8a5136c,ff2beb0..a5e22e8
--- a/src/store/store.ts
+++ b/src/store/store.ts
@@@ -14,7 -14,7 +14,8 @@@ import { dataExplorerReducer, DataExplo
  import { projectPanelMiddleware } from './project-panel/project-panel-middleware';
  import { detailsPanelReducer, DetailsPanelState } from './details-panel/details-panel-reducer';
  import { contextMenuReducer, ContextMenuState } from './context-menu/context-menu-reducer';
+ import { favoritePanelMiddleware } from "./favorite-panel/favorite-panel-middleware";
 +import { reducer as formReducer } from 'redux-form';
  import { FavoritesState, favoritesReducer } from './favorites/favorites-reducer';
  
  const composeEnhancers =

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list