← Back to team overview

touch-packages team mailing list archive

[Bug 1434124] Re: Uninstallation confirmation screen inconsistent with other dialogs

 

scopes::PreviewWidget buttons("buttons", "actions");
    scopes::VariantBuilder builder;
    builder.add_tuple({
       {"id", scopes::Variant(click::Preview::Actions::CLOSE_PREVIEW)}, // TODO: see bug LP: #1289434
       {"label", scopes::Variant(_("Cancel"))}
    });
    builder.add_tuple({
       {"id", scopes::Variant(click::Preview::Actions::CONFIRM_UNINSTALL)},
       {"label", scopes::Variant(_("Confirm"))}
    });
    buttons.add_attribute_value("actions", builder.end());
    widgets.push_back(buttons);

This is the code in the scope. We do not specify color or any real
positioning. This also isn't actually a traditional "dialog" window.
It's a preview in Unity8. Maybe the scopes API needs some sort of way to
specify which button is the "affirmative" action. Aside from flipping
the order of the two buttons in our code though, there is basically
nothing the scope itself can do in this respect.

** Also affects: unity8 (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: unity-scope-click (Ubuntu)
   Importance: High => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scope-click in
Ubuntu.
https://bugs.launchpad.net/bugs/1434124

Title:
  Uninstallation confirmation screen inconsistent with other dialogs

Status in Ubuntu UX bugs:
  Triaged
Status in unity-scope-click package in Ubuntu:
  Triaged
Status in unity8 package in Ubuntu:
  New

Bug description:
  On current rtm trying to uninstall a click from the dash you get a
  confirmation screen with a "confirm" button on the left and an orange
  "cancel" one on the right, that seems inconsistant with the
  guideline/what other part of the system are doing

  - why is "cancel" in orange? https://design.ubuntu.com/apps/building-blocks/buttons states that the color is for negative actions
  - unsure that "confirm" is conveying what the button does, could it be "uninstall" or "confirm uninstallation"?

  it feels like that the left button should be the red one and have
  something in its label stating what you are confirming (since the
  rational is that users tend to not read the text description, so the
  button should summarize the action they are doing)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-ux/+bug/1434124/+subscriptions


References