← Back to team overview

touch-packages team mailing list archive

[Bug 1424723] Re: Wrong doc for PreviewHeader widget

 

Please, consider to reopen this bug. 
This kind of issue should be considered seriously in a doc for developers. 
Specially for a new framework that is trying to attract even more people day by day.

-- 
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/1424723

Title:
  Wrong doc for PreviewHeader widget

Status in unity-scopes-api package in Ubuntu:
  Invalid
Status in unity8 package in Ubuntu:
  Invalid

Bug description:
  Hi,

  in the current doc at
  https://developer.ubuntu.com/api/scopes/sdk-14.10/previewwidgets/#header

  I read:

  ```
  The header widget displays basic infomation about the result.

  List of attributes:

  title A string specifying the title
  subtitle A string specifying the subtitle
  mascot A URI specifying the mascot
  emblem A URI specifying the emblem
  ```

  Unfortunately, that is wrong... Right now PreviewHeader widget
  supports only:

  ```
  /*! This preview widget shows a header
   * The title comes in widgetData["title"]
   * The mascot comes in widgetData["mascot"]
   * The subtitle comes in widgetData["subtitle"]
   * The attributes comes in widgetData["attributes"]
   */
  ```
  From the code: http://bazaar.launchpad.net/~unity-team/unity8/trunk/view/1621/qml/Dash/Previews/PreviewHeader.qml

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: libunity-scopes-doc 0.6.14+15.04.20150213-0ubuntu1
  ProcVersionSignature: Ubuntu 3.18.0-13.14-generic 3.18.5
  Uname: Linux 3.18.0-13-generic x86_64
  ApportVersion: 2.16.1-0ubuntu2
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Mon Feb 23 17:35:17 2015
  Dependencies:
   
  InstallationDate: Installed on 2014-09-18 (157 days ago)
  InstallationMedia: Ubuntu-GNOME 14.10 "Utopic Unicorn" - Alpha amd64 (20140917)
  PackageArchitecture: all
  SourcePackage: unity-scopes-api
  SystemImageInfo:
   current build number: 0
   device name: 
   channel: daily
   last update: Unknown
  UpgradeStatus: Upgraded to vivid on 2015-01-23 (31 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1424723/+subscriptions


References