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

Correct Incorrect Text Appearing Due To Lookups #2603

Merged
merged 2 commits into from
Nov 14, 2024

Conversation

drieJAC
Copy link
Contributor

@drieJAC drieJAC commented Nov 12, 2024

What's included?

Two issues were reported, one had a ticket raised for it but they are connected so both go fixed in this ticket.
The issues arise because of overlapping references being used in the lookup helper.

Issue 1) 'Professional assessor' was being displayed next to occupation. This got flagged by a candidate and reported in the support channel. The fix involved removing the word assessor and hardcoding that in the template. This is a bit of a hack so will be nice to modify the way we do this lookup in the future to prevent this issue from arising again as it surely will.

Issue 2) The exercise type field was displaying 'Strategic Leadership Questions' instead of 'Leadership'.

Closes #2600
Closes #2601

Who should test?

✅ Product owner
✅ Developers
✅ UTG

How to test?

1) Go to the following url : https://jac-admin-develop--pr2603-bugfix-2600-correct-iyu0ze8m.web.app/exercise/MwKzBqbvPyhMZaNXMGP2/dashboard

Ensure 'Exercise Type' displays 'Leadership' instead of 'Strategic Leadership Questions', eg below:

Screenshot 2024-11-12 at 16 20 00

2) Go to the following url: https://jac-admin-develop--pr2603-bugfix-2600-correct-iyu0ze8m.web.app/exercise/MwKzBqbvPyhMZaNXMGP2/applications/draft/application/PAjWsYyeuSkMMLIhUfWO

Ensure the Occupation appears as 'Professional' below instead of 'Professional Assessor' in the Application in Admin

Screenshot 2024-11-12 at 16 29 36

3) Go to the following url: https://jac-admin-develop--pr2603-bugfix-2600-correct-iyu0ze8m.web.app/exercise/MwKzBqbvPyhMZaNXMGP2/applications/draft/application/PAjWsYyeuSkMMLIhUfWO

Ensure the Type appears as 'Professional Assessor' under Independent Assessors in the Application in Admin

Screenshot 2024-11-12 at 16 24 01

4) Go to the following url: https://jac-admin-develop--pr2603-bugfix-2600-correct-iyu0ze8m.web.app/exercise/MwKzBqbvPyhMZaNXMGP2/applications/draft/application/PAjWsYyeuSkMMLIhUfWO

Ensure the Assessor Type appears as 'Professional Assessor' under Independent Assessor Change in the Application in Admin after choosing to edit the Application and choosing to Edit the Independent Assessors

Screenshot 2024-11-12 at 16 25 11

Risk - how likely is this to impact other areas?

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

Related permissions

Have permissions been considered for this functionality?

  • No permission changes required

PREVIEW:DEVELOP
can be OFF, DEVELOP or STAGING

Copy link

github-actions bot commented Nov 12, 2024

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

https://jac-admin-develop--pr2603-bugfix-2600-correct-iyu0ze8m.web.app

(expires Thu, 12 Dec 2024 16:39:25 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 4e92cf51659207b0ae3509dc5c40edde50edfec0

Copy link
Contributor

@tomlovesgithub tomlovesgithub 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
Contributor

@KoWeiJAC KoWeiJAC left a comment

Choose a reason for hiding this comment

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

👍

@drieJAC drieJAC merged commit bf8ea93 into main Nov 14, 2024
30 of 33 checks passed
@drieJAC drieJAC deleted the bugfix/2600-correct-exercise-type-field branch November 14, 2024 09:40
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.

Occupation of main household earner incorrect Correct exercise-type field misalignment
4 participants