Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 322851 - SelectSynchronizeResourceDialog needs sane defaults
Summary: SelectSynchronizeResourceDialog needs sane defaults
Status: RESOLVED FIXED
Alias: None
Product: EGit
Classification: Technology
Component: UI (show other bugs)
Version: 0.9.0   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: 0.9.0-M2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-16 18:00 EDT by Chris Aniszczyk CLA
Modified: 2010-08-30 08:59 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Aniszczyk CLA 2010-08-16 18:00:31 EDT
At the moment, when I right click a project in Eclipse and select 'Synchronize' I get the SelectSynchronizeResourceDialog to poup and ask me for source and destination information. These fields should be populated with sane defaults like the local repository and the current branch. The destination should be most likely origin/master.
Comment 1 Dariusz Luksza CLA 2010-08-16 18:23:25 EDT
Maybe the better approach for this problem would be having two synchronize actions. The first one would be called 'Synchronize' and would perform synchronization operation for current HEAD and origin/master (including local changes). Second one would be 'Synchronize with...' and here we would have SelectSynchronizeResourceDialog ideally with saved last chosen configuration.

This approach is more complicated but IMHO it would be more user friendly.
Comment 2 Chris Aniszczyk CLA 2010-08-16 18:35:54 EDT
Well we can start with the dialog having sane defaults for now.

I'm not sure about taking up menu space with another synchronize related item. The menu is already getting busy :)
Comment 3 Dariusz Luksza CLA 2010-08-16 19:36:12 EDT
Wheel we can discuss how we could reorganize 'Team' menu entry. But for now we can just preset default values as you suggested. Here is a change set for this:
http://egit.eclipse.org/r/1321
Comment 4 Matthias Sohn CLA 2010-08-17 07:45:24 EDT
merged as ad9304982526131ba7664a75dc581360248000a4