-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Move update-pr-from-base-branch
to a more reliable position
#3931
Conversation
Brilliant! Cleaner Code, Much better. I like the look too! 🎉 |
Or else we keep getting the link, because api.v3 is memoized and the dom is regenerated before the API itself clears its cache.
Yeah most of the code there was duplicate or just no longer working. |
Can we do |
Good point, I tried shortening it but it's not super clear. I restored the previous text. And… merged just in time! 21.2.1 coming! |
You stopped it? Why did it not run? |
Any reason it's still referred to as a |
What would you call it? It's not a link, it doesn't link to anything. Maybe the text can be changed to something like "Lets you update the PR with a click" without using "Adds a XXX" every time |
Fixes #3927
Fixes #3699
Replaces #3929
I noticed that the mergeability box varies a lot and it's a pain to cover all the cases reliably. So I just moved the action next to the text that tells we can update it by pushing, which makes sense. Also it helps that this text doesn't change that often.
The only drawback is that it wraps more often than it did before, pushing the box lower by 20px.
cc @yakov116