-
Notifications
You must be signed in to change notification settings - Fork 331
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement ui to support multiple remotes #1146
Merged
Merged
Changes from 23 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
261c15e
implement name-url pair for adding remote repo
BoscoCHW c1e6e90
implement name-url pair for adding remote repo
BoscoCHW 75c9628
Merge branch 'issue-234' of github.com:BoscoCHW/jupyterlab-git into i…
BoscoCHW 2b0987b
Style Add Remote form
BoscoCHW b40ba77
show existing remote on add remote form
BoscoCHW ae6785f
Implement backend api to show remote url info
BoscoCHW f2287fd
Refactor remote_show function to handle verbose case
BoscoCHW 5af1c3b
Implement remote dialog box using React
BoscoCHW eda196a
Style remote dialog
BoscoCHW fd7451a
Add remove remote button
BoscoCHW f6b1da6
Implement backend to remove remote
BoscoCHW 7b205d9
Document codes
BoscoCHW b8588a9
Show push remote url only
BoscoCHW c009874
Implement pushing options for multiple remotes
BoscoCHW 1f7bac9
Change GitRemoteDetailsShowHandler successful code
BoscoCHW b085bbc
Attempting to implement the DELETE method for removing a remote
BoscoCHW afb6e9e
style existing remote list with the grid api
BoscoCHW 99df0f3
Fix git remote remove route bug
BoscoCHW 5e505c0
Implement advanced push dialog box
BoscoCHW f077fc0
Show remote url in advanced push dialog and increase text font size
BoscoCHW dd214d7
Move dialog action buttons to just below input fields and display mes…
BoscoCHW 30fdc42
Display loading message when getting remote information and handle no…
BoscoCHW 386bf3b
Add tests for remote_show and remote_remove
BoscoCHW 94f3f10
Remove cancel button from add remote dialog
BoscoCHW 651ef2e
Change command gitAddRemote to gitManageRemote
BoscoCHW 9f3ee72
Rename files to reflect command name 'ManageRemote'
BoscoCHW ecff43a
Refactor manageRemote command to let the dialog handle the adding and…
BoscoCHW 1618609
Comment out tests for addRemote command
BoscoCHW 9c686a4
Remove test for git:add-remote command
BoscoCHW c799be3
Add tests for component 'ManageRemoteDialogue'
BoscoCHW File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's refactor this a bit. Would you mind renaming the
gitAddRemote
command to begitManageRemote
.We then should remove the ability to pass args to the
execute
method. Then in the dialog we should do the addition without closing the dialog. So the dialog is respecting its contract of management not of single action.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Renamed the command to gitManageRemote and disabled arguments for the command.
To-do:
Implement adding a new remote without closing the dialog