Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix sync-pr-commit-title to work with GitHub's auto-merge - #3833

Merged
fregante merged 1 commit into
refined-github:masterfrom
FloEdelmann:fix-sync-pr-commit-title
Dec 27, 2020
Merged

Fix sync-pr-commit-title to work with GitHub's auto-merge#3833
fregante merged 1 commit into
refined-github:masterfrom
FloEdelmann:fix-sync-pr-commit-title

Conversation

@FloEdelmann

Copy link
Copy Markdown
Member

Closes #3829.

Test URLs are quite specific… A PR that you can merge, where some branch restrictions are not met, and where auto-merge is enabled.

Please test both cases:

  1. Auto-merge
    grafik

  2. Override restrictions and merge immediately
    grafik

You don't need to actually merge the PR, just verify that this note appears when changing the commit title:

The title of this PR will be updated to match this title. Cancel

@fregante

Copy link
Copy Markdown
Member

Can you add some screenshots or gifs showing it in action? I don’t see the checkbox in your screenshots.

i see however that “convert to draft” is in the wrong place

@FloEdelmann

Copy link
Copy Markdown
Member Author

I've made two gifs in this PR: OpenLightingProject/open-fixture-library#1651

Without fix (current master)

2020-12-22 08-45-37

With fix (this PR)

2020-12-22 08-46-20


i see however that “convert to draft” is in the wrong place

Indeed, is that added by Refined GitHub? I thought that was a native GitHub feature they didn't consider 😄

Another issue you can see in the gifs is that auto-resizing textareas sometimes have zero height and only expand once you initially click into them.

But both problems are rather minor and should be considered in another issue/PR.

@yakov116 yakov116 added the bug label Dec 22, 2020
@fregante

Copy link
Copy Markdown
Member

Yeah the textarea bug is little old and needs fixing 😬 fregante/fit-textarea#8

@fregante
fregante merged commit 89fc4c9 into refined-github:master Dec 27, 2020
@FloEdelmann
FloEdelmann deleted the fix-sync-pr-commit-title branch December 27, 2020 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

sync-pr-commit-title messing up PR title

3 participants