-
-
Notifications
You must be signed in to change notification settings - Fork 27
Add isClosedConversation
#120
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
Conversation
You're right, we're always using it as an exclusion on PRs that already have PR-only include anyway. Can you deprecate We can drop |
|
Random.... Online editor is Awesome!! Love the |
|
🚀 ? |
isClosedPRisClosedConversation
index.ts
Outdated
| export const isClosedConversation = (): boolean => exists('#partial-discussion-header :is([title="Status: Closed"], [title="Status: Merged"], [title="Status: Closed as not planned]")'); | ||
| /** | ||
| @deprecated Use isClosedConversation | ||
| */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/** */ also works on one line
isClosedConversationisClosedConversation
yakov116
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One line
|
Um this PR makes GitHub crash 🎉. Maybe the |
Yup |
|
Ouch I see why... |
| export const isOpenPR = (): boolean => exists('#partial-discussion-header [title="Status: Open"], #partial-discussion-header [title="Status: Draft"]'); | ||
| export const isMergedPR = (): boolean => exists('#partial-discussion-header [title="Status: Merged"]'); | ||
| export const isClosedPR = (): boolean => exists('#partial-discussion-header [title="Status: Closed"], #partial-discussion-header [title="Status: Merged"]'); | ||
| export const isClosedConversation = (): boolean => exists('#partial-discussion-header :is([title="Status: Closed"], [title="Status: Merged"], [title="Status: Closed as not planned]")'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops
Really this should be renamed to
isClosedConversationbut...