Skip to content

unwrap-unnecessary-dropdowns - Support "Resolve conflicts"#9367

Merged
SunsetTechuila merged 13 commits into
mainfrom
unwrap-resolve
May 7, 2026
Merged

unwrap-unnecessary-dropdowns - Support "Resolve conflicts"#9367
SunsetTechuila merged 13 commits into
mainfrom
unwrap-resolve

Conversation

@SunsetTechuila
Copy link
Copy Markdown
Member

@SunsetTechuila SunsetTechuila commented May 7, 2026

Resolves #9208

Test URLs

refined-github/sandbox#82

Screenshot

image

@SunsetTechuila SunsetTechuila changed the title Unwrap resolve update-pr-from-base-branch - Replace native button May 7, 2026
@SunsetTechuila SunsetTechuila changed the title update-pr-from-base-branch - Replace native button unwrap-unnecessary-dropdowns - Support "Resolve conflicts" May 7, 2026
Copy link
Copy Markdown
Member

@fregante fregante left a comment

Choose a reason for hiding this comment

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

YOLO

Comment thread source/features/unwrap-unnecessary-dropdowns.tsx

function insertCopilotInstruction(): void {
const textarea = $(prCommentField);
setFieldText(textarea, '@copilot resolve the merge conflicts in this pull request');
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The native button just erases the history btw

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Too bad if you clicked it out of curiosity after writing a comment

@SunsetTechuila
Copy link
Copy Markdown
Member Author

SunsetTechuila commented May 7, 2026

Screenshot needs to be updated 😒

@SunsetTechuila
Copy link
Copy Markdown
Member Author

I'll do that in #9368

Comment thread source/features/unwrap-unnecessary-dropdowns.tsx Outdated
Comment thread source/features/unwrap-unnecessary-dropdowns.tsx Outdated
Comment on lines +64 to +74
<a
className="Button--secondary Button--medium Button"
href={`${location.pathname}/conflicts`}
type="button"
>
<span className="Button-content">
<span className="Button-label">
Resolve conflicts
</span>
</span>
</a>
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I will create a createButton helper in a separate PR

@SunsetTechuila
Copy link
Copy Markdown
Member Author

@copilot resolve the merge conflicts in this pull request

Co-authored-by: SunsetTechuila <115353812+SunsetTechuila@users.noreply.github.com>
@SunsetTechuila
Copy link
Copy Markdown
Member Author

The button is automatically removed once the conflict is resolved, nice

This comment was marked as low quality.

@refined-github refined-github deleted a comment from Copilot AI May 7, 2026
@SunsetTechuila SunsetTechuila merged commit e449dfc into main May 7, 2026
10 checks passed
@SunsetTechuila SunsetTechuila deleted the unwrap-resolve branch May 7, 2026 21:59
@fregante
Copy link
Copy Markdown
Member

Looks fantastic 😍

Screenshot 25

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

Development

Successfully merging this pull request may close these issues.

Unwrap "Resolve conflicts" dropdown

3 participants