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

Feature/3543 applicants info position and email header change #2260

Conversation

amdomanska
Copy link
Contributor

@amdomanska amdomanska commented Jun 22, 2023

Move the applicant's email address into the Notes sticky and ensure it follows the editor down the page.
Add the ISSN into the email subject heading for all notifications defined in notifications.yml

Please don't delete any sections when completing this PR template; instead enter N/A for checkboxes or sections which are not applicable, unless otherwise stated below

See 3543

Categorisation

This PR...

  • has scripts to run
  • has migrations to run
  • adds new infrastructure
  • changes the CI pipeline
  • affects the public site
  • affects the editorial area
  • affects the publisher area
  • affects the monitoring

Basic PR Checklist

Instructions for developers:

  • For each checklist item, if it is N/A to your PR check the N/A box
  • For each item that you have done and confirmed for yourself, check Developer box (including if you have checked the N/A box)

Instructions for reviewers:

  • For each checklist item that has been confirmed by the Developer, check the Reviewer box if you agree
  • For multiple reviewers, feel free to add your own checkbox with your github username next to it if that helps with review tracking

Code Style

  • No deprecated methods are used

    • N/A
    • Developer
    • Reviewer
  • No magic strings/numbers - all strings are in constants or messages files

    • N/A
    • Developer
    • Reviewer
  • ES queries are wrapped in a Query object rather than inlined in the code

    • N/A
    • Developer
    • Reviewer
  • Where possible our common library functions have been used (e.g. dates manipulated via dates)

    • N/A
    • Developer
    • Reviewer
  • Cleaned up commented out code, etc

    • N/A
    • Developer
    • Reviewer

Testing

  • Unit tests have been added/modified

    • N/A
    • Developer
    • Reviewer
  • Functional tests have been added/modified

    • N/A
    • Developer
    • Reviewer
  • Code has been run manually in development, and functional tests followed locally

    • N/A
    • Developer
    • Reviewer

Documentation

Release Readiness

Testing

List the Functional Tests that must be run to confirm this feature

https://doaj.github.io/doaj-docs/feature/3543_applicants_info_position_and_email_header_change/testbook/index.html#notifications/notifications/short_notification_view

Copy link
Contributor

@Steven-Eardley Steven-Eardley left a comment

Choose a reason for hiding this comment

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

  • Tests will need to be updated, there's some tests for the email subjects during the application workflow.

  • Should we have a colon in there, e.g. New application assigned to you: 1234-1234, 0000-0000 since ISSN is a required field we shouldn't need to worry about the case where they're missing.

@amdomanska
Copy link
Contributor Author

amdomanska commented Jun 26, 2023

@Steven-Eardley

Should we have a colon in there, e.g. New application assigned to you: 1234-1234, 0000-0000 since ISSN is a required field we shouldn't need to worry about the case where they're missing.

ISSN is required but not necessarily both of them (it's possible to submit an application with PISSN only)? The issns=", ".join(issn for issn in application.bibjson().issns()) adds comma if necessary ("New application assigned to your group (XXXX-XXXX)", or "New application assigned to your group (XXXX-XXXX, YYYY-YYYY)")
Unless you mean some other comma?

@Steven-Eardley
Copy link
Contributor

Unless you mean some other comma?

colon : <--- :)

@amdomanska amdomanska requested review from richard-jones and removed request for richard-jones July 7, 2023 09:06
@Steven-Eardley Steven-Eardley merged commit 1223294 into develop Aug 31, 2023
1 check passed
@Steven-Eardley Steven-Eardley deleted the feature/3543_applicants_info_position_and_email_header_change branch August 31, 2023 10:37
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