enhancement: limit values per property
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- javascript, php
- Lĩnh vực
- data-visualization
Hướng nghiên cứu
The node-loading code is in includes/KnowledgeGraph.php around line 933, where all values of a property are currently loaded without a cap. Read how the parser options such as depth are parsed, then decide where a property-limit option would be read and applied. The rendering side of the '+N more' node and the click-to-load behaviour would live in the JavaScript that drives vis-network, which the payload does not show. Done means a limit option caps the nodes per property, a '+N more' node appears when values are cut off, and the remaining values load on click; the design of that click behaviour is not settled in the issue.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
ll values of a property are loaded, there is no limit. A page linked by 1000 pages via -MyProp shows 1000 nodes, multiplied by the default depth=3.
Suggestion: |property-limit?-MyProp=10 plus a "+N more" node to load the rest on click.
- Ngôn ngữ chính
- JavaScript
- Star
- 5
- Fork
- 5
- Merge trung bình
- 6 phút
- Pull request đã merge (30 ngày)
- 4
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
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của SemanticMediaWiki/KnowledgeGraph
-
enhancement question
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
SemanticMediaWiki/KnowledgeGraph#7 · 4 bình luận · 1 reaction ·
Tất cả issue của SemanticMediaWiki/KnowledgeGraph
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
keyxmakerx/Chronicle#1469 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
suradet-ps/codeframe#40 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
data
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 74/100
gaseous-project/hasheous#637 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
gramps-project/gramps-web#1549 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100