There are several codeclimate "smells" as detailed in #3706. This task will focus on cleaning up duplicate code.
To do this, we will need to remove duplicate code at:
Keep in mind that though the code in these areas are similar, you can't simply delete the repeated code. Consider creating a function if a variable is different, and always test before checking off any of these issues.
This covers all the duplicate code, as far as I am able to find within code climate. Please let me know if there's anything else to change.
AWESOME!!!
You did a lot of work. This needs applause too.
@JonathanXu1 is also working on many other parts other than modals. Its great to see his enthusiasm
It's been a pleasure learning to collaborate on Rails. Also I'm just waiting for my ImageSequencer PR to get merged: https://github.com/publiclab/image-sequencer/pull/539
@jywarren please review it.
On Mon, Dec 10, 2018 at 8:53 AM Jonathan Xu notifications@github.com
wrote:
It's been a pleasure learning to collaborate on Rails. Also I'm just
waiting for my ImageSequencer PR to get merged:
publiclab/image-sequencer#539
https://github.com/publiclab/image-sequencer/pull/539—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/4224#issuecomment-445651903,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AUACQwLHLLrmkrewvWRUynSxSM5yXxAgks5u3dOXgaJpZM4ZKfjp
.
Wow, this is amazing 💯 Please, don't forget adding the correspondent labels :)
Hi @JonathanXu1 @ValentinaTironi you want to work on this task? Thanks!
Yes I think I can do it but in a few days. Today is my birthday 🎁 and I would like enjoying with my family and friends and later is christmas so, can I do it the next week or something like that? Sorry for inconveniences :) happy to help! Thank you!
PD: I’ll try to look the code and think about how to resolve it :)
On Dec 22, 2018, at 5:54 AM, Gaurav Sachdeva notifications@github.com wrote:
Hi @JonathanXu1 @ValentinaTironi you want to work on this task? Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
Happy birthday!!!
Have a wonderful birthday :balloon:
Wishing you a very happy birthday :birthday: :tada: !
Always be happy, keep smiling and remain awesome as you are :smiley: .
yes, this issue can wait for sure. Thanks!
Happy birthday, you deserve a break! When you want to work on it, I'd love to help out if you like
Thank you so much! I’m 18 now hahaha thank you for understanding :) Merry christmas too! 🎄✨
On Dec 22, 2018, at 12:51 PM, Jonathan Xu notifications@github.com wrote:
Happy birthday, you deserve a break! When you want to work on it, I'd love to help out if you like
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
Hey! I'm ready to work on this. What do you say @JonathanXu1? I'll check the code now and help as I can :)
I was thinking and I will make different pull requests where the controllers is separated from models, javascripts, etc. Do you agree? @gauravano @JonathanXu1 @SidharthBansal
I think breaking it up into pieces is a great idea. Makes it easier to
review as well!
On Dec 26, 2018 4:45 PM, "Valentina Tironi" notifications@github.com
wrote:
I was thinking and I will make different pull requests where the
controllers is separated from models, javascripts, etc. Do you agree?
@gauravano https://github.com/gauravano @JonathanXu1
https://github.com/JonathanXu1 @SidharthBansal
https://github.com/SidharthBansal
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/publiclab/plots2/issues/4224#issuecomment-450030794,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABfJ8_55Y-QADCaKaOhBY_7-ViKYvGuks5u8-3qgaJpZM4ZKfjp
.
Great! I'm on that :)
Alright, how should we divvy up the tasks?
I'm working now in controllers, maybe you can start with javascripts files? What do you think?
Sure let's do that for now and see
Great! Let me know if you need help :) Here is my pull request if you check out it #4417 but I'm still working on that so I didn't finish
OK, I think I finished with controllers so tomorrow I'll starting work with models :)
Most helpful comment
Yes I think I can do it but in a few days. Today is my birthday 🎁 and I would like enjoying with my family and friends and later is christmas so, can I do it the next week or something like that? Sorry for inconveniences :) happy to help! Thank you!
PD: I’ll try to look the code and think about how to resolve it :)