UI for Compositions Sidebar
@emekauja is already working on this.
Since Oct 7, 2022.
Assessment
This issue has not been assessed yet.
Description
Current implementation
New mockups
Actions required:
- re-style the sidebar as per latest mockups attached.
- rename 'layers' to 'Model Hierarchy'.
- the component below 'Model Hierarchy' is a tree, so we need to be able to expand and compress tree's leaf that have children.
- on left click the item should be selected.
- on right click it should open the floating panel as per screenshot attached.
- the component needs a call back onSelect so that when a node of the tree is selected that id is returned to the callback linked.
- the component needs a call back setSelected that accept a string, if string match the id of one of the tree nodes then that node should be selected.
feel free to generate some mock data respecting this specification
{
id: string - unique key for the element
label: string - it's what displayed in the tree
tooltip: string - if given, then on hover we should display this label.
type: enum - it can be "MECHANISM / PROJECTION / COMPOSITION
}
The type enum can be linked to the icon if you would prefer that, please in case define that in the constant.js file in the root of the project.
Note that the floating panel should be available only for COMPOSITION type nodes.
- Dominant language
- JavaScript
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MetaCell/PsyNeuLinkViewSource
-
MetaCell/PsyNeuLinkViewSource#76 · 2 assignees ·
-
enhancement
MetaCell/PsyNeuLinkViewSource#75 · 1 assignee ·
-
MetaCell/PsyNeuLinkViewSource#74 · 1 assignee ·
-
MetaCell/PsyNeuLinkViewSource#73 · 1 assignee ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
All issues in MetaCell/PsyNeuLinkViewSource
Similar issues
-
awaiting triage bug Causes friction Hop Gui P1 P2 Transforms
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
georgestephanis/p2026#40 ·
-
Enatega Customer and Rider app: Add-ons price is not visible to customer after order is placed. Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Margaret-Petersen/food-delivery-app-clone-react-native#1981 ·