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

Refactored the Newsletter and User Controller #30

Open
wants to merge 1 commit into
base: engine
Choose a base branch
from

Conversation

tejaszambre
Copy link

@tejaszambre tejaszambre commented Nov 2, 2020

  • Updated Newsletter index action method to show newsletter by type
  • Created single action method to send monthly, opt-in and opt-out
    newsletter mails
  • Updated routes according to the below methods
  • Removed the global send mail and send test buttons and added buttons below individual newsletters.
  • Added before filters and flash messages in Newsletter and User controller
  • Added alert message before deleting newsletter
  • Modified the UI for test mail template
  • Changed the query for fetching newsletter in opt-in worker, opt-out worker and user worker
  • Fix test configuration
  • Fix the bootstrap navbar menu-items active-state issue
  • Fix the gemfile for test environment
  • Removed duplicated methods
  • Updated the depricated deliver method
  • Fix and modified the test cases for User and Newsletter controller
  • Rename the newsletter type constant
  • Fix the user form

@tejaszambre tejaszambre self-assigned this Nov 2, 2020
@tejaszambre tejaszambre linked an issue Nov 2, 2020 that may be closed by this pull request
@tejaszambre
Copy link
Author

app/controllers/light/users_controller.rb Outdated Show resolved Hide resolved
app/controllers/light/newsletters_controller.rb Outdated Show resolved Hide resolved
app/controllers/light/users_controller.rb Outdated Show resolved Hide resolved
app/controllers/light/users_controller.rb Outdated Show resolved Hide resolved
- Updated Newsletter index action method to show newsletter by type
- Created single action method to send monthly, opt-in and opt-out
newsletter mails
- Updated routes according to the below methods
- Removed the global send mail and send test buttons and added buttons below individual newsletters.
- Added before filters and flash messages in Newsletter and User controller
- Added alert message before deleting newsletter
- Modified the UI for test mail template
- Changed the query for fetching newsletter in opt-in worker, opt-out worker and user worker
- Fix test configuration
- Fix the bootstrap navbar menu-items active-state issue
- Fix the gemfile for test environment
- Removed duplicated methods
- Updated the depricated deliver method
- Fix and modified the test cases for User and Newsletter controller
- Rename the newsletter type constant
- Fix the user form
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.

Code refactoring and removing general test and send mail buttons
2 participants