paperclip-github-plugin 0.8.10 → 0.8.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/manifest.js +1 -1
- package/dist/ui/index.js +18 -6
- package/dist/ui/index.js.map +4 -4
- package/dist/worker.js +7 -1
- package/package.json +2 -2
package/dist/worker.js
CHANGED
|
@@ -5906,8 +5906,13 @@ function isGitHubPullRequestActionRequiredForSync(pullRequest) {
|
|
|
5906
5906
|
function isGitHubPullRequestPendingExternalWaitForSync(pullRequest) {
|
|
5907
5907
|
return pullRequest.ciState === "unfinished" && !pullRequest.hasUnresolvedReviewThreads && pullRequest.mergeability !== "conflicting" && (pullRequest.mergeStateStatus === "blocked" || pullRequest.mergeStateStatus === "unstable");
|
|
5908
5908
|
}
|
|
5909
|
+
function isGitHubPullRequestBlockedMaintainerApprovalWaitForSync(pullRequest) {
|
|
5910
|
+
return pullRequest.ciState === "green" && !pullRequest.hasUnresolvedReviewThreads && pullRequest.mergeability !== "conflicting" && pullRequest.mergeStateStatus === "blocked" && (pullRequest.reviewDecision === "unknown" || pullRequest.reviewDecision === "review_required");
|
|
5911
|
+
}
|
|
5909
5912
|
function shouldPreserveBlockedExternalPullRequestWait(params) {
|
|
5910
|
-
return params.currentStatus === "blocked" && params.linkedPullRequests.length > 0 && params.linkedPullRequests.every(
|
|
5913
|
+
return params.currentStatus === "blocked" && params.linkedPullRequests.length > 0 && params.linkedPullRequests.every(
|
|
5914
|
+
(pullRequest) => isGitHubPullRequestPendingExternalWaitForSync(pullRequest) || isGitHubPullRequestBlockedMaintainerApprovalWaitForSync(pullRequest)
|
|
5915
|
+
);
|
|
5911
5916
|
}
|
|
5912
5917
|
function isGitHubPullRequestTransientUnknownMergeabilityWait(pullRequest) {
|
|
5913
5918
|
return pullRequest.ciState === "green" && !pullRequest.hasUnresolvedReviewThreads && pullRequest.mergeability !== "conflicting" && pullRequest.mergeStateStatus === "unknown";
|
|
@@ -15475,6 +15480,7 @@ var __testing = {
|
|
|
15475
15480
|
formatPaperclipApiFetchErrorMessage,
|
|
15476
15481
|
hasUnresolvedPaperclipIssueBlocker,
|
|
15477
15482
|
isHealthyMaintainerWaitTransition,
|
|
15483
|
+
resolvePaperclipPullRequestIssueStatus,
|
|
15478
15484
|
resolveSyncTransitionAssignee
|
|
15479
15485
|
};
|
|
15480
15486
|
var plugin = definePlugin({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "paperclip-github-plugin",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.11",
|
|
4
4
|
"description": "Paperclip plugin for synchronizing GitHub issues into Paperclip projects.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"remark-gfm": "^4.0.1"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@types/node": "24.12.
|
|
52
|
+
"@types/node": "24.12.3",
|
|
53
53
|
"@types/react": "19.2.14",
|
|
54
54
|
"esbuild": "0.28.0",
|
|
55
55
|
"playwright": "1.59.1",
|