Skip to content

Move "Add Repository" into the Repositories foldout - #863

Merged
niik merged 24 commits into
masterfrom
so-to-foldouts
Feb 1, 2017
Merged

niik merged 24 commits into
masterfrom
so-to-foldouts

Conversation

@joshaber

Copy link
Copy Markdown
Contributor

Fixes #730

screen shot 2017-01-27 at 1 49 59 pm

@joshaber joshaber changed the title [WIP] Move "Add Repository" into the Repositories foldout Move "Add Repository" into the Repositories foldout Jan 27, 2017
@joshaber

Copy link
Copy Markdown
Contributor Author

I believe this is ready 🙏

@niik niik self-assigned this Jan 30, 2017
@niik

niik commented Jan 30, 2017

Copy link
Copy Markdown
Member

Needs a merge

@joshaber

Copy link
Copy Markdown
Contributor Author

🌋

@niik niik left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This implementation of an expandable section in a foldout differs from that of the branch foldout where branch foldout takes an extra parameter in its Foldout declaration (expandCreateForm) and this uses two separate foldout types (Repository and AddRepository) to achieve the same effect.

I don't have a strong opinion on either direction here but I feel like we should settle on one of the two so either this changes to match the branch or we tweak the branch one to match this.

Comment thread app/styles/ui/_add-repository.scss Outdated
@@ -0,0 +1,10 @@
#add-repository {
width: 350px;
margin-top: var(--spacing-third);

This comment was marked as spam.

This comment was marked as spam.

Comment thread app/styles/ui/_repository-list.scss Outdated
.repository-list-item {

// 20px offset from the window edge
padding: 0 5px 0 20px;

This comment was marked as spam.

This comment was marked as spam.

Comment thread app/styles/ui/_repository-list.scss Outdated

.octicon {
// Some room between the icon and repository name
margin-right: 5px;

This comment was marked as spam.

Comment thread app/styles/ui/_repository-list.scss Outdated
margin-top: var(--spacing);
.repository-group-label {
opacity: 0.6;
padding: 0 5px 0 20px;

This comment was marked as spam.

}

.arrow {
float: right;

This comment was marked as spam.

readonly expanded?: boolean

/** The title of the button. */
readonly children?: string

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

Comment thread app/src/ui/add-repository/index.tsx Outdated
return (
<div>
<div id='add-repository'>
<nav className='popup-navigation'>

This comment was marked as spam.

@joshaber

Copy link
Copy Markdown
Contributor Author

🧀

@joshaber

Copy link
Copy Markdown
Contributor Author
Downloading https://www.dropbox.com/s/ryuoxyjpfu25j4u/git-kitchen-sink-win32-v2.11.0-9.tgz?dl=1 failed: getaddrinfo ENOTFOUND www.dropbox.com www.dropbox.com:443
[email protected] C:\projects\desktop\app

Appveyor seems to be having trouble reaching Dropbox, but otherwise this is good to go.

@niik
niik merged commit 0b8e05d into master Feb 1, 2017
@niik
niik deleted the so-to-foldouts branch February 1, 2017 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants