[arvados-workbench2] updated: 2.4.0-369-gb8a41cfd
git repository hosting
git at public.arvados.org
Wed Dec 7 21:35:39 UTC 2022
Summary of changes:
src/components/column-selector/column-selector.tsx | 2 ++
src/views-components/data-explorer/renderers.tsx | 11 -----------
src/views/project-panel/project-panel.tsx | 9 ---------
3 files changed, 2 insertions(+), 20 deletions(-)
via b8a41cfd2d037a8d6b881ab71647c535a323f302 (commit)
from 850ea77da5cce0b5c5a9308e3253a7118839863f (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 b8a41cfd2d037a8d6b881ab71647c535a323f302
Author: Lisa Knox <lisaknox83 at gmail.com>
Date: Wed Dec 7 16:35:33 2022 -0500
removed description column Arvados-DCO-1.1-Signed-off-by: Lisa Knox <lisa.knox at curii.com>
diff --git a/src/components/column-selector/column-selector.tsx b/src/components/column-selector/column-selector.tsx
index f9331e06..2323987b 100644
--- a/src/components/column-selector/column-selector.tsx
+++ b/src/components/column-selector/column-selector.tsx
@@ -69,3 +69,5 @@ export const ColumnSelectorTrigger = (props: IconButtonProps) =>
<MenuIcon aria-label="Select columns" />
</IconButton>
</Tooltip>;
+
+
diff --git a/src/views-components/data-explorer/renderers.tsx b/src/views-components/data-explorer/renderers.tsx
index 7bfdf2ec..7390a6e2 100644
--- a/src/views-components/data-explorer/renderers.tsx
+++ b/src/views-components/data-explorer/renderers.tsx
@@ -811,11 +811,6 @@ export const ResourceVersion = connect(
return { version: resource ? resource.version: '' };
})((props: { version: number }) => renderVersion(props.version));
-const renderDescription = (description: string)=>{
- const truncatedDescription = description ? description.slice(0, 18) + '...' : '-'
- return <Typography title={description}>{truncatedDescription}</Typography>;
-}
-
const renderFileCount = (fileCount: number) =>{
return <Typography>{fileCount ?? '-'}</Typography>
}
@@ -826,12 +821,6 @@ export const ResourceFileCount = connect(
return { fileCount: resource ? resource.fileCount: '' };
})((props: { fileCount: number }) => renderFileCount(props.fileCount));
-export const ResourceDescription = connect(
- (state: RootState, props: { uuid: string }) => {
- const resource = getResource<GroupContentsResource>(props.uuid)(state.resources);
- return { description: resource ? resource.description : '' };
- })((props: { description: string }) => renderDescription(props.description));
-
const userFromID =
connect(
(state: RootState, props: { uuid: string }) => {
diff --git a/src/views/project-panel/project-panel.tsx b/src/views/project-panel/project-panel.tsx
index 2b32eaa9..dcf6c40c 100644
--- a/src/views/project-panel/project-panel.tsx
+++ b/src/views/project-panel/project-panel.tsx
@@ -21,7 +21,6 @@ import {
ResourceType,
ResourceOwnerWithName,
ResourceVersion,
- ResourceDescription,
ResourceFileSize,
ResourceFileCount,
ResourceUUID,
@@ -77,7 +76,6 @@ export enum ProjectPanelColumnNames {
TYPE = "Type",
OWNER = "Owner",
VERSION = "Version",
- DESCRIPTION = "Description",
FILE_SIZE = "File size",
FILE_COUNT = "File count",
UUID = "UUID",
@@ -135,13 +133,6 @@ export const projectPanelColumns: DataColumns<string> = [
filters: createTree(),
render: uuid =><ResourceVersion uuid={uuid}/>
},
- {
- name: ProjectPanelColumnNames.DESCRIPTION,
- selected: false,
- configurable: true,
- filters: createTree(),
- render: uuid =><ResourceDescription uuid={uuid}/>
- },
{
name: ProjectPanelColumnNames.FILE_SIZE,
selected: true,
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list