Adding new scope example code

Bug #1369799 reported by XiaoGuo, Liu on 2014-09-16
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Developer Portal
David Callé

Bug Description

I am making this request because our scope has experienced tremendous changes over the last few months. I think we may need to have a few more example codes for the scope developments

- Department scope
  This is a brand new type for developers. I think it is worth having one for the purpose.

- RSS feed (XML)
  We've got an example code on JSON (openclipart). It is good to have one for XML type of scope as well. The reason for this is that most likely some of the developers are not familiar with Qt APIs. If we can provide such an example, they can start to copy and do the development very quickly

- News
  This is optional, and it could be one of the above two. The purpose is to demo the flexibility of our scope development

- Scope with online account function

Thanks & best regards,

David Callé (davidc3) on 2014-09-16
Changed in ubuntudeveloperportal:
assignee: nobody → David Callé (davidc3)
Changed in ubuntudeveloperportal:
status: New → Confirmed
David Planella (dpm) on 2014-11-12
Changed in developer-ubuntu-com:
status: Confirmed → In Progress
importance: Undecided → Critical
David Planella (dpm) wrote :

Hi XiaoGuo,

A quick status update:

- The Departments scope is in the works
- There is an XML tutorial on the site already [1], along with others [2]
- Could you expand on your third point? I'm not sure I understand what we should do for News


XiaoGuo, Liu (liu-xiao-guo) wrote :

Hi dpm,

I have seen the examples and I have run them. I think they are quite good. So far, we have examples using big pictures (grid carousel). I was thinking whether we could provide one more examples on how to create a new scope using the journal layout.

std::string CAT_GRID = R"(
        "schema-version" : 1,
        "template" : {
        "category-layout" : "vertical-journal",
        "card-layout": "horizontal",
        "card-size": "small",
        "collapsed-rows": 0
        "components" : {
        "title" : "title",
        "field": "art2",
        "aspect-ratio": 1

The news will be one of the sources for scopes. It is a manipulation of the layout. I have seen the scope customization one. I can do the work. If there is a tutorial, that would be even better.

David Planella (dpm) on 2015-01-13
Changed in developer-ubuntu-com:
importance: Critical → High
XiaoGuo, Liu (liu-xiao-guo) wrote :

I just added one more requirement. We probably need to have the online account kind of scope example. I knew that there some changes after the sprint. This is something new to the developers.

description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers