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

#945 Improve analysis of qualifying test questions #1317

Merged
merged 6 commits into from
Aug 10, 2021

Conversation

lloback
Copy link
Contributor

@lloback lloback commented May 6, 2021

What's included?

  • Changed the TAB title from "Logs" to "Connection Logs"
  • Created the "HISTORY" tab
  • Added Analytics information and the amount of time user spent on the question

Who should test?

✅ Product owner
✅ Developers
✅ UTG

How to test?

You need to start or edit a test on the apply

  • Situational Judgement
  • Critical Analysis
  • Scenario

On each of the tests you will be able to see a new TAB called HISTORY
image
This tan will contain analytics information about the test

Risk - how likely is this to impact other areas?

🟠 Medium risk - this does change code that is shared with other areas

Additional context

This task should be performed in conjunction with the apply#517


PREVIEW:DEVELOP
can be OFF, DEVELOP or STAGING

@lloback lloback requested review from a team as code owners May 6, 2021 09:31
@github-actions
Copy link

github-actions bot commented May 6, 2021

Visit the preview URL for this PR (updated for commit f13d41e):

https://jac-admin-develop--pr1317-feature-945-qt-analy-uu99mxb6.web.app

(expires Fri, 03 Sep 2021 15:21:21 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Copy link
Contributor

@mbrookeswebdev mbrookeswebdev left a comment

Choose a reason for hiding this comment

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

Perhaps numbers of questions in History tab should start from 1, rather than 0.

And 23:59:40 start line in this case is a little confusing. Maybe it's worth to remove it or set to 00:00:00 if the intention is to show how long it took the candidate to look at the question.

QThistory

@lloback lloback requested a review from mbrookeswebdev May 10, 2021 10:15
@lloback
Copy link
Contributor Author

lloback commented May 10, 2021

@mbrookeswebdev I've did the changes that you asked on the PR:

  1. Changed the indexed question number, to be "Question 1" instead of "Question 0"
  2. Removed the "23:59:40" meaning that the first item is always "00:00:00"

Copy link
Member

@warrensearle warrensearle left a comment

Choose a reason for hiding this comment

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

Looks good to me 👍

Copy link
Contributor

@HalcyonJAC HalcyonJAC left a comment

Choose a reason for hiding this comment

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

This looks fine, but I would make it more legible by making the Question marker bold or something - as its a lot of text in the same style which can make it difficult as so:

image

@lloback
Copy link
Contributor Author

lloback commented May 10, 2021

@HalcyonJAC this is done. Thank you for your feedback.

Copy link
Contributor

@HalcyonJAC HalcyonJAC left a comment

Choose a reason for hiding this comment

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

👍

Copy link

@KateMJAC KateMJAC left a comment

Choose a reason for hiding this comment

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

This has been sent to UTG. An update will follow.

It looks really exciting!!!!

Copy link

@KateMJAC KateMJAC left a comment

Choose a reason for hiding this comment

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

Hello @lloback, I just tested this and the history logs didn't populate. I checked during the QT before I submitted the application and after I submitted and the QT was closed and scored, but I was unable to see any logged behaviour in the history tab.

@lloback
Copy link
Contributor Author

lloback commented May 18, 2021

Hello @lloback, I just tested this and the history logs didn't populate. I checked during the QT before I submitted the application and after I submitted and the QT was closed and scored, but I was unable to see any logged behaviour in the history tab.

Did you use the link? https://jac-admin-develop--pr1317-feature-945-qt-analy-0sef2z9x.web.app/

@lloback
Copy link
Contributor Author

lloback commented May 18, 2021

TO test this you need to use the link from the other PR on apply: https://jac-apply-develop--pr774-feature-517-qt-analy-9pq48dii.web.app/
because this code is not on the normal apply yet @KateMJAC

@KateMJAC
Copy link

Hello @lloback yes, i'm sure I used the link on #774 PR. I can try it again, as it's possible I mixed the two up.

This is out with the UTG so we'll see how they go. They have been provided the two different URLs.

@KateMJAC
Copy link

@lloback I just went back to test it and it worked as it should. So I must have used the wrong link or something. So ignore me.

Still waiting on UTG feedback though.

@warrensearle warrensearle temporarily deployed to develop May 19, 2021 15:22 Inactive
Copy link

@KateMJAC KateMJAC left a comment

Choose a reason for hiding this comment

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

We are still getting a mixed back on testing via the UTG on this, comments below:

  1. I have just tested this and it appears that the connection log is working fine, but the history log is not recording accurately, as we skipped questions and returned to questions but it is showing as 0.

2)Ticket 1317 - connection log worked fine and history log showed stats for all areas including times visited, saved, skipped and changed, although I don't think accurate as I didn't skip any questions and shows 1 skipped.

@joy-ade
Copy link

joy-ade commented May 24, 2021

@lloback
This is a comment from Kate can you look into this pls.
We are still getting a mixed back on testing via the UTG on this, comments below:

I have just tested this and it appears that the connection log is working fine, but the history log is not recording accurately, as we skipped questions and returned to questions but it is showing as 0.
2)Ticket 1317 - connection log worked fine and history log showed stats for all areas including times visited, saved, skipped and changed, although I don't think accurate as I didn't skip any questions and shows 1 skipped.

- Created the "HISTORY" tab
- Added Analytics information and the amount of time user spent on the question
@lloback lloback temporarily deployed to develop May 25, 2021 22:00 Inactive
@lloback lloback force-pushed the feature/945-qt-analysis branch from e98da40 to 45103c8 Compare May 25, 2021 22:01
@lloback lloback temporarily deployed to develop May 25, 2021 22:02 Inactive
@lloback
Copy link
Contributor Author

lloback commented May 25, 2021

Hi @KateMJAC and @joy-ade I've reviewed the code and addressed all the issues that were pending.
Please review again.

@joy-ade
Copy link

joy-ade commented May 27, 2021

@lloback We are still getting mix feedback from UTG see comment and screen shoot below.
I have created and completed a scenario QT the connection logs tab correctly shows the time logged in and out. The history log is incorrect for 'amount of time on question' however the more detailed log below this does seem to be accurate.
image (7)

@KateMJAC
Copy link

KateMJAC commented Jun 2, 2021

@lloback following Joy's last message please find a screenshot that details specifically what went wrong here: https://app.zenhub.com/files/201485031/55a3495d-b99b-4668-bdc5-f00169f346ee/download

I believe this was tested after your last post, but I will send it out again to this week's testers.

@lloback
Copy link
Contributor Author

lloback commented Jun 16, 2021

@lloback following Joy's last message please find a screenshot that details specifically what went wrong here: https://app.zenhub.com/files/201485031/55a3495d-b99b-4668-bdc5-f00169f346ee/download

I believe this was tested after your last post, but I will send it out again to this week's testers.

This image has nothing to do with this task. If you want something changed on this page we need to create a ticket for it. The image you attached was an old attempt of calculating the time that people stay on each question. It takes the timestamp when you enter and then the timestamp where you leave. It is prone for errors because you may come back and the time will increase exponentially. I actually think that we should remove it from this page (I can create a task for that if you want)

If no further feedback was added to this new statistic page that we created, I would like this PR to be reviewed and approved.

@joy-ade @KateMJAC @warrensearle

@KateMJAC
Copy link

@lloback Warren dropped me a line on this ticket and I provided him with additional feedback provided by the UTG.

He has advised that the PR can be left open for now.

@joy-ade

@joy-ade
Copy link

joy-ade commented Jun 30, 2021

@KateMJAC thank you for the update

@londonprojects
Copy link
Contributor

Hello @warrensearle @lloback What is the issue here?

@warrensearle
Copy link
Member

warrensearle commented Jul 20, 2021

@lloback there is a discrepancy around what the 'changes' statistic means. It looks like we are counting every time the answer is saved however the UTG are expecting the count to be only those times the answer is changed from one value to another - i.e. excluding the first save and any skips.
We should aim to meet UTG expectations but if not possible we should update the wording so it is clear what the count represents.

See related Apply ticket - jac-uk/apply#774

@lloback
Copy link
Contributor Author

lloback commented Jul 30, 2021

The issues were changed on the apply banch.
All merge conflicts gone.

@warrensearle warrensearle temporarily deployed to develop August 4, 2021 15:16 Inactive
@warrensearle
Copy link
Member

warrensearle commented Aug 4, 2021

Hey @KateMJAC @joy-ade please can you test this again in combination with jac-uk/apply#774

@joy-ade
Copy link

joy-ade commented Aug 10, 2021

out to UTG 9/08/2021 awaiting feedbacks

Copy link

@joy-ade joy-ade left a comment

Choose a reason for hiding this comment

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

Approved by product team and UTG

@joy-ade joy-ade merged commit 1a37970 into main Aug 10, 2021
@joy-ade joy-ade deleted the feature/945-qt-analysis branch August 10, 2021 14:35
tomlovesgithub added a commit that referenced this pull request Sep 22, 2021
* #945 Improve analysis of qualifying test questions (#1317)

* - Changed the TAB title from "Logs" to "Connection Logs"
- Created the "HISTORY" tab
- Added Analytics information and the amount of time user spent on the question

* [945] resolve conflict

* [945] fix build

* Revert changes to package-lock

* Revert changes to package.json

Co-authored-by: Warren Searle <warren@precise-minds.co.uk>

* #1440 QT fixes (#1468)

* Reports. Handle report not having data / existing

* Tidy sass imports to speed up build

* Fix console error when logged out and
ensure menu only shows when logged in

* Fix paging list of dry run responses

* Remove duration estimate now we have history log

* #1274 Fix: QT Connection logs not showing

* Show when question was last updated

* Fix sorting list of responses for dry run

* Bump version number to 0.73.0

* Update readme

* Bump version number to 0.74.0

* #1472 Fix: name blind sift link not showing up (#1473)

* #1472 Fix: name blind sift link not showing up

* Look at shortlisting methods as well as dates

* Tidy

* Tidy

* #1356 Display client details of QT participant (#1479)

* Bump version number to 0.75.0

* Input custom ASC word limits (#1478)

* input custom ASC word limits

* fix

* Feature/1327 enable request of character check form completion (#1357)

* WIP

* WIP

* WIP

* WIP

* WIP

* Revert wrong commit

* Removing wrong changes

* WIP

* WIP

* #1327 WIP

* #1327 A change to store file to show consent form completed app records in a tab

* #1327 Remove redundant code

* #1327 Changes to update appRecord

* #1327 Added a button to enable character checks

* #1327 Added characterChecksEnabled flag to exercise

* #1327 Changed button type

* #1327 Added Other Professional Bodies section

* #1327 Changed Consent checks tab to reflect consent form changes

* #1327 Display professional details date correctly

* Bump version number to 0.76.0

* #639 Added the approved email, removed a no-longer-in-use email (#1483)

* #589 Implement firebase app check (#1453)

* Upgrade firebase to V8 & add App Check

* Env / workflow changes to include recaptcha token

* Update on-release.yml

* #1314/additonal legal experience (#1331)

* admin ui

* connect to variables

* allow for applications without judicialFunctions object

* handle no answer provided

* handle no answer provided

* handle no answer provided

* handle no answer provided

* handle no answer provided

* admin ui

* connect to variables

* allow for applications without judicialFunctions object

* handle no answer provided

* handle no answer provided

* handle no answer provided

* handle no answer provided

* handle no answer provided

* working again added, workign basis inc

* UI sorted

* add judicial functions to review

* conditionally show total days engaged

* #1484 Placed data into correct columns (#1487)

* Revert "#589 Implement firebase app check (#1453)" (#1490)

This reverts commit b6cdd3b.

Co-authored-by: Lisias (Lee) Loback <lloback@users.noreply.github.com>
Co-authored-by: Warren Searle <warren@precise-minds.co.uk>
Co-authored-by: warrensearle <warren.searle@judicialappointments.digital>
Co-authored-by: Maria Brookes <40855898+mbrookeswebdev@users.noreply.github.com>
Co-authored-by: HalcyonJAC <79906532+HalcyonJAC@users.noreply.github.com>
tomlovesgithub added a commit that referenced this pull request Dec 21, 2021
* use new editablefield component

* wip

* stillwip

* wip

* wip

* wip

* add/remove info sections

* editable character information section

* wip

* merge sorted (?)

* broken

* fix?

* fixing tests wip

* tests working

* ready for reveiw

* remove unneeded imports

* remove unneeded imports

* wip

* eq-div-survey page done

* wip

* wip

* wip

* wip

* tidy

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* fully functional

* Test merge (#1493)

* #945 Improve analysis of qualifying test questions (#1317)

* - Changed the TAB title from "Logs" to "Connection Logs"
- Created the "HISTORY" tab
- Added Analytics information and the amount of time user spent on the question

* [945] resolve conflict

* [945] fix build

* Revert changes to package-lock

* Revert changes to package.json

Co-authored-by: Warren Searle <warren@precise-minds.co.uk>

* #1440 QT fixes (#1468)

* Reports. Handle report not having data / existing

* Tidy sass imports to speed up build

* Fix console error when logged out and
ensure menu only shows when logged in

* Fix paging list of dry run responses

* Remove duration estimate now we have history log

* #1274 Fix: QT Connection logs not showing

* Show when question was last updated

* Fix sorting list of responses for dry run

* Bump version number to 0.73.0

* Update readme

* Bump version number to 0.74.0

* #1472 Fix: name blind sift link not showing up (#1473)

* #1472 Fix: name blind sift link not showing up

* Look at shortlisting methods as well as dates

* Tidy

* Tidy

* #1356 Display client details of QT participant (#1479)

* Bump version number to 0.75.0

* Input custom ASC word limits (#1478)

* input custom ASC word limits

* fix

* Feature/1327 enable request of character check form completion (#1357)

* WIP

* WIP

* WIP

* WIP

* WIP

* Revert wrong commit

* Removing wrong changes

* WIP

* WIP

* #1327 WIP

* #1327 A change to store file to show consent form completed app records in a tab

* #1327 Remove redundant code

* #1327 Changes to update appRecord

* #1327 Added a button to enable character checks

* #1327 Added characterChecksEnabled flag to exercise

* #1327 Changed button type

* #1327 Added Other Professional Bodies section

* #1327 Changed Consent checks tab to reflect consent form changes

* #1327 Display professional details date correctly

* Bump version number to 0.76.0

* #639 Added the approved email, removed a no-longer-in-use email (#1483)

* #589 Implement firebase app check (#1453)

* Upgrade firebase to V8 & add App Check

* Env / workflow changes to include recaptcha token

* Update on-release.yml

* #1314/additonal legal experience (#1331)

* admin ui

* connect to variables

* allow for applications without judicialFunctions object

* handle no answer provided

* handle no answer provided

* handle no answer provided

* handle no answer provided

* handle no answer provided

* admin ui

* connect to variables

* allow for applications without judicialFunctions object

* handle no answer provided

* handle no answer provided

* handle no answer provided

* handle no answer provided

* handle no answer provided

* working again added, workign basis inc

* UI sorted

* add judicial functions to review

* conditionally show total days engaged

* #1484 Placed data into correct columns (#1487)

* Revert "#589 Implement firebase app check (#1453)" (#1490)

This reverts commit b6cdd3b.

Co-authored-by: Lisias (Lee) Loback <lloback@users.noreply.github.com>
Co-authored-by: Warren Searle <warren@precise-minds.co.uk>
Co-authored-by: warrensearle <warren.searle@judicialappointments.digital>
Co-authored-by: Maria Brookes <40855898+mbrookeswebdev@users.noreply.github.com>
Co-authored-by: HalcyonJAC <79906532+HalcyonJAC@users.noreply.github.com>

* character information section corrected

* address PR issues

* address PR issues

* taskdetails

* wip

* add task details

* fixes

* wip

* done

* styling fixes

* done

* tidy

* tests

* tests

* *

* *

* improved - tests failing

* tests pass

* show 2d questions and answers

* show welsh answers according to exercise

* address pr comments

* use next jac-kit verison

* jac-kit version

* fix characterv1 edit

* fix characterv1 edit

* fix characterv1 edit

* update jac-kit version to new beta

* update jac-kit version to new beta

* update ranked selection

* share logic for character summaries

* character summary shared logic

* hide edit button for nonauth

* merge and fix

* allow personal detailsa character sections to be editable by all

* rollback to remove code spill

* wip

Co-authored-by: Lisias (Lee) Loback <lloback@users.noreply.github.com>
Co-authored-by: Warren Searle <warren@precise-minds.co.uk>
Co-authored-by: warrensearle <warren.searle@judicialappointments.digital>
Co-authored-by: Maria Brookes <40855898+mbrookeswebdev@users.noreply.github.com>
Co-authored-by: HalcyonJAC <79906532+HalcyonJAC@users.noreply.github.com>
tomlovesgithub added a commit that referenced this pull request Dec 23, 2021
* use new editablefield component

* wip

* stillwip

* wip

* wip

* wip

* add/remove info sections

* editable character information section

* wip

* merge sorted (?)

* broken

* fix?

* fixing tests wip

* tests working

* ready for reveiw

* remove unneeded imports

* remove unneeded imports

* wip

* eq-div-survey page done

* wip

* wip

* wip

* wip

* tidy

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* fully functional

* Test merge (#1493)

* #945 Improve analysis of qualifying test questions (#1317)

* - Changed the TAB title from "Logs" to "Connection Logs"
- Created the "HISTORY" tab
- Added Analytics information and the amount of time user spent on the question

* [945] resolve conflict

* [945] fix build

* Revert changes to package-lock

* Revert changes to package.json

Co-authored-by: Warren Searle <warren@precise-minds.co.uk>

* #1440 QT fixes (#1468)

* Reports. Handle report not having data / existing

* Tidy sass imports to speed up build

* Fix console error when logged out and
ensure menu only shows when logged in

* Fix paging list of dry run responses

* Remove duration estimate now we have history log

* #1274 Fix: QT Connection logs not showing

* Show when question was last updated

* Fix sorting list of responses for dry run

* Bump version number to 0.73.0

* Update readme

* Bump version number to 0.74.0

* #1472 Fix: name blind sift link not showing up (#1473)

* #1472 Fix: name blind sift link not showing up

* Look at shortlisting methods as well as dates

* Tidy

* Tidy

* #1356 Display client details of QT participant (#1479)

* Bump version number to 0.75.0

* Input custom ASC word limits (#1478)

* input custom ASC word limits

* fix

* Feature/1327 enable request of character check form completion (#1357)

* WIP

* WIP

* WIP

* WIP

* WIP

* Revert wrong commit

* Removing wrong changes

* WIP

* WIP

* #1327 WIP

* #1327 A change to store file to show consent form completed app records in a tab

* #1327 Remove redundant code

* #1327 Changes to update appRecord

* #1327 Added a button to enable character checks

* #1327 Added characterChecksEnabled flag to exercise

* #1327 Changed button type

* #1327 Added Other Professional Bodies section

* #1327 Changed Consent checks tab to reflect consent form changes

* #1327 Display professional details date correctly

* Bump version number to 0.76.0

* #639 Added the approved email, removed a no-longer-in-use email (#1483)

* #589 Implement firebase app check (#1453)

* Upgrade firebase to V8 & add App Check

* Env / workflow changes to include recaptcha token

* Update on-release.yml

* #1314/additonal legal experience (#1331)

* admin ui

* connect to variables

* allow for applications without judicialFunctions object

* handle no answer provided

* handle no answer provided

* handle no answer provided

* handle no answer provided

* handle no answer provided

* admin ui

* connect to variables

* allow for applications without judicialFunctions object

* handle no answer provided

* handle no answer provided

* handle no answer provided

* handle no answer provided

* handle no answer provided

* working again added, workign basis inc

* UI sorted

* add judicial functions to review

* conditionally show total days engaged

* #1484 Placed data into correct columns (#1487)

* Revert "#589 Implement firebase app check (#1453)" (#1490)

This reverts commit b6cdd3b.

Co-authored-by: Lisias (Lee) Loback <lloback@users.noreply.github.com>
Co-authored-by: Warren Searle <warren@precise-minds.co.uk>
Co-authored-by: warrensearle <warren.searle@judicialappointments.digital>
Co-authored-by: Maria Brookes <40855898+mbrookeswebdev@users.noreply.github.com>
Co-authored-by: HalcyonJAC <79906532+HalcyonJAC@users.noreply.github.com>

* character information section corrected

* address PR issues

* address PR issues

* taskdetails

* wip

* add task details

* fixes

* wip

* done

* styling fixes

* done

* tidy

* tests

* tests

* *

* *

* improved - tests failing

* tests pass

* show 2d questions and answers

* show welsh answers according to exercise

* address pr comments

* use next jac-kit verison

* jac-kit version

* fix characterv1 edit

* fix characterv1 edit

* fix characterv1 edit

* update jac-kit version to new beta

* update jac-kit version to new beta

* update ranked selection

* share logic for character summaries

* character summary shared logic

* hide edit button for nonauth

* merge and fix

* allow personal detailsa character sections to be editable by all

* rollback to remove code spill

* wip

* wip

* wip

* wip

* wip

* use new editablefield component

* tests working

* show 2d questions and answers

* hide edit button for nonauth

* allow personal detailsa character sections to be editable by all

* wip

* wip

* wip

* fix tests

* fix tests

* wip

* wip

* Add version prop

* fix tests, additional check for tasks

Co-authored-by: Lisias (Lee) Loback <lloback@users.noreply.github.com>
Co-authored-by: Warren Searle <warren@precise-minds.co.uk>
Co-authored-by: warrensearle <warren.searle@judicialappointments.digital>
Co-authored-by: Maria Brookes <40855898+mbrookeswebdev@users.noreply.github.com>
Co-authored-by: HalcyonJAC <79906532+HalcyonJAC@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants