Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

UI for Compositions Sidebar

Đang mở
#45 1 bình luận 0 reaction 2 người được giao Xem trên GitHub

@emekauja đang làm issue này rồi.

Từ ngày 7/10/2022.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

Current implementation

scrnli_07_10_2022_12-12-59.png

New mockups

scrnli_07_10_2022_12-09-56.png

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.

Ngôn ngữ chính
JavaScript
Star
1
Fork
0
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của MetaCell/PsyNeuLinkViewSource

Tất cả issue của MetaCell/PsyNeuLinkViewSource

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.