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

changed deliver_now to deliver_later #9402

Merged
merged 4 commits into from
Apr 3, 2021
Merged

changed deliver_now to deliver_later #9402

merged 4 commits into from
Apr 3, 2021

Conversation

anirudhprabhakaran3
Copy link
Member

@anirudhprabhakaran3 anirudhprabhakaran3 commented Mar 31, 2021

Fixes #9309

Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!

  • PR is descriptively titled 📑 and links the original issue above 🔗
  • tests pass -- look for a green checkbox ✔️ a few minutes after opening your PR -- or run tests locally with rake test
  • code is in uniquely-named feature branch and has no merge conflicts 📁
  • screenshots/GIFs are attached 📎 in case of UI updation
  • ask @publiclab/reviewers for help, in a comment below

We're happy to help you get this ready -- don't be afraid to ask for help, and don't be discouraged if your tests fail at first!

If tests do fail, click on the red X to learn why by reading the logs.

Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software

Thanks!

@welcome
Copy link

welcome bot commented Mar 31, 2021

Thanks for opening this pull request! This space is protected by our Code of Conduct - and we're here to help.
Dangerbot will test out your code and reply in a bit with some pointers and requests.
Also please refer here for installation help 💿
There may be some errors, but don't worry! We'll work through them with you! 👍🎉😄

@gitpod-io
Copy link

gitpod-io bot commented Mar 31, 2021

@codecov
Copy link

codecov bot commented Mar 31, 2021

Codecov Report

❗ No coverage uploaded for pull request base (main@04bb121). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head 5bd04c4 differs from pull request most recent head 8efca6f. Consider uploading reports for the commit 8efca6f to get more accurate results
Impacted file tree graph

@@           Coverage Diff           @@
##             main    #9402   +/-   ##
=======================================
  Coverage        ?   58.60%           
=======================================
  Files           ?       98           
  Lines           ?     5991           
  Branches        ?        0           
=======================================
  Hits            ?     3511           
  Misses          ?     2480           
  Partials        ?        0           

@anirudhprabhakaran3
Copy link
Member Author

@jywarren could you tell me why the functional tests are failing? Is it due to the same reason mentioned by @cesswairimu at #9383?

@cesswairimu
Copy link
Collaborator

Hi @anirudhprabhakaran3 , yeah it is because of the same reason...would you like to make similar changes as I suggested on the other PR?

@anirudhprabhakaran3
Copy link
Member Author

Yes, I'll update the code based on the information you've given already! Thank you!

@cesswairimu
Copy link
Collaborator

cesswairimu commented Mar 31, 2021

Awesome 🎉
in your case it will be on these failing tests

===ERROR NotesControllerTest#test_co-author_can_publish_the_draft (73.31s)
Minitest::UnexpectedError:         NoMethodError: undefined method `subject' for nil:NilClass
            test/functional/notes_controller_test.rb:880:in `block in <class:NotesControllerTest>'

ERROR NotesControllerTest#test_draft_author_can_publish_the_draft (73.77s)
Minitest::UnexpectedError:         NoMethodError: undefined method `subject' for nil:NilClass
            test/functional/notes_controller_test.rb:860:in `block (2 levels) in <class:NotesControllerTest>'
            test/functional/notes_controller_test.rb:846:in `block in <class:NotesControllerTest>'

===ERROR NotesControllerTest#test_moderator_can_publish_the_draft (77.62s)
Minitest::UnexpectedError:         NoMethodError: undefined method `subject' for nil:NilClass
            test/functional/notes_controller_test.rb:835:in `block in <class:NotesControllerTest>'

@cesswairimu
Copy link
Collaborator

Just realized they are the same failing test as #9383 ..the details there should apply...thanks

@anirudhprabhakaran3
Copy link
Member Author

ALL CHECKS PASSED!

Sorry I'm really excited XD

@cesswairimu
Copy link
Collaborator

Fantastic 🎉 thanks a bunch

@anirudhprabhakaran3
Copy link
Member Author

Thank you! I have a few questions.

  1. Is this going to be merged?
  2. Can I start working on my GSoc proposal?

@cesswairimu
Copy link
Collaborator

@anirudhprabhakaran3 looks like you touched two files that were not part of your changes yarn.lock and package.json..could you please remove those?

And yeah it will be merged once you fix those
And yes, you can start working on your proposal. Thanks

@anirudhprabhakaran3
Copy link
Member Author

Aah yes. I think those two files were changed when I ran the webpacker and react install. I'll make the changes and push it 👍

@anirudhprabhakaran3
Copy link
Member Author

@cesswairimu made all changes and tests have passed

package.json Outdated Show resolved Hide resolved
@codeclimate
Copy link

codeclimate bot commented Apr 3, 2021

Code Climate has analyzed commit 8efca6f and detected 0 issues on this pull request.

View more on Code Climate.

@anirudhprabhakaran3
Copy link
Member Author

@RuthNjeri I've made the necessary changes. Now only two files have been edited

@cesswairimu
Copy link
Collaborator

cesswairimu commented Apr 3, 2021

Hi @anirudhprabhakaran3, looks like you made the changes for #9309 instead of #9308 as you linked in the issue...I understand the confusion because they had similar titles...I will update the issue number and merge the changes as you have worked a lot on it and the contributor on other PR hasn't gotten back to us in a while. Thanks

Copy link
Collaborator

@cesswairimu cesswairimu left a comment

Choose a reason for hiding this comment

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

🎉 🎉

@cesswairimu cesswairimu merged commit f8a2a45 into publiclab:main Apr 3, 2021
@welcome
Copy link

welcome bot commented Apr 3, 2021

Congrats on merging your first pull request! 🙌🎉⚡️
Your code will likely be published to PublicLab.org in the next few days, but first it will be published to https://stable.publiclab.org/ (it will take some minutes for this to load, and until then you may see logs from the build process). Please test out your work on this testing server and report back with a comment that all has gone well!
Do join our weekly check-in to share your this week goal and the awesome work you did 😃. Please find the link to our latest check-in here 📝
Now that you've completed this, you can help someone else take their first step!
Reach out to someone else working on theirs on Public Lab's code welcome page (where you'll now be featured as a recent contributor!). Thanks!

Help others take their first step

Now that you've merged your first pull request, you're the perfect person to help someone else out with this challenging first step. 🙌

https://code.publiclab.org

Try looking at this list of `first-timers-only` issues, and see if someone else is waiting for feedback, or even stuck! 😕

People often get stuck at the same steps, so you might be able to help someone get unstuck, or help lead them to some documentation that'd help. Reach out and be encouraging and friendly! 😄 🎉

Read about how to help support another newcomer here, or find other ways to offer mutual support here.

reginaalyssa pushed a commit to reginaalyssa/plots2 that referenced this pull request Oct 16, 2021
* changed deliver_now to deliver_later in app/controllers/notes_controller.rb

* Modified tests to reflect change

* Reverse the unwanted changes

* reverted unwanted changes
billymoroney1 pushed a commit to billymoroney1/plots2 that referenced this pull request Dec 28, 2021
* changed deliver_now to deliver_later in app/controllers/notes_controller.rb

* Modified tests to reflect change

* Reverse the unwanted changes

* reverted unwanted changes
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.

Change deliver_now to deliver_later
3 participants