Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349304 - [client] Href commands should be rendered differently than other commands
Summary: [client] Href commands should be rendered differently than other commands
Status: CLOSED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 0.2   Edit
Assignee: libing wang CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-14 07:47 EDT by Szymon Brandys CLA
Modified: 2011-09-01 11:42 EDT (History)
3 users (show)

See Also:


Attachments
Href commands and other commands on Git Status page (7.23 KB, image/png)
2011-06-14 07:48 EDT, Szymon Brandys CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Szymon Brandys CLA 2011-06-14 07:47:49 EDT
Let's look at the git status page. There is "Recent commits on >origin/master< >Fetch< >Merge<" over the second git-log. >origin/master< is a real link and >Fetch< >Merge< just trigger some action. In the object menu we show Href commands in blue and others in black. Shouldn't we have similar distinction for commands in the rest of UI? Otherwise people may be surprised that clicking on >Fetch< starts a real operation instated of taking them to a page where they can perform a push operation.
Comment 1 Szymon Brandys CLA 2011-06-14 07:48:56 EDT
Created attachment 197945 [details]
Href commands and other commands on Git Status page
Comment 2 Boris Bokowski CLA 2011-06-14 08:56:38 EDT
I agree. I see two options:

1. Use a regular push button, consistent with the "Commit" button that is already on the page.
2. Put the action into the dark background toolbar, similar to other pages.

I don't have a strong opinion, option 1 would probably the one with the least amount of code changes.
Comment 3 Susan McCourt CLA 2011-06-14 13:30:21 EDT
(In reply to comment #2)
> I agree. I see two options:
> 
> 1. Use a regular push button, consistent with the "Commit" button that is
> already on the page.
> 2. Put the action into the dark background toolbar, similar to other pages.
> 
> I don't have a strong opinion, option 1 would probably the one with the least
> amount of code changes.

+1.
From a command framework point of view, the href commands always appear in the expected command places (dark toolbar, actions column) so there's no doubt.  Once we start placing commands in the UI in other places, especially mixed with links, we need something more.

Which one is less code depends on whether these are currently being placed by the command framework or directly by the page.  Libing can decide (ping me if there is some framework issue here)...
Comment 4 Susan McCourt CLA 2011-06-15 11:12:07 EDT
Talked to Libing.
The most expedient thing to do here is change the commands to images rather than links, then they stand out as more button-like and have the same behavior as the images in the action column.

We will also add command.tooltip tooltips so that we can use more task-oriented words.
Comment 5 Susan McCourt CLA 2011-06-15 13:50:12 EDT
reviewed with Libing and ran it remotely.  (Cool.)
+1
Comment 6 libing wang CLA 2011-06-15 14:06:11 EDT
fixed with 8bead786054c8dc722c596a7a0abfae2df2716ef.