Refactor nids in tag model
🤔 What you will need to know.
Nothing. This issue is meant to welcome you to Open Source :) We are happy to walk you through the process.
📋 Step by Step
- [ ] 🙋 Claim this issue: Comment below. If someone else has claimed it, ask if they've opened a pull request already and if they're stuck -- maybe you can help them solve a problem or move it along!
Problem:
I extracted tids and nids to methods in the tag model https://github.com/publiclab/plots2/blob/master/app/models/tag.rb#L437-L443
📝 Update:
We want to remove wherever else they are defined in the model so that they can use the new methods.
Changes
- Delete this lines https://github.com/publiclab/plots2/blob/master/app/models/tag.rb#L210-L213
After changing run the tests and make sure we didn't break anything
-
[ ] 💾 Commit your changes
-
[ ] 🔀 Start a Pull Request. There are two ways how you can start a pull request:
-
If you are familiar with the terminal or would like to learn it, here is a great tutorial on how to send a pull request using the terminal.
-
You can also edit files directly in your browser and open a pull request from there.
- [ ] 🏁 Done Ask in comments for a review :)
🤔❓ Questions?
Leave a comment below!
@techchic here you go
Great! Thanks
Hi cesswairimu. I am new to open source and public lab. I'm going to attempt this issue. Looks easy, but not sure what will happen when I click commit. Also, not sure where or how to run the tests. Guess I'll find out soon enough :sweat_smile:
Hey @edwd42 I am currently working on this.
Hi @edwd42 will add your name for to a list of people looking for ftos pretty soon you should get an issue. and don't worry we are here to help. :smile: Thanks
oh hey sorry techchic. didn't see that.
Is this issue still open?
@techchic are you working on this one. If yes, can you please tag this issue in your PR. Thanks!
hey @Michaellin250, we can add your name to the https://github.com/publiclab/plots2/issues/4963 if you like? Or, you can go through issues https://github.com/publiclab/plots2/issues/ and claim the one you find interesting. Thanks!
I am taking up this issue
Is this issue solved?
Yes, this is complete -- thank you!!!