From 24f817cdc1a3a8049589b33e0d579eea5c9cf14e Mon Sep 17 00:00:00 2001 From: burnettk Date: Thu, 2 Mar 2023 08:34:15 -0500 Subject: [PATCH] per feedback in demo --- spiffworkflow-frontend/src/index.css | 6 ++++++ .../src/routes/ProcessInstanceLogList.tsx | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/spiffworkflow-frontend/src/index.css b/spiffworkflow-frontend/src/index.css index 411766b3..6ab93f6c 100644 --- a/spiffworkflow-frontend/src/index.css +++ b/spiffworkflow-frontend/src/index.css @@ -29,6 +29,12 @@ border-color: none; } +/* make this a little less prominent so the actual human beings completing tasks stand out */ +.system-user-log-entry { + color: #B0B0B0; + font-style: italic; +} + h1 { font-weight: 400; font-size: 28px; diff --git a/spiffworkflow-frontend/src/routes/ProcessInstanceLogList.tsx b/spiffworkflow-frontend/src/routes/ProcessInstanceLogList.tsx index 00b4255d..413a7d35 100644 --- a/spiffworkflow-frontend/src/routes/ProcessInstanceLogList.tsx +++ b/spiffworkflow-frontend/src/routes/ProcessInstanceLogList.tsx @@ -80,7 +80,11 @@ export default function ProcessInstanceLogList({ variant }: OwnProps) { <> {row.bpmn_task_type} {row.message} - {row.username} + + {row.username || ( + system + )} + ); }