View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0020801 | MMW 5 | General | public | 2024-04-01 07:06 | 2024-04-25 10:42 |
Reporter | zvezdan | Assigned To | |||
Priority | none | Severity | minor | Reproducibility | N/A |
Status | closed | Resolution | fixed | ||
Fixed in Version | 5.1 | ||||
Summary | 0020801: listview classes or data attributes for grid views and simplified lists needed | ||||
Description | lvItems that are inside grid views have griditem class and could be skinned easily as such. However, the listviews don't have any unique identification if they contain a grid, which could help in skinning these listviews differently than those that contain rows. I suppose that one listview could contain only one kind of items, e.g. one listview cannot have both grid items and row items. So, it makes that the listviews have a class or data attribute which could tell what kind of listview is. Currently, my skin is using bunch of data-id's of listviews that have a grid view, something like: [data-id$=Grid], [data-id$=GridView], [data-control-class=NodeListView]:not([data-id$=_RowNodeList]), [data-id=viewControl_albumlist] but I am sure there are many others that I am missing. Well, maybe I could use :has() pseudo-class to determine if a listview contains any lvItem having griditem class, but that wouldn't be any simpler than my current solution and, in that case, my skin wouldn't work properly with MM having Chromium < 105. The simplified lists, as in Playing panel and playlist editor, could also have their own classes or data attributes that could tell what kind of list is inside them. | ||||
Tags | todoc-dev | ||||
Fixed in build | 3016 | ||||
|
Fixed in build 3016. Added new classes: 'grid' - Listview containing items of type 'griditem' (instead of standard 'rowitem') 'onerow' - added to 'grid' when limited to one row (used in browser views) 'nodelist' - Listview displaying icon nodes, like rating, folders, decades, classifications 'smallitems' - added to 'nodelist', if grid is displaying smaller icons instead of standard size, used for Media Nodes in collections. 'simpletracklist' - simplified tracklist used in Playlist panel or in 'Playing' 'multirow' - simplified tracklist in multirow mode (one item in 2 rows) 'onerow' - simplified tracklist in one row mode 'fixedcols' - simplified tracklist in one row mode displaying values to separated columns |
|
Thanks! |
|
Verified 3016 |