Skip to content

Conversation

@wandersoncferreira
Copy link
Collaborator

@wandersoncferreira wandersoncferreira commented Oct 3, 2021

I was able to make this first version work for replying to inline comments, however I need to clear the code and make it more robust. The only thing I noticed that is causing some errors in some pages is that pos computed by our algorithm does not always match originalPosition returned by Github GraphQL API for a given comment.

In my initial design this is necessary to build a lookup table (github-review-pos->databaseid) to index the databaseID of the comment that we will be replying to. I will dig more into it, this PR is a working in progress.

This issue seems related to outdated information in the PR/review API. The position field for some review comments are updated, but others are returned as null. :/

Note: This build on top of #79 so commits are duplicated here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant