← Back to team overview

touch-packages team mailing list archive

[Bug 1409307] Re: attributes dont show without title

 

Setting the title blank cannot be a solution as we wouldn't want to
change card layouts depending whether the title is blank or not, but
rather by having the component available at all. Saviq, is it possible
to make the title optional or would we rather need an entire new card?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 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:
  Invalid
Status in unity8 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


References