-
Notifications
You must be signed in to change notification settings - Fork 462
Add support in ui-library for tree data structures #10449
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
Comments
Here's a quick prototype of how the tested tables can work Screen.Recording.2024-09-19.at.17.16.00.movPrototype can be found here: https://www.figma.com/proto/Wf7sDlUg2372jaKKTJ0Mgz/OJS-3.4-3.5?page-id=7200%3A7069&node-id=8927-11021&node-type=frame&viewport=1746%2C-16265%2C0.2&t=xtFViZnaW9GHQRLs-1&scaling=min-zoom&content-scaling=fixed&starting-point-node-id=7200%3A7075
|
Some implementation guidance:Ideally if we could leverage this headless-component to bring this to the live - https://reka-ui.com/docs/components/tree . We intended to rely on the primevue for some of these more complex headless components, but we had way too many issues with it. And the support was not great. Therefore we are hoping that reka-ui, could help us in this area. nuxt-ui is built on top of it - that should help with momentum. If there would be reason why it can't be achieved with this component, let me know so we can think about the options. Or maybe sometime design adjustments are also the option. |
Thank you for highlighting the considerations around adding multiple editors in the "Assigned to" option! I have two possible approaches, but the final decision will depend on @jardakotesovec and how the initials for usernames are implemented. Option 1If initials for usernames aren’t used, we can follow the same approach as how authors are listed on a submission in the front-end—with names separated by commas. Option 2If we're ready to use initials, we can display them alongside the initials, and when hovered over, the full names will be visible. This keeps the interface clean while still providing full details when needed! Screen.Recording.2025-02-12.at.17.16.57.mov |
…ries, and GET category form
@jardakotesovec or @taslangraham any reason to keep this one open. #10404 has passed QA. Anything left to do for this? |
@Tribunal33 both tickets can be closed together. Thanks for testing! |
Uh oh!
There was an error while loading. Please reload this page.
For #10404, we'll need a UI tool that'll allow the construction of arbitrarily nested trees. For example, we might support a 4-level tree:
At the simplest, we could just require a tool that supports the presentation of the tree, and leave editing (and rearrangement and deletion confirmation) to modals.
We may need fine-grained server-side control over how the tree can be re-arranged -- for example, control over "Mathematics" and its contents could belong to User A, and "Geometry" to User B, so while it's tempting to permit drag-and-drop rearrangement, that might complicate things unnecessarily. Rearranging the tree should be an uncommon task.
Specs Update - Friday, September 27th, 2024
Workflows Affected by This Change
Detailed Specs
Here's a quick prototype of how the tested tables can work
Screen.Recording.2024-09-19.at.17.16.00.mov
Prototype can be found here: https://www.figma.com/proto/Wf7sDlUg2372jaKKTJ0Mgz/OJS-3.4-3.5?page-id=7200%3A7069&node-id=8927-11021&node-type=frame&viewport=1746%2C-16265%2C0.2&t=xtFViZnaW9GHQRLs-1&scaling=min-zoom&content-scaling=fixed&starting-point-node-id=7200%3A7075
Link to Designs: https://www.figma.com/design/Wf7sDlUg2372jaKKTJ0Mgz/OJS-3.4-3.5?node-id=8927-9658&t=L8lZRbByMRi3ASfK-4
Some Considerations
The text was updated successfully, but these errors were encountered: