Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Pull Request status circle - #2145

Merged
StanleyGoldman merged 12 commits into
masterfrom
pull-request-status-circle
Feb 1, 2019
Merged

StanleyGoldman merged 12 commits into
masterfrom
pull-request-status-circle

Conversation

@StanleyGoldman

@StanleyGoldman StanleyGoldman commented Dec 19, 2018 •

Copy link
Copy Markdown
Contributor

My attempt to emulate this in Xaml

image

TODO:

  • Get love from @donokuda
  • Remove the summary checks from the View Model, if we decide not to use it

IMAGE:
image

@jcansdale

Copy link
Copy Markdown
Collaborator

I'd love to see some indication of whether the pull request is in a merge-able state. At the moment we know that ✔️ is definitely and ❌ is definitely not merge-able (assuming any restrictions are in place).

Where we see a doughnut (💭 mmm doughnuts), we have no way of knowing whether the pull request is in a merge-able state.

Crazy idea, could we color the center of the doughnut green or red, when we know the pull request is definitely merge-able or not merge-able? 😄

@donokuda

donokuda commented Jan 11, 2019 •

Copy link
Copy Markdown
Contributor

I pushed a small tweak adjusting the thickness of the donut chart so that it's closer to the line thickness of the octicons:

screen shot 2019-01-10 at 4 34 57 pm

This looks good to be merged in.

I'd love to see some indication of whether the pull request is in a merge-able state. At the moment we know that ✔️ is definitely and ❌ is definitely not merge-able (assuming any restrictions are in place).

Crazy idea, could we color the center of the doughnut green or red, when we know the pull request is definitely merge-able or not merge-able?

@jcansdale I'm hesitant on adding more information since we'll need to come up with an approach that's clear and can fit in the limited amount of space that we have. I struggled with this a bit with the annotation markers; and in the spirit of moving this pull request forward, I think it's best better to punt at this time.

Would you be open to showing this type of information in the pull request detail view / sidebar? That way, we can breakdown why a branch isn't mergeable (out of date, review needed, required checks, etc) and guide developers to fix it:

image

@StanleyGoldman StanleyGoldman changed the title [WIP] Adding a Pull Request status circle User Control Jan 13, 2019
@StanleyGoldman StanleyGoldman removed their assignment Jan 13, 2019
@meaghanlewis meaghanlewis added this to the 2.7.1 milestone Jan 14, 2019

@grokys grokys left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks great in general. Just a problem with how you're doing dependency properties.

@StanleyGoldman
StanleyGoldman merged commit 7a69a15 into master Feb 1, 2019
@StanleyGoldman
StanleyGoldman deleted the pull-request-status-circle branch February 1, 2019 14:02
@jcansdale jcansdale changed the title Adding a Pull Request status circle User Control Feb 11, 2019
@StanleyGoldman StanleyGoldman changed the title Show a Pull Request status circle Feb 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

5 participants