[ARVADOS-WORKBENCH2] updated: 1.1.4-329-g8dda39e
Git user
git at public.curoverse.com
Thu Jul 19 05:33:55 EDT 2018
Summary of changes:
.../list-item-text-icon.tsx} | 8 ++++----
src/components/side-panel/side-panel.tsx | 4 ++--
src/views-components/project-tree/project-tree.tsx | 4 ++--
3 files changed, 8 insertions(+), 8 deletions(-)
rename src/components/{single-list-item/single-list-item.tsx => list-item-text-icon/list-item-text-icon.tsx} (87%)
via 8dda39e1ac1e43d08881b8ac19db92c18d1cb4fe (commit)
from 1a1007b664c6158c905a2fbfa998e7a5737ab7e1 (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 8dda39e1ac1e43d08881b8ac19db92c18d1cb4fe
Author: Janicki Artur <artur.janicki at contractors.roche.com>
Date: Thu Jul 19 11:33:48 2018 +0200
rename component for list-item-text-icon
Feature #13797
Arvados-DCO-1.1-Signed-off-by: Janicki Artur <artur.janicki at contractors.roche.com>
diff --git a/src/components/single-list-item/single-list-item.tsx b/src/components/list-item-text-icon/list-item-text-icon.tsx
similarity index 87%
rename from src/components/single-list-item/single-list-item.tsx
rename to src/components/list-item-text-icon/list-item-text-icon.tsx
index 17bf8b5..f140d86 100644
--- a/src/components/single-list-item/single-list-item.tsx
+++ b/src/components/list-item-text-icon/list-item-text-icon.tsx
@@ -9,16 +9,16 @@ import { ListItemIcon, ListItemText, Typography } from '@material-ui/core';
import { IconType } from '../icon/icon';
import * as classnames from "classnames";
-export interface SingleListItemDataProps {
+export interface ListItemTextIconDataProps {
icon: IconType;
name: string;
isActive?: boolean;
hasMargin?: boolean;
}
-type SingleListItemProps = SingleListItemDataProps & WithStyles<CssRules>;
+type ListItemTextIconProps = ListItemTextIconDataProps & WithStyles<CssRules>;
-class SingleListItem extends React.Component<SingleListItemProps, {}> {
+class ListItemTextIcon extends React.Component<ListItemTextIconProps, {}> {
render() {
const { classes, isActive, hasMargin, name, icon: Icon } = this.props;
return (
@@ -59,4 +59,4 @@ const styles: StyleRulesCallback<CssRules> = (theme: ArvadosTheme) => ({
},
});
-export default withStyles(styles)(SingleListItem);
\ No newline at end of file
+export default withStyles(styles)(ListItemTextIcon);
\ No newline at end of file
diff --git a/src/components/side-panel/side-panel.tsx b/src/components/side-panel/side-panel.tsx
index 8105ba7..165bd56 100644
--- a/src/components/side-panel/side-panel.tsx
+++ b/src/components/side-panel/side-panel.tsx
@@ -9,7 +9,7 @@ import { ArvadosTheme } from '../../common/custom-theme';
import { List, ListItem, ListItemText, ListItemIcon, Collapse, Typography } from "@material-ui/core";
import { SidePanelRightArrowIcon, IconType } from '../icon/icon';
import * as classnames from "classnames";
-import SingleListItem from '../single-list-item/single-list-item';
+import ListItemTextIcon from '../list-item-text-icon/list-item-text-icon';
export interface SidePanelItem {
id: string;
@@ -46,7 +46,7 @@ class SidePanel extends React.Component<SidePanelProps & WithStyles<CssRules>> {
</ListItemIcon>
</i>
) : null}
- <SingleListItem icon={it.icon} name={it.name} isActive={it.active} hasMargin={it.margin} />
+ <ListItemTextIcon icon={it.icon} name={it.name} isActive={it.active} hasMargin={it.margin} />
</span>
</ListItem>
{it.openAble ? (
diff --git a/src/views-components/project-tree/project-tree.tsx b/src/views-components/project-tree/project-tree.tsx
index 411e6dd..3a84471 100644
--- a/src/views-components/project-tree/project-tree.tsx
+++ b/src/views-components/project-tree/project-tree.tsx
@@ -9,7 +9,7 @@ import Tree, { TreeItem, TreeItemStatus } from '../../components/tree/tree';
import { ProjectResource } from '../../models/project';
import { ProjectIcon } from '../../components/icon/icon';
import { ArvadosTheme } from '../../common/custom-theme';
-import SingleListItem from '../../components/single-list-item/single-list-item';
+import ListItemTextIcon from '../../components/list-item-text-icon/list-item-text-icon';
export interface ProjectTreeProps {
projects: Array<TreeItem<ProjectResource>>;
@@ -29,7 +29,7 @@ class ProjectTree<T> extends React.Component<ProjectTreeProps & WithStyles<CssRu
toggleItemActive={toggleActive}
render={
(project: TreeItem<ProjectResource>) =>
- <SingleListItem icon={ProjectIcon} name={project.data.name} isActive={project.active} hasMargin={true} />
+ <ListItemTextIcon icon={ProjectIcon} name={project.data.name} isActive={project.active} hasMargin={true} />
}/>
</div>
);
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list