mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-01-13 19:15:31 +00:00
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>
|
||||||
</div>
|
</div>
|
||||||
<hr />
|
<hr />
|
||||||
<InstructionsForEndUser task={formSubmissionTask} />
|
<InstructionsForEndUser task={formSubmissionTask} allowCollapse />
|
||||||
<CustomForm
|
<CustomForm
|
||||||
id={formSubmissionTask.guid}
|
id={formSubmissionTask.guid}
|
||||||
formData={formSubmissionTask.data}
|
formData={formSubmissionTask.data}
|
||||||
@ -325,7 +325,7 @@ export default function TaskListTable({
|
|||||||
variant="primary"
|
variant="primary"
|
||||||
onClick={() => getFormSubmissionDataForTask(processInstanceTask)}
|
onClick={() => getFormSubmissionDataForTask(processInstanceTask)}
|
||||||
>
|
>
|
||||||
View form
|
View task
|
||||||
</Button>
|
</Button>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -840,3 +840,12 @@ div.cds--tag svg {
|
|||||||
div.onboarding {
|
div.onboarding {
|
||||||
margin-bottom: 2rem;
|
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}>Milestones</Tab>
|
||||||
<Tab disabled={!canViewLogs}>Events</Tab>
|
<Tab disabled={!canViewLogs}>Events</Tab>
|
||||||
<Tab disabled={!canViewMsgs}>Messages</Tab>
|
<Tab disabled={!canViewMsgs}>Messages</Tab>
|
||||||
<Tab>My Forms</Tab>
|
<Tab>My completed tasks</Tab>
|
||||||
</TabList>
|
</TabList>
|
||||||
<TabPanels>
|
<TabPanels>
|
||||||
<TabPanel>
|
<TabPanel>
|
||||||
@ -1511,14 +1511,13 @@ export default function ProcessInstanceShow({ variant }: OwnProps) {
|
|||||||
<TaskListTable
|
<TaskListTable
|
||||||
apiPath={`/tasks/completed-by-me/${processInstance.id}`}
|
apiPath={`/tasks/completed-by-me/${processInstance.id}`}
|
||||||
paginationClassName="with-large-bottom-margin"
|
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}
|
shouldPaginateTable={false}
|
||||||
showProcessModelIdentifier={false}
|
showProcessModelIdentifier={false}
|
||||||
showProcessId={false}
|
showProcessId={false}
|
||||||
showStartedBy={false}
|
showStartedBy={false}
|
||||||
showTableDescriptionAsTooltip
|
showTableDescriptionAsTooltip
|
||||||
showDateStarted={false}
|
showDateStarted={false}
|
||||||
hideIfNoTasks
|
|
||||||
showWaitingOn={false}
|
showWaitingOn={false}
|
||||||
canCompleteAllTasks={false}
|
canCompleteAllTasks={false}
|
||||||
showViewFormDataButton
|
showViewFormDataButton
|
||||||
|
Loading…
x
Reference in New Issue
Block a user