put id before process like completed tab and add title text to explain what is happening

This commit is contained in:
burnettk 2022-11-25 01:04:30 -05:00
parent ecee3c4548
commit 382f575dab
3 changed files with 27 additions and 21 deletions

View File

@ -46,18 +46,20 @@ export default function MyOpenProcesses() {
<tr key={rowToUse.id}> <tr key={rowToUse.id}>
<td> <td>
<Link <Link
data-qa="process-model-show-link" data-qa="process-instance-show-link"
to={`/admin/process-models/${modifiedProcessModelIdentifier}`} to={`/admin/process-models/${modifiedProcessModelIdentifier}/process-instances/${rowToUse.process_instance_id}`}
title={`View process instance ${rowToUse.process_instance_id}`}
> >
{rowToUse.process_model_display_name} {rowToUse.process_instance_id}
</Link> </Link>
</td> </td>
<td> <td>
<Link <Link
data-qa="process-instance-show-link" data-qa="process-model-show-link"
to={`/admin/process-models/${modifiedProcessModelIdentifier}/process-instances/${rowToUse.process_instance_id}`} to={`/admin/process-models/${modifiedProcessModelIdentifier}`}
title={rowToUse.process_model_identifier}
> >
{rowToUse.process_instance_id} {rowToUse.process_model_display_name}
</Link> </Link>
</td> </td>
<td <td
@ -93,8 +95,8 @@ export default function MyOpenProcesses() {
<Table striped bordered> <Table striped bordered>
<thead> <thead>
<tr> <tr>
<th>Process</th>
<th>Id</th> <th>Id</th>
<th>Process</th>
<th>Task</th> <th>Task</th>
<th>Waiting For</th> <th>Waiting For</th>
<th>Date Started</th> <th>Date Started</th>

View File

@ -45,18 +45,20 @@ export default function TasksWaitingForMe() {
<tr key={rowToUse.id}> <tr key={rowToUse.id}>
<td> <td>
<Link <Link
data-qa="process-model-show-link" data-qa="process-instance-show-link"
to={`/admin/process-models/${modifiedProcessModelIdentifier}`} to={`/admin/process-models/${modifiedProcessModelIdentifier}/process-instances/${rowToUse.process_instance_id}`}
title={`View process instance ${rowToUse.process_instance_id}`}
> >
{rowToUse.process_model_display_name} {rowToUse.process_instance_id}
</Link> </Link>
</td> </td>
<td> <td>
<Link <Link
data-qa="process-instance-show-link" data-qa="process-model-show-link"
to={`/admin/process-models/${modifiedProcessModelIdentifier}/process-instances/${rowToUse.process_instance_id}`} to={`/admin/process-models/${modifiedProcessModelIdentifier}`}
title={rowToUse.process_model_identifier}
> >
{rowToUse.process_instance_id} {rowToUse.process_model_display_name}
</Link> </Link>
</td> </td>
<td <td
@ -93,8 +95,8 @@ export default function TasksWaitingForMe() {
<Table striped bordered> <Table striped bordered>
<thead> <thead>
<tr> <tr>
<th>Process</th>
<th>Id</th> <th>Id</th>
<th>Process</th>
<th>Task</th> <th>Task</th>
<th>Started By</th> <th>Started By</th>
<th>Waiting For</th> <th>Waiting For</th>

View File

@ -46,18 +46,20 @@ export default function TasksWaitingForMyGroups() {
<tr key={rowToUse.id}> <tr key={rowToUse.id}>
<td> <td>
<Link <Link
data-qa="process-model-show-link" data-qa="process-instance-show-link"
to={`/admin/process-models/${modifiedProcessModelIdentifier}`} to={`/admin/process-models/${modifiedProcessModelIdentifier}/process-instances/${rowToUse.process_instance_id}`}
title={`View process instance ${rowToUse.process_instance_id}`}
> >
{rowToUse.process_model_display_name} {rowToUse.process_instance_id}
</Link> </Link>
</td> </td>
<td> <td>
<Link <Link
data-qa="process-instance-show-link" data-qa="process-model-show-link"
to={`/admin/process-models/${modifiedProcessModelIdentifier}/process-instances/${rowToUse.process_instance_id}`} to={`/admin/process-models/${modifiedProcessModelIdentifier}`}
title={rowToUse.process_model_identifier}
> >
{rowToUse.process_instance_id} {rowToUse.process_model_display_name}
</Link> </Link>
</td> </td>
<td <td
@ -94,8 +96,8 @@ export default function TasksWaitingForMyGroups() {
<Table striped bordered> <Table striped bordered>
<thead> <thead>
<tr> <tr>
<th>Process</th>
<th>Id</th> <th>Id</th>
<th>Process</th>
<th>Task</th> <th>Task</th>
<th>Started By</th> <th>Started By</th>
<th>Waiting For</th> <th>Waiting For</th>