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/operator documents new notifications admin #490

Merged
merged 5 commits into from
May 8, 2024

Conversation

tsubik
Copy link
Collaborator

@tsubik tsubik commented Apr 30, 2024

Send notification to operator's responsible admins about new pending document ready for review.

PT: https://www.pivotaltracker.com/story/show/187126374

@tsubik tsubik requested a review from santostiago April 30, 2024 11:51
Copy link
Contributor

@santostiago santostiago left a comment

Choose a reason for hiding this comment

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

👍

@@ -48,6 +48,11 @@ def attachment

def attachment=(attachment)
@model.build_document_file(attachment: attachment)
# TODO: check if there is better workaround for this issue https://github.com/rails/rails/issues/49898
Copy link
Contributor

Choose a reason for hiding this comment

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

😮

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah, using too many AR callbacks could be a real trap in Rails project. Many times callbacks didn't work as expected.

@@ -383,7 +383,7 @@ fr:
annexes: 'Annexes'
operator_document_id: "ID de document de l'opérateur"
with_deleted: 'Avec supprimé'
reason_label: "Raison de mettre le document comme non applicable"
reason_label: "Le document a été mis comme non applicable avec l'explication suivante"
Copy link
Contributor

Choose a reason for hiding this comment

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

😆

Base automatically changed from feature/operator-documents-new-notifications to develop May 8, 2024 11:10
@tsubik tsubik force-pushed the feature/operator-documents-new-notifications-admin branch from 6f02758 to a8ef5b0 Compare May 8, 2024 11:12
@tsubik tsubik merged commit 3d184e6 into develop May 8, 2024
4 checks passed
@tsubik tsubik deleted the feature/operator-documents-new-notifications-admin branch May 8, 2024 11:25
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.

None yet

2 participants