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

Restore swap-branches-on-compare #6457

Merged
merged 5 commits into from
Apr 9, 2023
Merged

Restore swap-branches-on-compare #6457

merged 5 commits into from
Apr 9, 2023

Conversation

kidonng
Copy link
Member

@kidonng kidonng commented Apr 6, 2023

Fix #6361

Test URLs

23.2.1...main

Screenshot

截屏2023-04-06 19 52 55

@kidonng kidonng added the bug label Apr 6, 2023
@fregante
Copy link
Member

fregante commented Apr 6, 2023

Thanks for the PR!

I noticed you sent this before my last comment. How do you feel about this?

Screenshot 10

Or maybe .btn-octicon to match the other icon colors:

Screenshot 12

@fregante fregante changed the title Fix swap-branches-on-compare Restore swap-branches-on-compare Apr 6, 2023
@kidonng
Copy link
Member Author

kidonng commented Apr 6, 2023

Yeah a button works too, in that case there's no need to hide it.

Copy link
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.

LGTM, I'm just afraid that it steals too much attention with a regular button style. Don't like btn-octicon?

@kidonng
Copy link
Member Author

kidonng commented Apr 9, 2023

Because it is... not an icon? Looks too weird and not something clickable to me.

@kidonng kidonng merged commit a796273 into main Apr 9, 2023
9 checks passed
@kidonng kidonng deleted the swap-branches-on-compare branch April 9, 2023 10:43
@grahamperrin
Copy link

Hey, thanks!

A few times, before this feature reappeared, I clicked the three dots beneath the arrow (between the two things to be compared), imagining that a menu would appear with Swap amongst its options. Oops.

@kidonng
Copy link
Member Author

kidonng commented Apr 12, 2023

The three dots link is a nice touch nonetheless, it just happened to break our feature.

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.

swap-branches-on-compare broken
3 participants