-
-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New fixed board and grid #727
Comments
I have some work done regarding exactly these requirements on a different repo. I'll write more soon, just saying this so people wont have to reimplement existing code I have. |
I'll start working on specs for the backend part. |
I think we can break this down into smaller blocks that can be released independently. As a preliminary phase, we could update the frontend and the backend to support the Backend
Frontend
Thoughts? I'm not entirely familiar with the codebase so I might have missed something. |
@sylvansson I do agree with the split you propose,. makes totally sense.
So number of the columns will depend on this. |
Design of this feature is in progress.
We want to implement a new board attribute called
grid
.This attribute comes from the open board standard and can be found here:
https://docs.google.com/document/d/1Bnl5neOf9-y53yOAGjd8BzQ7jvAdLhcB6y9Zw7ITYbA/edit#heading=h.aqlnoqq65dmy
As described in the document, this will allow Cboard to implement a fixed grid-based layout to define the order of the tiles as a list of ids. Each id should match the unique id provided for the corresponding tile. This will also allow empty tiles (no image, no label), that should have a null placeholder in the grid’s order attribute, which is an array of arrays.
This feature will require to implement some new UI capabilities in order to allow the user to create and edit the grid when adding or editing a board. Below some ideas:
Goals
Examples
No nulls
"grid": { "rows": 3, "columns": 3, "order": [ [ 1, 2, 3 ], [ 4, 5, 6 ], [ 7, 8, 9 ] ] },
Empty column
"grid": { "rows": 3, "columns": 4, "order": [ [ 1, 2, 3, null ], [ 4, 5, 6, null ], [ 7, 8, 9, null ] ] },
The text was updated successfully, but these errors were encountered: