[TGDK][Feature] Add Configurable Option to Enable or Disable 'Skip Email Notification' Button #4557
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Important
This implementation is part of a set of features and fixes developed within the context of a project for the TGDK academic journal, with the goal of customizing Janeway to meet the journal's specific needs, which may also be extended to other contexts.
Problem / Objective
By default, many interactions between users on the platform (such as editor assignments, reviewer assignments, etc.) include the option to skip sending an email notification to the other party involved. This is implemented via a button on the respective notification page.
While this flexibility is valuable for some workflows, many journals require administrators to enforce the sending of these notifications as part of their editorial policies. The current setup does not allow journals to disable the skip option, which can lead to inconsistencies in communication practices.
Solution
This feature introduces a configurable option, "Enable Skip Send Email", to allow journals to enable or disable the "Skip Email Notification" button
The option is added to the Review Settings and is activated by default to align with the platform's current behavior.
When disabled, the "Skip Email Notification" button is no longer displayed on relevant notification pages, ensuring that all interactions automatically trigger email notifications.