-
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
Nv 2906 remove the is topic notification enabled feature flag #5493
Nv 2906 remove the is topic notification enabled feature flag #5493
Conversation
✅ Deploy Preview for novu-design ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for dev-web-novu ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
97236a7
to
7bddb39
Compare
Remove unused injections Move single use helper to class using it Remove unused imports Tidy up imports
Remove map-trigger-recipients use case Remove associated e2e tests Remove setting of feature flag in e2e tests Remove feature flag from env validator Remove feature flag from env configurations Remove feature flag from list of feature flags Remove feature flag read and false handling from trigger-multicast use case
Add (ugly) solution to verify matching of enum name and value
Remove unused export
7bddb39
to
d03423e
Compare
ignore example env config for spell check
Remove unused import
Add alternative checking of flag name match check
Remove non typescript check option Name variable underscore to imply non-use Refactor tests for flag test specs
8cd7b84
to
b0c9be8
Compare
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.
@denis-kralj-novu looks great💃🏼
Just note my comment about removing the launch darkly env variable in the test files
...s/application-generic/src/usecases/map-trigger-recipients/map-trigger-recipients.use-case.ts
Outdated
Show resolved
Hide resolved
Remove Remove flag setting as per MR suggestion
Remove additional occurrences of feature flag that isn't required
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.
💃🏼
…bled-feature-flag
Remove unused injections Move single use helper to class using it Remove unused imports Tidy up imports Remove map-trigger-recipients use case Remove associated e2e tests Remove setting of feature flag in e2e tests Remove feature flag from env validator Remove feature flag from env configurations Remove feature flag from list of feature flags Remove feature flag read and false handling from trigger-multicast use case Add (ugly) solution to verify matching of enum name and value Ignore example env config for spell check Ensure feature flag enum keys match values Name variable underscore to imply non-use Refactor tests for flag test specs Remove additional occurrences of feature flag that isn't required
What changed? Why was the change needed?
A feature flag that is always set to true has been removed, along with all associated 'false' code paths. Additionally, dead code was also removed and used helpers moved to more appropriate places
Special notes for your reviewer
I've placed 2 options in this MR and we should agree on what option we want to use. I'm leaning more towards Option 1 as it complains right away, not only when tests are run. Option 2 also seems a bit ugly, but that is more personal preference.