kblincoe / QualOpt_SE701

2 stars 15 forks source link

UI bug: Study is 'active' if confirmation is cancelled & 'inactive' if view all studies button is used. #102

Open will-molloy opened 6 years ago

will-molloy commented 6 years ago

Currently, if you click send invitation when viewing a single study the study status is set to 'active' immediately when it should wait for the user to click send invitation again on the confirmation pop-up.

screenshot from 2018-03-18 19-23-20

Reproduce:

Fix: A simple fix is moving the code in the 'beginStudy()' function instudy-detail.component.ts into the 'confirmSend()' function in study-confirm-invitation.component.ts and deleting the call to 'beginStudy()' in study-detail.component.html.

Update: Related bug on view all study page, see below.

Acceptance:

@softeng-701 This requires moving existing code so a very-small issue.

will-molloy commented 6 years ago

@softeng-701 bump. Added screen shot and reproduce detail.

softeng-701 commented 6 years ago

@wilmol APPROVED!

will-molloy commented 6 years ago

After the recent merges another bug has come up. The 'Send Invitation on the view all studies page doesn't update the status:

Screenshots of bug:

View all studies page: screenshot from 2018-03-22 13-46-38

After clicking 'Send Invitation': screenshot from 2018-03-22 13-46-44

After confirming: screenshot from 2018-03-22 13-46-50

Reproduce:

Fix: This 'Send Invitation' button is calling confirmSend() so the fix above should fix this at the same time (keep as very-small). Have updated acceptance criteria however.