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

Allow users to filter task history comments and state changes #3999

Merged
merged 2 commits into from
Dec 22, 2020

Conversation

d-rita
Copy link
Contributor

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

What does this PR do?
Resolves #3977

Screenshots:

  • Comments only

Screenshot 2020-12-22 at 03 11 57

  • State Changes only

Screenshot 2020-12-22 at 03 11 48

@d-rita d-rita added status: in progress type: enhancement Improving an existing functionality labels Dec 17, 2020
- Add checkboxes for comments and state changes
- Adjust styling for action tabs
- Automatic render of comments for beginner mappers
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.

@d-rita it's working pretty well, some suggestions on style:

On the task history modal, we need to align it better:
image

Probably setting it with the same alignment as the history items would be good
image

Another suggestion is to replace "Task changes" by "Actions" or "Activities".

const token = useSelector((state) => state.auth.get('token'));
const [history, setHistory] = useState([]);
const [showTaskComments, setShowTaskComments] = useState(false);
Copy link
Contributor

Choose a reason for hiding this comment

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

It would be better to start both showTaskComments and showTaskChanges as true and make showTaskChanges as false if the user is begginer, so the user understands what is activated.

@willemarcel willemarcel merged commit c324be7 into develop Dec 22, 2020
@willemarcel willemarcel deleted the feature/filter-task-history branch December 22, 2020 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: frontend status: done type: enhancement Improving an existing functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow users to filter comments and state changes on History tab
2 participants