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

fix: update internal mrf form language and align button behaviour #829

Merged
merged 4 commits into from
Nov 20, 2024

Conversation

MathewEm
Copy link
Collaborator

This pull request includes updates to the ManuscriptRecord model and its related components, controllers, and resources which manage the do_not_apply_ogl variable. These updates reflect the change in language to the Report Licensing question found within the DFO Publication MRF form.

Frontend Changes

  • Clarification of the Report Licensing description and question. The question now prompts for a positive answer for application of the OGL in English and French locales.
  • Report Licensing toggle button now defaults to "Yes".

Backend Changes

  • Existing field do_not_apply_ogl updated to apply_ogl to reflect the new behaviour of the question.
  • Default boolean for apply_ogl in add_ogl_question_to_manuscript_records_table switched to True.

Testing

  • Boolean swapped in ManuscriptRecordTest to False reflect change in context of apply_ogl.

Copy link

⚠️ 1 Checks Failed!

🛡️ 1 Security Vulnerabilities
🚀 0 Performance Issues
🐛 0 Reliability Issues

You may view the full report here.

Copy link
Member

@vincentauger vincentauger left a comment

Choose a reason for hiding this comment

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

Great work! Let's talk about the small changes to do tomorrow.

resources/src/locales/en.json Outdated Show resolved Hide resolved
resources/src/locales/fr.json Outdated Show resolved Hide resolved
Looks Good

Co-authored-by: Vincent Auger <[email protected]>
Signed-off-by: Mathew E <[email protected]>
Copy link

⚠️ 1 Checks Failed!

🛡️ 1 Security Vulnerabilities
🚀 0 Performance Issues
🐛 0 Reliability Issues

You may view the full report here.

vincentauger
vincentauger previously approved these changes Nov 20, 2024
Copy link
Member

@vincentauger vincentauger left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

Copy link

⚠️ 1 Checks Failed!

🛡️ 1 Security Vulnerabilities
🚀 0 Performance Issues
🐛 0 Reliability Issues

You may view the full report here.

Copy link

⚠️ 1 Checks Failed!

🛡️ 1 Security Vulnerabilities
🚀 0 Performance Issues
🐛 0 Reliability Issues

You may view the full report here.

@vincentauger vincentauger merged commit e84b38d into main Nov 20, 2024
3 of 4 checks passed
@vincentauger vincentauger deleted the update-licensing-wording-for-internal-mrf branch November 20, 2024 15:54
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.

2 participants