-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 old error_messages
usage and added errorMessage partial
#8923
Conversation
Codecov Report
@@ Coverage Diff @@
## main #8923 +/- ##
=======================================
Coverage ? 81.87%
=======================================
Files ? 100
Lines ? 5943
Branches ? 0
=======================================
Hits ? 4866
Misses ? 1077
Partials ? 0 |
@jywarren @cesswairimu could you please review this? If this PR is fine, I'll create first timer issues for the rest of the files to use the partial. Thanks in advance! |
Code Climate has analyzed commit c7bf0f1 and detected 0 issues on this pull request. View more on Code Climate. |
This seems good. Could you maybe take a screenshot of the error messages rendering correctly? |
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.
Hey @Manasa2850 thanks a lot for opening this...love the error partial, we could refactor all the other views after this is merged. I would like to pint out that we are planning to remove the dynamic gem and that is already done here #4575, you could merge this branch with yours and then we can start from there...what do you think?
there are also a few files left, would you like to change those ones too? Its also okay if you would like to handle only the features templates and I can create a breakout issue for that alone and you wouldn't need to worry about the PR I mentioned above...its totally up to you let me know what you feel would be best for you. Thanks again |
Hi @cesswairimu I thought of creating first timer issues for the refactoring in the remaining files. So I think we'll be able to remove the dynamic gem only after changes have been made in all those files. |
Great, sounds good, let me create a issue we can link to this and have it merged..looks good from gitpod thanks |
@Manasa2850 when you do create the ftos kindly link them to the main issue for organization. thanks @Uzay-G for the review 🎉 |
Sure I'll do that @cesswairimu. Thank you! |
…ubliclab#8923) * added error message partial * added new line * fixed failing test * changed new file * updated new.html.erb
…ubliclab#8923) * added error message partial * added new line * fixed failing test * changed new file * updated new.html.erb
…ubliclab#8923) * added error message partial * added new line * fixed failing test * changed new file * updated new.html.erb
…ubliclab#8923) * added error message partial * added new line * fixed failing test * changed new file * updated new.html.erb
Fixes #8937 (<=== Add issue number here)
Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!
rake test
@publiclab/reviewers
for help, in a comment belowIf 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!