Created attachment 488 [details] An 'Image details' screen without a primary action looks strange The rules should be as follows: IF no primary action exists AND 'Save as template' exists THEN make 'Save as template' the primary action IF no primary action exists AND 'Save as template' does not exists THEN make 'Build new image' the primary action
Created attachment 489 [details] A different example of 'Image details' screen with no primary action
Hi Belen, the primary action of the 'my image' and 'build detail image' pages had been fixed as below with this patch (http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=6841abd17268a1c1ca5e3634f0ae9e21426ca9c9), please to reivew: 'my image' has three primary action, 'running image' -- supported images with the 'qemu..' type, 'deploy image' -- supported images with not 'qemu..' type, and the constaintly primary action 'build new image', user can't open the image we don't supported, and in 'my image' page user can't allow to selected the tar package, so no need to care this case. 'build detail image' page only show the latest build successful image and corresponding tar package, and it has four primary actions, 'running image','deploy image' ,'build new image' and 'Save as template', user can't select related tar package as similarly.
above patch I listed, I think it cover this bug.
Created attachment 508 [details] noprimaryaction.png Hi Liming, Has the patch you mention been merged to the master branch? I can still find examples of screens with no primary actions (see attachment called noprimaryaction.png) Thanks! Belen
Created attachment 517 [details] no-primary-action-17May2012.png Hi Liming, This is not fixed, I'm afraid :( Have a look at the attachment called no-primary-action-17May2012.png I've built an image for atom-pc. The output does not include a live image, so the deploy button does not display. According to the principles outlined in the bug, 'Save as template' should have become the primary action on the screen. Let me know if you have any questions. Cheers Belen
Explanation of why I am reopening the file in the previous comment.
please to review, this patch had be merged to poky/master http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=644b30adfb8fb158a253712033f717aadf6f2c68 this one to fixed a issue related to this bug. http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=limx/hob-bug-fixes-continue&id=e542927a55e5ef77e6f84ef78eea634a453e4602
Created attachment 536 [details] no-primary-action-25May.png Sorry, Liming: still not fixed. See attached file 'no-primary-action-25may.png' This screen should follow this rules: IF no primary action exists AND 'Save as template' does not exists THEN make 'Build new image' the primary action This means that 'Build new image' should be on the right hand side of the screen and should be orange. Let me know if you have any questions. Belen
Hi Belen, I had added a new patch for this issue, please to review.http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=limx/hob-bug-fixes-continue
Created attachment 552 [details] no-primary-action-29May.png Sorry, Liming: still not fixed (see no-primary-action-29May.png)
Sorry, Liming: my mistake. This is now fixed :) Once the patch is merged I'll verify it. Thanks! Belen (In reply to comment #10) > Created attachment 552 [details] > no-primary-action-29May.png > > Sorry, Liming: still not fixed (see no-primary-action-29May.png)
Verify the bug as fixed in QA testing.
Verified in commit: c9de24d3f4845251b01e2eab0aeeb7472badc5bb. Branch: danny.