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

Support new PR view in isMergedPR and isClosedPR #200

Merged
merged 5 commits into from
Nov 4, 2024

Conversation

kovsu
Copy link
Member

@kovsu kovsu commented Nov 4, 2024

No description provided.

index.ts Outdated Show resolved Hide resolved
@kovsu
Copy link
Member Author

kovsu commented Nov 4, 2024

image image

index.ts Outdated Show resolved Hide resolved
const prStateSelector = [
'.State',
'[class^="StateLabel"]',
].join(',');
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
].join(',');
];

If it doesn't work, just update select-dom

Copy link
Member Author

@kovsu kovsu Nov 4, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it works.

image image image

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm referring to dropping .join()

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But it doesn't support string[].

image

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yeah because we're not using select-dom

@fregante fregante added the enhancement New feature or request label Nov 4, 2024
@fregante fregante changed the title Improve isMergedPR and isClosedPR Support new PR view in isMergedPR and isClosedPR Nov 4, 2024
@fregante fregante merged commit c80fd64 into refined-github:main Nov 4, 2024
15 checks passed
@kovsu kovsu deleted the feat-1 branch November 4, 2024 11:58
@fregante
Copy link
Member

fregante commented Nov 5, 2024

Can you also add support for isClosedIssue and any related ones?

@kovsu
Copy link
Member Author

kovsu commented Nov 6, 2024

@fregante 👌

@kovsu
Copy link
Member Author

kovsu commented Nov 6, 2024

I fix below problem in #201 and also support isClosedIssue

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

Successfully merging this pull request may close these issues.

2 participants