Skip to content

bail out of rendering a remote action in the NoChanges view after a rebase - #7199

Merged
shiftkey merged 3 commits into
developmentfrom
hide-remote-action-after-rebase
Apr 3, 2019
Merged

shiftkey merged 3 commits into
developmentfrom
hide-remote-action-after-rebase

Conversation

@shiftkey

@shiftkey shiftkey commented Apr 1, 2019

Copy link
Copy Markdown
Member

Overview

Closes #6990

Description

In #6990 we decided to hide the remote action if the branch had been rebased, to avoid encouraging the user to pull in the remote commits again and messing up their rebased branch.

We have plans post 1.7.0 to iterate on this area and see if we can provide more helpful context after the rebase is completed, but for now we want to keep things simple.

Release notes

Notes: no-notes

@shiftkey shiftkey added the ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Apr 1, 2019
@shiftkey shiftkey added this to the 1.7.0 milestone Apr 1, 2019
@outofambit

Copy link
Copy Markdown
Contributor

do we also need to disable this action in the system menu?

@shiftkey

shiftkey commented Apr 2, 2019

Copy link
Copy Markdown
Member Author

@outofambit

do we also need to disable this action in the system menu?

This has been an ongoing discussion over the last couple of weeks the latest things on our roadmap are:

The reason why we're not specifically looking at disabling menu items now is that this is still a possible thing that you can do from the command line, and we'd like to take a step back and look at these flows more broadly to decide what things should be enabled/disabled.

@outofambit

Copy link
Copy Markdown
Contributor

This has been an ongoing discussion over the last couple of weeks the latest things on our roadmap are:

thanks @shiftkey! this is super helpful! sounds good.

@outofambit outofambit self-assigned this Apr 2, 2019
@shiftkey

shiftkey commented Apr 2, 2019

Copy link
Copy Markdown
Member Author

I'll also call out that we're contemplating having a remote action for this "force push after rebase" but we're holding off on diving into that until we get feedback about the current designs to determine how to iterate on things post-ship.

@shiftkey

shiftkey commented Apr 3, 2019

Copy link
Copy Markdown
Member Author

@outofambit I'm going to merge this in a bit early to keep on top of landing things for the next beta

@shiftkey
shiftkey merged commit cbac189 into development Apr 3, 2019
@shiftkey
shiftkey deleted the hide-remote-action-after-rebase branch April 3, 2019 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review Pull Requests that are ready to be reviewed by the maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants