Closed atherdon closed 5 years ago
I apologize for my ignorance but I didn't find the @TODO mark at src/projects
@atherdon
:( how did you look? you can do it by hands, not by search. it'll also help you to understand the project better
😅 okay I checked the @TODO
marks in src/projects
so what can I do next
put on your task 10 todo`s and we'll pick first one to work on it. for each todo, please add a codeline - so i can easily view them
https://github.com/GroceriStar/groceristar-fetch/blob/5c5ec2d6c428c07e63bc53cccd63120975752164/src/projects/ChickenKyiv/chickenKyiv.js#L37 I will begin with this because I think it is the easiest
hold on. re-read my comment carefully.
Do you want me to list all the 10 todo's with its code lines or what you mean exactly
yes, put here 10 todo`s
When you'll put that list here, you can start to work
groceristar-fetch/src/projects/ChickenKyiv/chickenKyiv.js
Line 37 in 5c5ec2d
created_at: Date(), // @TODO we have a module day.js use it instead I will begin with this because I think it is the easiest
Please fix it, but in order to make it work as we need, please check how we handle it here: https://github.com/GroceriStar/groceristar-fetch/blob/master/src/projects/GraphQL/graphQL.js#L3 https://github.com/GroceriStar/groceristar-fetch/blob/master/src/projects/GraphQL/graphQL.js#L105-L114
thanks, just small note - it's better to use codeline from main repo - just in case if other developers change something. But for now it's ok. feel free and complete that first todo and open pull request with your changes to our repository
did you update code, related to all ten @todos?
just want to keep hand on pulse
😓 I'm still stuck in some of them
then tell me which one and i'll help you. I made that comments for myself, so it can be confusing for sure. And actually we made a lot of progress nowadays, so some comments can be outdated as well
in the todo number 7 does the functions 'getAllDepartmentsWithId', 'getAllIngredientsWithId' used in other projects? I can make one generic function that does both tasks but I'm afraid to break things in other projects that use this functions
The easiest way is:
1) create one major function. and just call it at getAllDepartmentsWithId
, getAllIngredientsWithId
2) Create a separated issue, that will explain the problem(you can copy your comment) and I'll forward this task to some other team member, that have knowledge about it.
and yeah - moving carefully is a good thing, because this module and our projects evolving, so back compatibility is an important thing for us
I made a pull request for other todos but number 4,10 I didn't figure out how to update them.
ok, so 4 and 10 left, right?
did you create a separated task for https://github.com/GroceriStar/groceristar-fetch/issues/324?
https://github.com/EbrahimKreem/groceristar-fetch/blob/5c5ec2d6c428c07e63bc53cccd63120975752164/src/projects/ChickenKyiv/chickenKyiv.js#L98 Here all is simple. For most of our cases - we just want to have a few recipes(five). But i think it's better to have more advanced function, where we can decide ourself - how much element we should have. I also think that these method can be useful in other projects too, so maybe it's better to move a newest version to the helper.js file.
https://github.com/EbrahimKreem/groceristar-fetch/blob/5c5ec2d6c428c07e63bc53cccd63120975752164/src/projects/Search/search.js#L182 A method like this we're using for displaying select fields. and as it's not a very simple topic - I want to add a test, that can cover this situation. Not sure if you need to work on it. But learning how tests works is a good skill. So it's upon your choice.
- https://github.com/EbrahimKreem/groceristar-fetch/blob/5c5ec2d6c428c07e63bc53cccd63120975752164/src/projects/ChickenKyiv/chickenKyiv.js#L98 Here all is simple. For most of our cases - we just want to have a few recipes(five). But i think it's better to have more advanced function, where we can decide ourself - how much element we should have. I also think that these method can be useful in other projects too, so maybe it's better to move a newest version to the helper.js file.
- https://github.com/EbrahimKreem/groceristar-fetch/blob/5c5ec2d6c428c07e63bc53cccd63120975752164/src/projects/Search/search.js#L182 A method like this we're using for displaying select fields. and as it's not a very simple topic - I want to add a test, that can cover this situation. Not sure if you need to work on it. But learning how tests works is a good skill. So it's upon your choice.
okay I will do my best
did you create a separated task for #324?
what I didn't understand 😅
ok, i'll do it for you. btw, you can continue with other todos - post a next part here and add your questions, so i can help you
I'm really confused about the todo number four, not because the implementation of the function but there is a method called getNRecipes
that do the work so should I update the getFirstFiveRecipes
method to accept a number in order to change the number of recipes that we can return or update the getNRecipes
method
ok, give me some time to think about it. what about workin on a next set of @todos that we have?
when we'll clean up this module from todos and module will work fine at our projects - i'll assign a cool task to you. I think you'll like it
ok, give me some time to think about it. what about workin on a next set of @todos that we have? …
ok
Hi @atherdon, I looked to the custom structures generator [Main task]
so is there any tasks for me
@EbrahimKreem Hi! I have a task for you https://github.com/GroceriStar/sd/issues/233
@vadim9999 can we close this task?
You need to read readme file: https://github.com/GroceriStar/groceristar-fetch/blob/master/README.md it also contains links to articles, where I explaining some details. If something will be not clear - don't hesitate and ask questions.
Tasks, that you can take(feel free to ask clarification if something is not clear)
@TODO
mark that we have atsrc/projects
and let's discuss with me what todo next. @EbrahimKreem