Repository navigation
Move "Add Repository" into the Repositories foldout - #863
Conversation
|
I believe this is ready 🙏 |
|
Needs a merge |
|
🌋 |
niik
left a comment
There was a problem hiding this comment.
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.
| @@ -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.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| .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.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
|
||
| .octicon { | ||
| // Some room between the icon and repository name | ||
| margin-right: 5px; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| margin-top: var(--spacing); | ||
| .repository-group-label { | ||
| opacity: 0.6; | ||
| padding: 0 5px 0 20px; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| } | ||
|
|
||
| .arrow { | ||
| float: right; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| readonly expanded?: boolean | ||
|
|
||
| /** The title of the button. */ | ||
| readonly children?: string |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| return ( | ||
| <div> | ||
| <div id='add-repository'> | ||
| <nav className='popup-navigation'> |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
🧀 |
Appveyor seems to be having trouble reaching Dropbox, but otherwise this is good to go. |
Fixes #730