From 48f851e3ff36fc79744f8c024ba2b7d22a8dc333 Mon Sep 17 00:00:00 2001 From: jasquat <2487833+jasquat@users.noreply.github.com> Date: Mon, 21 Aug 2023 12:29:42 -0400 Subject: [PATCH] updated the column names for the tables on the process instance show page (#436) Co-authored-by: jasquat --- .../src/components/MessageInstanceList.tsx | 4 ++-- .../src/components/ProcessInstanceLogList.tsx | 18 +++++++++--------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/spiffworkflow-frontend/src/components/MessageInstanceList.tsx b/spiffworkflow-frontend/src/components/MessageInstanceList.tsx index b2883c248..a8a46e4e5 100644 --- a/spiffworkflow-frontend/src/components/MessageInstanceList.tsx +++ b/spiffworkflow-frontend/src/components/MessageInstanceList.tsx @@ -139,12 +139,12 @@ export default function MessageInstanceList({ processInstanceId }: OwnProps) { Id Process - Process Instance + Process instance Name Type Details Status - Created At + Created at {rows} diff --git a/spiffworkflow-frontend/src/components/ProcessInstanceLogList.tsx b/spiffworkflow-frontend/src/components/ProcessInstanceLogList.tsx index 39098cf0d..85f7e5d09 100644 --- a/spiffworkflow-frontend/src/components/ProcessInstanceLogList.tsx +++ b/spiffworkflow-frontend/src/components/ProcessInstanceLogList.tsx @@ -81,7 +81,7 @@ export default function ProcessInstanceLogList({ if (variant === 'all') { processInstanceShowPageBaseUrl = `/admin/process-instances/${processModelId}`; } - const taskNameHeader = isEventsView ? 'Task Name' : 'Milestone'; + const taskNameHeader = isEventsView ? 'Task name' : 'Milestone'; const tableType = isEventsView ? 'events' : 'milestones'; const paginationQueryParamPrefix = `log-list-${tableType}`; @@ -320,7 +320,7 @@ export default function ProcessInstanceLogList({ tableHeaders.push( <> Id - Bpmn Process + Bpmn process {taskNameHeader} ); @@ -328,16 +328,16 @@ export default function ProcessInstanceLogList({ tableHeaders.push( <> {taskNameHeader} - Bpmn Process + Bpmn process ); } if (isEventsView) { tableHeaders.push( <> - Task Identifier - Task Type - Event Type + Task identifier + Task type + Event type User ); @@ -423,7 +423,7 @@ export default function ProcessInstanceLogList({ }} shouldFilterItem={shouldFilterStringItem} placeholder="Choose a task bpmn identifier" - titleText="Task Identifier" + titleText="Task identifier" selectedItem={searchParams.get('bpmn_identifier')} /> @@ -440,7 +440,7 @@ export default function ProcessInstanceLogList({ }} shouldFilterItem={shouldFilterStringItem} placeholder="Choose a task type" - titleText="Task Type" + titleText="Task type" selectedItem={searchParams.get('task_type')} /> @@ -457,7 +457,7 @@ export default function ProcessInstanceLogList({ }} shouldFilterItem={shouldFilterStringItem} placeholder="Choose an event type" - titleText="Event Type" + titleText="Event type" selectedItem={searchParams.get('event_type')} />