introduce GridBrowserView and GridBrowserDelegate for generic grid view
ClosedPublic

Authored by mgallien on Jan 10 2018, 6:27 AM.

Details

Summary

add support for more roles in the model to allow generic delegates

provides roles that will be useable by the generic delegates

allow to retrieve the album or the artist with a generic role from models

support everything except open with generic view and delegate

allow all artsist and all albums models to know each other

this is needed to allow the models to generate proxy models linked to an
artist from an album item for example

makes it possible to open and use album or all albums from an artist views

still some things are not working well like the possibility to show the
artist of an album

I still need to report in the new components all the improvements that have gone since I started this branch

Test Plan

works fine

Diff Detail

Repository
R255 Elisa
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
mgallien requested review of this revision.Jan 10 2018, 6:27 AM
mgallien created this revision.
mgallien updated this revision to Diff 25127.Jan 10 2018, 9:20 PM
  • remove the old views and delegate
  • really remove old views and delegates
  • allows artist model to return a filtered model by a given artist name
  • mostly put back all actions in the different views

still some bugs (can push too much views when using "show artist" button

still need to update the grid view and the grid delegate after all the changes in master branch

mgallien updated this revision to Diff 25129.Jan 10 2018, 9:53 PM
  • remove the old views and delegate
  • really remove old views and delegates
  • allows artist model to return a filtered model by a given artist name
  • mostly put back all actions in the different views
  • rebase the delegate on the previous MediaAlbumDelegate component

rebase on master branch

mgallien updated this revision to Diff 25130.Jan 10 2018, 10:04 PM
  • rename two FontMetrics objects such their name are matching the changes
  • integrate the correct keyboard navigation
  • fix focus being lost after we switch to another view

fix small problems when testing

mgallien updated this revision to Diff 25173.Jan 11 2018, 4:30 PM
  • fix navigation to artist
  • ensure we replace the artist view only when needed

now I need to fix the missing data in NavigationActionBar

mgallien updated this revision to Diff 25185.Jan 11 2018, 8:48 PM
  • fix missing data in all NavigationActionBar
  • allow to show one or two lines of text in delegates of GridBrowserView

this is now finished and ready for review

mgallien retitled this revision from [WIP] introduce GridBrowserView and GridBrowserDelegate for generic grid view to introduce GridBrowserView and GridBrowserDelegate for generic grid view.Jan 11 2018, 8:48 PM
mgallien edited the test plan for this revision. (Show Details)
astippich accepted this revision.Jan 14 2018, 2:26 PM

works just fine

This revision is now accepted and ready to land.Jan 14 2018, 2:26 PM
This revision was automatically updated to reflect the committed changes.