Editor panels and toolbar buttons from a plugin
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 12/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- csharp
- Lĩnh vực
- desktop, developer-experience
Hướng nghiên cứu
This is design work, not a first task: the proposal leaves the panel declaration API, the view split between toolkits, and dock-state persistence open. Start by reading GameStudioWindow.xaml for the fixed layout and the existing extension points ([EditorGameService], IEditorGameOverlayService, [EditorSettings]) to see how plugins attach today. Done means an agreed design in #3581 or this issue, not code.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Users ask for custom tool windows in Game Studio, for example a panel with scene tools (spawn, paint, delete in the viewport) docked next to the property grid. Today this needs reflection hacks into the WPF window.
Related: #3183 (extending the scene editor, with a spline editor proof of concept). Tracked in #3581.
What a plugin can already do (4.5)
An Editor package can add:
- scene editor behavior with
[EditorGameService](viewport input, picking, adding or removing entities); - scene editor overlays (
IEditorGameOverlayService), gizmos; - asset editors and previews, editor settings pages (
[EditorSettings]), thumbnails and icons.
What is missing
- A dockable panel (tool window) declared by a plugin. The Game Studio layout is fixed in
GameStudioWindow.xaml. - Toolbar buttons (in the scene editor toolbar or the main toolbar).
Proposal
Toolkit-neutral, like the asset editors already are:
- The plugin's Editor package declares a panel: a view model type, a title, a default dock side.
- Each UI toolkit provides the view (
<Plugin>.Editor.Wpftoday). The WPF to Avalonia port then only redoes the view, and plugins keep their view models. - Game Studio adds the declared panels to its layout and View menu, and saves their dock state with the layout.
- Ngôn ngữ chính
- C#
- Star
- 8k
- Fork
- 1.2k
- Merge trung bình
- 1 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 321
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
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 stride3d/stride
-
area-Build bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area-Samples enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
stride3d/stride#3386 · 7 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area-Physics bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
stride3d/stride#3384 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area-Samples bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
stride3d/stride#3066 · 6 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Docs] Update Entity.cs XML CommentsCó thể làm lại được @andyp53 đã nhận 130 ngày trước và không có pull request nào đang mở. Đang mởarea-Doc
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
stride3d/stride#2452 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của stride3d/stride
Issue tương tự
-
bug priority:low severity:S3
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
squid-farm/talewright#909 ·
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 73/100
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 82/100
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 76/100
microsoft/Agents-for-net#1108 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
kronos:develop:queued priority:P0
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100