allow instructions to collapse in view completed form and make items in text fields a little more readable w/ burnettk (#506)
Co-authored-by: jasquat <jasquat@users.noreply.github.com>
This commit is contained in:
parent
ff9d34fe83
commit
439c8abbe2
|
@ -179,7 +179,7 @@ export default function TaskListTable({
|
|||
</div>
|
||||
</div>
|
||||
<hr />
|
||||
<InstructionsForEndUser task={formSubmissionTask} />
|
||||
<InstructionsForEndUser task={formSubmissionTask} allowCollapse />
|
||||
<CustomForm
|
||||
id={formSubmissionTask.guid}
|
||||
formData={formSubmissionTask.data}
|
||||
|
@ -325,7 +325,7 @@ export default function TaskListTable({
|
|||
variant="primary"
|
||||
onClick={() => getFormSubmissionDataForTask(processInstanceTask)}
|
||||
>
|
||||
View form
|
||||
View task
|
||||
</Button>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -840,3 +840,12 @@ div.cds--tag svg {
|
|||
div.onboarding {
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
.cds--text-input:disabled,
|
||||
.cds--text-area:disabled,
|
||||
.cds--date-picker__input:disabled,
|
||||
.cds--select-input:disabled,
|
||||
.cds--select-input:hover:disabled {
|
||||
--cds-text-disabled: rgba(22, 22, 22, .5);
|
||||
background-color: #ffffff
|
||||
}
|
||||
|
|
|
@ -1475,7 +1475,7 @@ export default function ProcessInstanceShow({ variant }: OwnProps) {
|
|||
<Tab disabled={!canViewLogs}>Milestones</Tab>
|
||||
<Tab disabled={!canViewLogs}>Events</Tab>
|
||||
<Tab disabled={!canViewMsgs}>Messages</Tab>
|
||||
<Tab>My Forms</Tab>
|
||||
<Tab>My completed tasks</Tab>
|
||||
</TabList>
|
||||
<TabPanels>
|
||||
<TabPanel>
|
||||
|
@ -1511,14 +1511,13 @@ export default function ProcessInstanceShow({ variant }: OwnProps) {
|
|||
<TaskListTable
|
||||
apiPath={`/tasks/completed-by-me/${processInstance.id}`}
|
||||
paginationClassName="with-large-bottom-margin"
|
||||
textToShowIfEmpty="There are no tasks you can complete for this process instance."
|
||||
textToShowIfEmpty="There are no tasks you completed for this process instance."
|
||||
shouldPaginateTable={false}
|
||||
showProcessModelIdentifier={false}
|
||||
showProcessId={false}
|
||||
showStartedBy={false}
|
||||
showTableDescriptionAsTooltip
|
||||
showDateStarted={false}
|
||||
hideIfNoTasks
|
||||
showWaitingOn={false}
|
||||
canCompleteAllTasks={false}
|
||||
showViewFormDataButton
|
||||
|
|
Loading…
Reference in New Issue