-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
refactor(api, application-generic): Encapsulate preference mutations in workflow use-cases #7005
Merged
rifont
merged 39 commits into
next
from
nv-4752-start-writing-to-v2-preferences-for-all
Nov 17, 2024
Merged
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
a7806b7
feat(workflow): add user preference management
rifont 8af47b2
refactor(workflow): streamline preferences handling
rifont c403e6c
refactor(create-workflow): remove unused imports
rifont 5c76727
docs(create-workflow): mark as deprecated
rifont b0a5077
refactor(preferences): simplify preference handling
rifont 7f95b0c
Merge branch 'next' into nv-4752-start-writing-to-v2-preferences-for-all
rifont 3512c76
chore: update subproject commit reference
rifont 282e7db
Update apps/api/src/app/workflows-v1/workflow-v1.controller.ts
rifont 5c3aa09
Update apps/api/src/app/workflows-v1/workflow-v1.controller.ts
rifont 07b5606
Update libs/application-generic/src/usecases/upsert-preferences/upser…
rifont 865f4f2
feat: Add preferences support to notifications
rifont 368a172
feat(promote): update workflow preferences on promote
rifont 90f226b
feat(notification): add user workflow preferences creation
rifont 80ebfac
feat(workflow): Add critical flag to workflow updates
rifont 59b9566
test: skip tests due to tenant flag issue
rifont 1e0ade0
refactor(get-subscriber-template): update preference logic
rifont 24fbc13
Merge branch 'next' into nv-4752-start-writing-to-v2-preferences-for-all
rifont 10fbfa0
refactor(workflow): use default preferences if undefined
rifont 6b01992
Merge branch 'nv-4752-start-writing-to-v2-preferences-for-all' of ssh…
rifont 71a43d6
style: Update comment style for consistency
rifont 712a64a
fix(preference): correct email source override logic
rifont 7fb272b
refactor(controller): remove redundant null coalescing
rifont d70f044
refactor(update-workflow): remove unused import
rifont f7b91c1
refactor(workflow): update response dto class name
rifont fcc27bc
refactor(workflow): rename GetWorkflowResponseDto
rifont 3e7804e
refactor(update-workflow): simplify workflow retrieval
rifont a02da71
Update libs/application-generic/src/usecases/get-subscriber-template-…
rifont d105e72
feat(preferences): Add delete preferences use case
rifont 5054a79
Merge branch 'next' into nv-4752-start-writing-to-v2-preferences-for-all
rifont 4fd8cd8
refactor(workflows-v2): update workflow type definition
rifont 79d4784
test(delete-notification): fix assertion message text
rifont b3281dc
refactor(delete-template): use NotificationTemplateEntity
rifont 599b011
Merge branch 'next' into nv-4752-start-writing-to-v2-preferences-for-all
rifont 528e440
Merge branch 'next' into nv-4752-start-writing-to-v2-preferences-for-all
rifont 7b6a57f
refactor(upsert-workflow): update persist logic parameters
rifont 76c2f07
refactor: remove unused import in usecase file
rifont 2bff10a
refactor(upsert-preferences): remove null checks
rifont 92a922d
fix: handle null userPreferences in workflow creation
rifont e20ad04
feat(workflow): add issues and status handling
rifont File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
refactor(upsert-workflow): update persist logic parameters
- Loading branch information
commit 7b6a57faf4c6b3deb7af628783b9f9b73d04d927
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
UpsertWorkflow
stops dealing with preferences now, leaving it to the downstreamCreateWorkflow
andUpdateWorkflow
use-cases.