Skip to content
Snippets Groups Projects
Commit 6e86106d authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Support nested grouping of assets.

Nested groups can be defined as follows:

    [{
        "title": "Main group",
        "items": [
            {"title: "subgroup",
             "items: [ ... ]}
        ]
    }]

In UI the tree will then show subfolders for the nested asset groups.
But the ThumbList display will still show all the assets in old way,
and the assets in subgroups will be expanded so they will appear as if
they were listed directly inside the top level group.

I guess in some way this beats the whole point of having the subgroups -
as all the assets still show up on the main page as if there were no
subgroups at all.  On the other hand we now technically have support for
subgroups, but I feel that's not really what these users were after when
they asked for nested grouping.

Additionally eliminated :dup_asset warning.  It didn't fit nicely to the
new way of iterating over assets, and I think it wasn't such a useful
warning anyway.
parent f7bfe1b8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment