Skip to content
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

Request users to view task history comments #3954

Merged
merged 2 commits into from
Dec 15, 2020

Conversation

d-rita
Copy link
Contributor

@d-rita d-rita commented Dec 4, 2020

What does this PR do?
Resolves #3507

Steps taken:

  • Create a custom hook for conditional render of request to read comments if the task was previously invalidated and has comments to guide the mapper.

Screenshot:
Screenshot 2020-12-13 at 15 54 50

@d-rita d-rita changed the title Request users to view task history comments: Request users to view task history comments Dec 4, 2020
@d-rita d-rita force-pushed the feature/user-should-read-task-history-comments branch from 88f259a to 0869db6 Compare December 4, 2020 16:37
Copy link
Contributor

@willemarcel willemarcel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @d-rita!
We need some adjustments:

  1. Only show the message if:
  • The task has been invalidated previously (check the history for a STATE_CHANGE to INVALIDATED
  • There is at least one comment on the history (the history includes both comments and state changes)
  1. Let's try to use a tooltip instead of a banner? When I click on the history tab, it's flicking to the top. I think a tooltip will call more attention from the user too.

- add info svg icon
- add banner request to view task history comments
- conditional render of banner if task was invalidated and has comments
@d-rita d-rita force-pushed the feature/user-should-read-task-history-comments branch from 86e997f to 3e9b02e Compare December 13, 2020 15:00
@willemarcel willemarcel merged commit 47ac386 into develop Dec 15, 2020
@willemarcel willemarcel deleted the feature/user-should-read-task-history-comments branch December 15, 2020 10:53
@willemarcel willemarcel added this to the 4.2.3 milestone Dec 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add message asking user to read comments
2 participants