hexagon icon indicating copy to clipboard operation
hexagon copied to clipboard

TODO Hunting

Open jaguililla opened this issue 3 years ago • 11 comments

The code has hidden tasks, lingering among the source files... Waiting for someone to tackle them.

Would you be the brave developer to finish them?

This issue is an everlasting effort to clean the code of small tasks here and there. It won't be ever finished and stay on the 'Working' column potentially forever.

If you want to close a TODO, please reference this issue in the PR.

Most of the tasks are not long, but they don't provide much detail, feel free to ask in the comments of this issue for information.

TODO tasks are not second class citizens, bear in mind that working on them would also imply coding the proper tests (or modifying existing ones) and documenting the changes accordingly.

It's easy to discover pending tasks hidden in the code, you just have to search 'TODO', 'FIXME'... or 'WTF'.

Good luck, and ask anything you need!

jaguililla avatar Mar 19 '21 15:03 jaguililla

Hey @jaguililla - I would like to work on few TODO tasks here.

ramyaravindranath avatar May 24 '21 12:05 ramyaravindranath

Thanks for your contribution! I just reviewed your PR, there were only two minor things to mention:

  1. PRs should be done to develop and will be promoted to master after that (merge on master triggers a release).
  2. A minor style issue with a space.

Good job in your first PR, I hope you find the project appealing :)

If you do, you may keep checking TODO issues as they are a good way to learn about the code base. TODOs can be big or small, clear or with missing information... You can always ask me if you need any detail.

Or if you prefer to take other tasks... be my guess, in one or two weeks I'll add new items to the backlog.

Thanks again, and happy coding!

jaguililla avatar May 25 '21 21:05 jaguililla

Thanks for the feedback. I Will keep in mind to send my PRs for develop. I will keep going with TODOs for now :)

ramyaravindranath avatar May 26 '21 01:05 ramyaravindranath

can i work on this issue ?

Rishavgupta12345 avatar Sep 30 '21 06:09 Rishavgupta12345

Sure! Thanks for your support :)

Please, don't make long PRs, you can make a PR per TODO solved.

I won't assign the task to you as many people can be fixing different TODOs, I will ask you to put a comment with the TODO comment you plan to take to avoid conflicts.

Thanks again... and happy coding!

jaguililla avatar Sep 30 '21 19:09 jaguililla

can i work on this ?

Rishavgupta12345 avatar Oct 04 '21 06:10 Rishavgupta12345

Absolutely @Rishavgupta12345 just be sure to put a comment with the items you will be working on (for coordination sake). Thanks!

jaguililla avatar Oct 04 '21 06:10 jaguililla

I would be interested in helping on some TODO's here!

JordanllHarper avatar Aug 22 '22 10:08 JordanllHarper

Great!!! Just take a look at the contributing guide, and if you have any question, don't hesitate to ask. Thanks for your help :)

jaguililla avatar Aug 22 '22 21:08 jaguililla

Hey @jaguililla . Hope to find you well.

I've been looking at some TODOs and I came across this one:

https://github.com/hexagonkt/hexagon/blob/bbd24fb1134e03a1c5feea28edc772edeada393d/http/http_client_jetty_ws/src/main/kotlin/com/hexagonkt/http/client/jetty/JettyWebSocketAdapter.kt#L24

Can you please elaborate a little bit further? I assumed you wrote (messages probably arriving here) because they both (onPing and onPong) use a ByteArray as payload and the only receiver with ByteArray payload is onWebSocketBinary, but when I executed a test invoking the ping or pong on the client, it did not reached method onWebSocketBinary... Maybe nothing has to be done here? or I'm not understanding well?

Thank you in advance.

dariro93 avatar Jul 07 '23 01:07 dariro93

Hi @dariro93 , and thanks for checking the project 🙂

Being honest, I can't remember the exact details of the comment.

However, the purpose would be to handle 'onPing' and 'onPong' events by default (if I remember correctly the correct handling is specified in the standard) and allow the user to override those methods in case he/she wants to provide a specific callback.

Do this make the change easier to understand? If not, just let me know and I'll provide the details you want.

Thanks!

jaguililla avatar Jul 07 '23 11:07 jaguililla