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

PN-351: Add comments field so clinicians/group managers can make a note as why the specific match was rejected or saved #211

Merged
merged 3 commits into from
Nov 21, 2018

Conversation

veronikaslc
Copy link
Contributor

Done.

* @param matchesIds list of ids of matches to mark as notified.
* @return true if successful
*/
boolean markNotified(Set<Long> matchesIds);
Copy link
Member

Choose a reason for hiding this comment

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

Wasn't this method actually needed for the other pull request (#210), which has been merged already?

Copy link
Contributor Author

@veronikaslc veronikaslc Nov 9, 2018

Choose a reason for hiding this comment

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

just a tiny refactor of the implementation of previous method. Here I moved markNotified and made saveComment REST calls to both go through MatchingNotificationManager. Before I directly called MatchStorageManager for markNotified.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll extract this refactor into separate commit.

Copy link
Contributor Author

@veronikaslc veronikaslc Nov 14, 2018

Choose a reason for hiding this comment

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

removed separated commit, changes are moved to PN-349 PR

@sashaandjic
Copy link

sashaandjic commented Nov 13, 2018

The status and comment icon need better alignment.

Ideally we should have an indicator if there is a comment for each match. Can we show a different icon if there is a comment?

Also, both the comment icon and the CONTACT and MARK CONTACTED buttons appear too big and very dominating on the screen. Can we go down with the size to improve the user experience?

screen shot 2018-11-13 at 11 49 58 am

@veronikaslc
Copy link
Contributor Author

Added an indicator if there is a comment entered in last commit.

Copy link

@sashaandjic sashaandjic left a comment

Choose a reason for hiding this comment

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

tested

@allasm
Copy link
Member

allasm commented Nov 20, 2018

Code reviewed/confirmed. As discussed, some CSS changes can be implemented to make it look better on smaller monitors

veronikaslc and others added 3 commits November 21, 2018 01:50
…te as why the specific match was rejected or saved

- Added ability to add comment per match via matches table.
…te as why the specific match was rejected or saved

Added an indicator if there is a comment entered.
…te as why the specific match was rejected or saved

- Grayed out comment buttons.
- Update matches and cashed matches on successful comment save.
@veronikaslc
Copy link
Contributor Author

addressed meeting's codereview comments and rebased on latest master

Copy link

@sashaandjic sashaandjic left a comment

Choose a reason for hiding this comment

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

tested. new icons are looking awesome!

@veronikaslc veronikaslc merged commit c053193 into master Nov 21, 2018
@veronikaslc veronikaslc deleted the PN-351 branch November 21, 2018 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants