← Back to team overview

touch-packages team mailing list archive

[Bug 1409307] [NEW] attributes dont show without title

 

Public bug reported:

I want to display category attributes but not titles (for the number of
Likes under each picture in Facebook Photos scope).

But, it seems attributes do not display unless I add a title component.

So with this catrenderer, attributes do NOT display:

{
    "schema-version" : 1,
    "template" : { 
        "category-layout" : "grid",
        "card-size": "small"
    },  
    "components" : { 
        "art" : "art",
        "attributes": "attrs"
    }   
}

And with this one attributes DO display:
{
    "schema-version" : 1,
    "template" : { 
        "category-layout" : "grid",
        "card-size": "small"
    },  
    "components" : { 
        "title": "title",
        "art" : "art",
        "attributes": "attrs"
    }   
}

phablet@ubuntu-phablet:~$ apt-cache policy libunity-scopes3
libunity-scopes3:
  Instalados: 0.6.9+15.04.20141216.2~rtm-0ubuntu


See images.

** Affects: savilerow
     Importance: Undecided
         Status: New

** Affects: unity-scopes-api (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "no-attributes.png"
   https://bugs.launchpad.net/bugs/1409307/+attachment/4295329/+files/no-attributes.png

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

Title:
  attributes dont show without title

Status in The Savilerow project:
  New
Status in unity-scopes-api package in Ubuntu:
  New

Bug description:
  I want to display category attributes but not titles (for the number
  of Likes under each picture in Facebook Photos scope).

  But, it seems attributes do not display unless I add a title
  component.

  So with this catrenderer, attributes do NOT display:

  {
      "schema-version" : 1,
      "template" : { 
          "category-layout" : "grid",
          "card-size": "small"
      },  
      "components" : { 
          "art" : "art",
          "attributes": "attrs"
      }   
  }

  And with this one attributes DO display:
  {
      "schema-version" : 1,
      "template" : { 
          "category-layout" : "grid",
          "card-size": "small"
      },  
      "components" : { 
          "title": "title",
          "art" : "art",
          "attributes": "attrs"
      }   
  }

  phablet@ubuntu-phablet:~$ apt-cache policy libunity-scopes3
  libunity-scopes3:
    Instalados: 0.6.9+15.04.20141216.2~rtm-0ubuntu

  
  See images.

To manage notifications about this bug go to:
https://bugs.launchpad.net/savilerow/+bug/1409307/+subscriptions


Follow ups

References