Bug 353608 - Team > Share Wizard tries to move project into existing project
Summary: Team > Share Wizard tries to move project into existing project
Status: NEW
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 1.0   Edit
Hardware: All All
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 356953
Blocks:
  Show dependency tree
 
Reported: 2011-08-02 11:37 EDT by Jan Sievers CLA
Modified: 2015-02-10 08:42 EST (History)
3 users (show)

See Also:


Attachments
wrong error message (30.64 KB, image/png)
2011-08-02 11:37 EDT, Jan Sievers CLA
no flags Details
four-line confusing tooltip (18.37 KB, image/png)
2011-08-02 11:39 EDT, Jan Sievers CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Sievers CLA 2011-08-02 11:37:10 EDT
Created attachment 200732 [details]
wrong error message

I have added a maven module to an existing git repo in a sub-folder.
All other projects in the same git repo are already imported and shared via EGit.
I import the new maven project and try to use Team > Share.

After selecting the repository in the parent folder, I get the wrong error message " Can not move project nexus-staging-plugin to target location C:\git\sap_git\releasetools\nexus-staging-plugin, as this location overlaps with location C:\git\sap_git\releasetools, which contains a .project file"

There is nothing to move here, the project stays where it is since source and target folder are the same (see screenshot).

I would have expected the UI to simply ask me if I would like to use the existing git repository in the parent folder? yes -> Finish. This was much easier in previous EGit versions.

After some trying around I found that if I check "Use or Create Repository in Parent Folder of Project", the import works.

It seems like the straightforward scenario of sharing a project in a subfolder of an existing git repo has been rendered almost unusable. Why am I confronted with the complexity of moving projects if I didn't explicitly ask for it?

Other usability issues in this wizard:

- checkbox "Use or Create Repository..." displays a four-line tooltip (see screenshot) telling me "... this is not recommended for several reasons mentioned in the EGit user guide" -- what's the point? Nobody will read a four-line tooltip.

- when I click checkbox "Use or Create Repository...", the complete wizard page is exchanged on the fly. If there is a choice to make (either move project or reuse existing git repository), there should be radio buttons on the first page, I make my choice and press Next to get to the specific wizard page (if necessary). This would move all the complicated move UI out of the initial wizard page which makes it confusing.
Comment 1 Jan Sievers CLA 2011-08-02 11:39:37 EDT
Created attachment 200734 [details]
four-line confusing tooltip
Comment 2 Tobias Oberlies CLA 2011-09-02 09:35:06 EDT
(In reply to comment #0)
> It seems like the straightforward scenario of sharing a project in a subfolder
> of an existing git repo has been rendered almost unusable. Why am I confronted
> with the complexity of moving projects if I didn't explicitly ask for it?

I am sharing the frustration of Jan. I can understand that EGit has some legacy UIs that need to be reworked - and that takes time. But this is a new "feature"!! And still the UI could barely be worse...