Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 426782

Summary: Change to Deploy button behavior
Product: [ECD] Orion Reporter: Szymon Brandys <Szymon.Brandys>
Component: DeploymentAssignee: Malgorzata Janczarska <malgorzata.tomczyk>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ken_walker
Version: unspecified   
Target Milestone: 5.0 RC1   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on: 426783    
Bug Blocks:    

Description Szymon Brandys CLA 2014-01-28 07:22:28 EST
What we have:
- Deploy button opens a dropdown when you can select from existing launch confs or create a new one

What we want:
- Deploy button is replaced with Deploy button with 'v' button
- 'v' opens a dropdown when you can select from existing launch confs or create a new one
- last run launch conf is the default conf, default conf is stored in user prefs
- when Deploy is clicked, the default (last run) conf is triggered
Comment 1 Malgorzata Janczarska CLA 2014-01-30 13:08:48 EST
This is done, those are the rule:
1. If there is only one saved launch configuration this is the default
2. If there is no launch configuration and only one deploy action, this is the default
3. When user runs any deploy action this makes it the default
4. When launch configuration is save it's made the default
5. If none of above applies there is no default action and user has to choose

Points 3 and 4 are held in session storage, so they are cleaned when user closes the browser (inspired by saving expanded nodes in explorer)