oranda icon indicating copy to clipboard operation
oranda copied to clipboard

workspaces: Support member grouping

Open manyinsects opened this issue 2 years ago • 1 comments

From #536. A workspace member could accept a group key, for example.

manyinsects avatar Jul 25 '23 11:07 manyinsects

If you are able to preserve ordering, it might be easier to take an array of arrays for members, like:

"members": [
    [
        { "slug": "a", "path": "./a" },
        { "slug": "b", "path": "./b" },
    ],
    [
        { "slug": "c", "path": "./c" },
        { "slug": "d", "path": "./d" },
    ]
]

or as named groups:

"groups": [
    {
        "groupname": "one",
        "members": [
            { "slug": "a", "path": "./a" },
            { "slug": "b", "path": "./b" },
        ]
    }
]

That way you don't also have to define group ordering somewhere else.

jamesmunns avatar Jul 25 '23 16:07 jamesmunns