Allow a rootless navigation structure

Bug #1364342 reported by Facundo Batista
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
unity-scopes-shell (Ubuntu)
Triaged
Undecided
Unassigned
unity8 (Ubuntu)
Triaged
Undecided
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 :
Michał Sawicz (saviq)
no longer affects: unity8
Changed in unity8 (Ubuntu):
status: New → Triaged
Revision history for this message
Paweł Stołowski (stolowski) wrote :

With filters support this could be re-designed to use option-selector filters:
- one option selector filter with new releases, top albums, top tracks, genres in it; selecting 'genres' creates additional option-selector filter with the list of genres in it.
- two option selector filters displayed all the time: one with new releases, top albums, top tracks, the other with the list of genres - makes sense so long as 7digital api allows browsing new releases/top albums/tracks and filtering by genre at the same time.

This is just an idea to consider. Allowing rootless departments will require significant investement in terms of implementation.

Changed in unity-scopes-shell (Ubuntu):
status: New → Triaged
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.