Allow a rootless navigation structure

Bug #1364340 reported by Facundo Batista
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity-scopes-shell (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Currently, the 7digital scope is returning this structure for the categories/departments/navigation:

{'canned_query': 'scope://com.canonical.scopes.sevendigital',
 'label': 'All categories',
 'subdepartments': [{'canned_query': 'scope://com.canonical.scopes.sevendigital?dep=newreleases',
                     'has_subdepartments': False,
                     'label': 'New releases'},
                    {'canned_query': 'scope://com.canonical.scopes.sevendigital?dep=topalbums',
                     'has_subdepartments': False,
                     'label': 'Top albums'},
                    {'canned_query': 'scope://com.canonical.scopes.sevendigital?dep=toptracks',
                     'has_subdepartments': False,
                     'label': 'Top tracks'},
                    {'canned_query': 'scope://com.canonical.scopes.sevendigital?dep=genres',
                     'has_subdepartments': True,
                     'label': 'Genres'}]}

However, Design requested for this structure to be rootless, to don't have a "All categories" root in the beginning. Currently, if the server returns the needed structure, it doesn't work ok.

Talking with Pawel and Albert they agreed works needs to be done in this project for this to be possible.

Revision history for this message
Facundo Batista (facundo) wrote :
Changed in unity-scopes-shell:
status: New → Confirmed
importance: Undecided → Medium
Pete Woods (pete-woods)
Changed in unity-scopes-shell (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
no longer affects: unity-scopes-shell
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.