[ARVADOS-WORKBENCH2] updated: 1.1.4-295-g87dad7d
Git user
git at public.curoverse.com
Fri Jul 13 10:34:45 EDT 2018
Summary of changes:
src/views-components/context-menu/context-menu.tsx | 2 +-
src/views-components/context-menu/index.ts | 4 ++--
.../context-menu/{ => item-sets}/empty-item-set.ts | 4 ++--
.../context-menu/{ => item-sets}/project-item-set.ts | 8 ++++----
.../context-menu/{ => item-sets}/root-project-item-set.ts | 8 ++++----
5 files changed, 13 insertions(+), 13 deletions(-)
rename src/views-components/context-menu/{ => item-sets}/empty-item-set.ts (53%)
rename src/views-components/context-menu/{ => item-sets}/project-item-set.ts (65%)
rename src/views-components/context-menu/{ => item-sets}/root-project-item-set.ts (63%)
via 87dad7df1d3e32afccf7357df1b1d39af5a98154 (commit)
from 8686e6aa3ba0f53b524898f8ef3a7214561cc6a4 (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 87dad7df1d3e32afccf7357df1b1d39af5a98154
Author: Michal Klobukowski <michal.klobukowski at contractors.roche.com>
Date: Fri Jul 13 16:34:28 2018 +0200
Improve code organization under context-menu directory
Feature #13805
Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski <michal.klobukowski at contractors.roche.com>
diff --git a/src/views-components/context-menu/context-menu.tsx b/src/views-components/context-menu/context-menu.tsx
index 93cb644..b7654f8 100644
--- a/src/views-components/context-menu/context-menu.tsx
+++ b/src/views-components/context-menu/context-menu.tsx
@@ -9,7 +9,7 @@ import ContextMenu, { ContextMenuProps, ContextMenuItem } from "../../components
import { createAnchorAt } from "../../components/popover/helpers";
import { ContextMenuResource } from "../../store/context-menu/context-menu-reducer";
import { ContextMenuItemSet } from "./context-menu-item-set";
-import { emptyItemSet } from "./empty-item-set";
+import { emptyItemSet } from "./item-sets/empty-item-set";
type DataProps = Pick<ContextMenuProps, "anchorEl" | "items"> & { resource?: ContextMenuResource };
const mapStateToProps = (state: RootState): DataProps => {
diff --git a/src/views-components/context-menu/index.ts b/src/views-components/context-menu/index.ts
index 9293330..c4eef70 100644
--- a/src/views-components/context-menu/index.ts
+++ b/src/views-components/context-menu/index.ts
@@ -3,8 +3,8 @@
// SPDX-License-Identifier: AGPL-3.0
import { ContextMenuHOC, addMenuItemsSet } from "./context-menu";
-import { projectItemSet } from "./project-item-set";
-import { rootProjectItemSet } from "./root-project-item-set";
+import { projectItemSet } from "./item-sets/project-item-set";
+import { rootProjectItemSet } from "./item-sets/root-project-item-set";
export default ContextMenuHOC;
diff --git a/src/views-components/context-menu/empty-item-set.ts b/src/views-components/context-menu/item-sets/empty-item-set.ts
similarity index 53%
rename from src/views-components/context-menu/empty-item-set.ts
rename to src/views-components/context-menu/item-sets/empty-item-set.ts
index 209b75c..9ebf065 100644
--- a/src/views-components/context-menu/empty-item-set.ts
+++ b/src/views-components/context-menu/item-sets/empty-item-set.ts
@@ -2,8 +2,8 @@
//
// SPDX-License-Identifier: AGPL-3.0
-import { ContextMenuItemGroup } from "../../components/context-menu/context-menu";
-import { ContextMenuItemSet } from "./context-menu-item-set";
+import { ContextMenuItemGroup } from "../../../components/context-menu/context-menu";
+import { ContextMenuItemSet } from "../context-menu-item-set";
export const emptyItemSet: ContextMenuItemSet = {
getItems: () => items,
diff --git a/src/views-components/context-menu/project-item-set.ts b/src/views-components/context-menu/item-sets/project-item-set.ts
similarity index 65%
rename from src/views-components/context-menu/project-item-set.ts
rename to src/views-components/context-menu/item-sets/project-item-set.ts
index e205339..9cda327 100644
--- a/src/views-components/context-menu/project-item-set.ts
+++ b/src/views-components/context-menu/item-sets/project-item-set.ts
@@ -2,10 +2,10 @@
//
// SPDX-License-Identifier: AGPL-3.0
-import { ContextMenuItemGroup } from "../../components/context-menu/context-menu";
-import { ContextMenuItemSet } from "./context-menu-item-set";
-import actions from "../../store/project/project-action";
-import { IconTypes } from "../../components/icon/icon";
+import { ContextMenuItemGroup } from "../../../components/context-menu/context-menu";
+import { ContextMenuItemSet } from "../context-menu-item-set";
+import actions from "../../../store/project/project-action";
+import { IconTypes } from "../../../components/icon/icon";
export const projectItemSet: ContextMenuItemSet = {
getItems: () => items,
diff --git a/src/views-components/context-menu/root-project-item-set.ts b/src/views-components/context-menu/item-sets/root-project-item-set.ts
similarity index 63%
rename from src/views-components/context-menu/root-project-item-set.ts
rename to src/views-components/context-menu/item-sets/root-project-item-set.ts
index 5106881..906424a 100644
--- a/src/views-components/context-menu/root-project-item-set.ts
+++ b/src/views-components/context-menu/item-sets/root-project-item-set.ts
@@ -2,10 +2,10 @@
//
// SPDX-License-Identifier: AGPL-3.0
-import { ContextMenuItemGroup } from "../../components/context-menu/context-menu";
-import { ContextMenuItemSet } from "./context-menu-item-set";
-import actions from "../../store/project/project-action";
-import { IconTypes } from "../../components/icon/icon";
+import { ContextMenuItemGroup } from "../../../components/context-menu/context-menu";
+import { ContextMenuItemSet } from "../context-menu-item-set";
+import actions from "../../../store/project/project-action";
+import { IconTypes } from "../../../components/icon/icon";
export const rootProjectItemSet: ContextMenuItemSet = {
getItems: () => items,
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list