Skip to content

Create branch polish - #1284

Merged
joshaber merged 42 commits into
masterfrom
create-branch-polish
Apr 25, 2017
Merged

joshaber merged 42 commits into
masterfrom
create-branch-polish

Conversation

@niik

@niik niik commented Apr 24, 2017 •

Copy link
Copy Markdown
Member

This introduces a new component, a vertically oriented segmented control as outlined in my mocks in #1137. The component is keyboard accessible and labeled for consumption by screen readers (tested with NVDA).

image

Fixes #1137

@niik niik added the ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Apr 24, 2017
@niik niik removed the ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Apr 25, 2017
@niik

niik commented Apr 25, 2017

Copy link
Copy Markdown
Member Author

This is ready for review

@joshaber

Copy link
Copy Markdown
Contributor

Looks like some legit lint gripes happening.

@joshaber joshaber self-assigned this Apr 25, 2017

@joshaber joshaber 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.

🚏

Comment thread app/src/ui/create-branch/index.tsx Outdated
readonly allBranches: ReadonlyArray<Branch>
}

type StartPoint = 'current-branch' | 'default-branch' | 'HEAD'

This comment was marked as spam.

This comment was marked as spam.

Comment thread app/src/ui/create-branch/index.tsx Outdated
const items = [
{
title: defaultBranch.name,
description: 'The default branch in your repository. Pick this to start on a new project.',

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

Comment thread app/src/ui/create-branch/index.tsx Outdated
}

private onBaseBranchChanged = (selectedIndex: number) => {
if (selectedIndex === 0) {

This comment was marked as spam.

@joshaber joshaber added the ready-for-review Pull Requests that are ready to be reviewed by the maintainers label Apr 25, 2017
@niik

niik commented Apr 25, 2017

Copy link
Copy Markdown
Member Author

@joshaber Let's give this another go

image

@joshaber
joshaber merged commit fa9a5db into master Apr 25, 2017
@joshaber
joshaber deleted the create-branch-polish branch April 25, 2017 17:57
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