[dashboard] No messages about package absent in UI

Bug #1305548 reported by Ekaterina Chernova
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Low
Brian Tully

Bug Description

1) Go to Application Catalog (check there are no packages in database)
2) See how weird looks the page without any packages

Revision history for this message
Ekaterina Chernova (efedorova) wrote :
Changed in murano:
status: New → Confirmed
description: updated
Timur Sufiev (tsufiev-x)
summary: - No messages about package absent in UI
+ [dashboard] No messages about package absent in UI
Changed in murano:
importance: Undecided → Low
ruhe (ruhe)
Changed in murano:
milestone: none → 0.5
Timur Sufiev (tsufiev-x)
tags: added: low-hanging-fruit
Changed in murano:
milestone: 0.5 → 0.6
milestone: 0.6 → 0.5
Changed in murano:
importance: Low → Medium
Timur Sufiev (tsufiev-x)
Changed in murano:
importance: Medium → Low
Steve McLellan (sjmc7)
Changed in murano:
assignee: nobody → Steve McLellan (sjmc7)
Revision history for this message
Brian Tully (brian-tully) wrote :

Do we have copy as to what we want the message to say? And is this supposed to be themed as an error message for developers or is it more of a message to users to improve user experience?

Example: "Currently there are no packages available in the database. Please try again later."

Please provide more context and I'd be happy to look into this.

Changed in murano:
assignee: Steve McLellan (sjmc7) → Brian Tully (brian-tully)
Changed in murano:
status: Confirmed → In Progress
Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

Brian, looks good. I sugges to add something like 'Please, upload new packages.' instead of "Please try again later."

Revision history for this message
Ekaterina Chernova (efedorova) wrote :

HI guys!
After some time thinking I suggest do not show error messages. Instead:
1) In Django template catalog.index.html show "Latest Apps" and "App Category" selector only in case there are some applications in the catalog
2) If no, just leave a message in that template:
There are no packages available. Upload applications at (that's will be good to provide link here) Package definitions page

How is that?

Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

Ekaterina, sounds good.

Revision history for this message
Brian Tully (brian-tully) wrote :

Currently I have it showing the Latest Apps and App Category selector but there is now a message saying "No items to display." if there are no apps. This is a pattern that is used throughout Murano and Horizon which is why I decided to use it.

Also, in terms of the persona we are showing the message to, will it always be a developer who will have access and knowledge on how to upload an application? I was under the impression that there would be users that would be just installing existing applications, and if so, would we be confusing them by showing them a link to upload a package definition if they don't have access and/or don't know how to do that?

Revision history for this message
Brian Tully (brian-tully) wrote :

The latest discussion/consensus on IRC is as follows:

So to summarize, we are going to have

"There are no applications available at this time." with the option of adding "Please contact your Cloud Admin." for the messaging under "Latest Apps"

-- and --

"There are no applications matching your search criteria." when search and/or App Category pulldown returns nothing

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to murano-dashboard (master)

Reviewed: https://review.openstack.org/89922
Committed: https://git.openstack.org/cgit/stackforge/murano-dashboard/commit/?id=1d8cdb21fa165c8e8737228c3d862d7f41b600f2
Submitter: Jenkins
Branch: master

commit 1d8cdb21fa165c8e8737228c3d862d7f41b600f2
Author: Brian Tully <email address hidden>
Date: Wed Apr 23 15:28:55 2014 -0400

    Add message if no apps are in the database

    Add clearer messaging based on discussion/consensus on IRC #murano.

    Closes-Bug: #1305548
    Change-Id: If6e8a3a159078c8f3847ad72157229e2d12c7aa2

Changed in murano:
status: In Progress → Fix Committed
Revision history for this message
Anastasia Kuznetsova (akuznetsova) wrote :

Verified.

tags: added: verified
ruhe (ruhe)
Changed in murano:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.