Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

'Create Repository' does nothing when there's nothing in tree view #646

Closed
@ungb

Description

@ungb

Open empty atom window

Open the github package ui, you will see the following:

image

Clicking create repository does nothing. We should have the user pick a directory or something to create a new repository.

Versions

Atom Version (atom --version):
Atom : 1.17.0-dev-1e9083d3b
Electron: 1.3.14
Chrome : 52.0.2743.82
Node : 6.5.0

GitHub Package Version (git --git-dir ~/.atom/packages/github/.git rev-parse head):
c860b21

Activity

ungb

ungb commented on Apr 6, 2017

@ungb
Author

seeing error on console:

github-package.js:187Uncaught (in promise) Error: Must specify a project path to create a repository for(…)


added this to the Public Release milestone on Apr 6, 2017
ungb

ungb commented on Apr 6, 2017

@ungb
Author

same with push

image

We should maybe have the same message down here to create a repo.

smashwilson

smashwilson commented on Apr 20, 2017

@smashwilson
Contributor

You'll now see this instead:

screen shot 2017-04-20 at 4 17 03 pm

(Notice the slightly different verbiage.) If you click "create repository," you'll be prompted for a directory name, and if you confirm it'll init that directory and open it as a new project (if it isn't already).

smashwilson

smashwilson commented on Apr 20, 2017

@smashwilson
Contributor

Oops, forgot the cross-reference. This was fixed by #633.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @smashwilson@ungb

        Issue actions

          'Create Repository' does nothing when there's nothing in tree view · Issue #646 · atom/github