Skip to content
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

Reactions #25

Open
housseindjirdeh opened this issue Jul 12, 2017 · 8 comments
Open

Reactions #25

housseindjirdeh opened this issue Jul 12, 2017 · 8 comments
Assignees

Comments

@housseindjirdeh
Copy link
Member

So I spent a bit of time some while ago working on adding reactions. This is all in the with-reactions branch of the repo. Keep in mind this is a much older branch and there have been a lot of changes since than on master, but I feel we can port our logic from there when we're ready.

This is what I had working:

gitpoint-reactions

You'll notice Slack inspiration there :P

An important thing to point out is that the Reactions APIs are still in development preview. Definitely worth discussing if we wouldn't mind including it now and changing it in the future or if that's not the safest option just yet.

Looking forward to having this rolled out eventually. Discussions/contributions are always welcome :)

@SammyIsra
Copy link
Member

Since we are moving to GraphQL, this is worth taking a look at https://developer.github.com/v4/reference/mutation/addreaction/

image

Also, getting the reactions seems also somewhat intuitive with GraphQL. Altho the end result seems a bit messy, but I am sure we can work with it!

@RolfKoenders
Copy link
Member

That looks really nice @housseindjirdeh!

@housseindjirdeh
Copy link
Member Author

Thanks @RolfKoenders :)

Nice thank you @SammyIsra - with REST things were quite messy and I really think this can be something we can integrate after we have GraphQL integrated.

@housseindjirdeh
Copy link
Member Author

That being said - looking at the documentation for API v4 I don't see a mention of reactions being in preview mode like it is in the REST docs. @SammyIsra do you know if we need a preview URL or something of that sort to access reactions with GraphQL?

@andrewda
Copy link
Member

@housseindjirdeh No developer preview header is needed for reactions in API v4, it's all implemented and standard 👍

@housseindjirdeh
Copy link
Member Author

OMG OMG OMG

Time to make the move to GraphQL :)

@housseindjirdeh housseindjirdeh added this to To Do in v1.5.0 Dec 19, 2017
@housseindjirdeh housseindjirdeh self-assigned this Dec 19, 2017
@housseindjirdeh
Copy link
Member Author

If it's okay with everyone - I'll like to take this on and tackle it over Christmas break and start my first stab at using GraphQL :)

@andrewda
Copy link
Member

andrewda commented Dec 19, 2017

👏 1.5 is going to be a good one!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Roadmap
Future Releases (but the sooner the b...
v1.5.0
To Do
Development

No branches or pull requests

4 participants