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

Fix comment cloning promise so it only resolves when done #192

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

djahandarie
Copy link

@djahandarie djahandarie commented Mar 5, 2023

(This is a stacked PR on top of #188 ~ #191)

Currently the "Go to original repo's issue list after cloning" functionality doesn't quite work in conjunction with "Copy comments when cloning issue", because the promise in cloneOldIssueComments resolved too early and the redirect would cause remaining requests to get aborted.

This PR fixes it so the comment cloning promise only resolves when the final comment XHR request finishes.

@johnmurphy01
Copy link
Contributor

@djahandarie I have just merged in my PR that updates quite a bit of the main code file and also brings the google chrome extension manifest version to 3. If you would still like, please rebase and make the changes against the new codebase. Much appreciated

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.

None yet

2 participants