-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add to workflow UX improvements #1978
Add to workflow UX improvements #1978
Conversation
@@ -120,8 +123,13 @@ export class CoverageItemComponent extends React.Component<IProps, IState> { | |||
userAssigned: null, | |||
displayContentType: '', | |||
coverageDateText: '', | |||
addedToWorkflow: false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what about using addedToWorkflow: coverage.workflow_status === COVERAGES.WORKFLOW_STATE.ACTIVE
so you don't need a block below?
@@ -1224,7 +1224,9 @@ function getCoverageIcon( | |||
} | |||
|
|||
function getCoverageIconColor(coverage: IPlanningCoverageItem): string { | |||
if (get(coverage, 'assigned_to.state') === ASSIGNMENTS.WORKFLOW_STATE.COMPLETED) { | |||
if (coverage.workflow_status === COVERAGES.WORKFLOW_STATE.ACTIVE) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't you have a different color here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, fritz wants to have this one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, fritz wants this one
SDBELGA-799
SDESK-7252