From 3f34667dc7e6a040193007f5c14e61e26633f593 Mon Sep 17 00:00:00 2001 From: Alex Collins Date: Mon, 29 Jul 2019 16:14:36 -0700 Subject: [PATCH] Word-wraps app info in the table and list views. Closes #2004 (#2026) --- .../applications-list/applications-table.tsx | 19 ++++++++----------- .../applications-list/applications-tiles.scss | 6 ++++++ .../applications-list/applications-tiles.tsx | 10 +++++----- 3 files changed, 19 insertions(+), 16 deletions(-) create mode 100644 ui/src/app/applications/components/applications-list/applications-tiles.scss diff --git a/ui/src/app/applications/components/applications-list/applications-table.tsx b/ui/src/app/applications/components/applications-list/applications-table.tsx index a883c771f2..4ef62b5c2f 100644 --- a/ui/src/app/applications/components/applications-list/applications-table.tsx +++ b/ui/src/app/applications/components/applications-list/applications-table.tsx @@ -17,7 +17,7 @@ export const ApplicationsTable = (props: {
-
PROJECT/NAME
+
PROJECT/NAME
SOURCE
TARGET REVISION
DESTINATION
@@ -30,25 +30,22 @@ export const ApplicationsTable = (props: { applications-list__entry--health-${app.status.health.status}` }>
ctx.navigation.goto(`/applications/${app.metadata.name}`, {}, { event: e })}> -
+
{app.spec.project}/{app.metadata.name}
-
+
{app.spec.source.repoURL}/{app.spec.source.path}
{app.spec.source.targetRevision || 'HEAD'}
-
+
{app.spec.destination.server}/{app.spec.destination.namespace}
-
-
- {app.status.health.status} -
-
- {app.status.sync.status} -
+
+ {app.status.health.status} +   + {app.status.sync.status} (