Suggestion: clean separation between QML and JS
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
- 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ệ
- cpp, javascript
- Lĩnh vực
- developer-experience
Hướng nghiên cứu
Start by reading how MuseScore extensions connect their QML forms and composites to JavaScript actions; the issue points to the courtesy accidentals extension as an example. Determine whether the framework already supports calling shared JavaScript from QML, then define how that separation should work for future extensions. Done means the issue's proposed capability or existing approach is clearly established.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I apologize in advance if this is already possible and I just don't understand understand how it works...
I like the separation of extensions into macros, forms, and composite, and I especially like how this works for macros - the actual code is cleanly separated from the manifest. It would be nice if the QML for the forms and composites were also cleanly separated from the code.
For example, consider the courtesy accidentals extension for MuseScore. The "add" action is associated with a JS file that contains the code to add accidentals - great. But the "configure" action is associated with a QML file that displays the dialog and also reproduces most of the code from the JS file. It would be fantastic to have the JS file contain all the code and allow the QML file to simply call over to it. That would simplify maintenance greatly.
I'm not particularly concerned with this particular extension but with future ones contributed by the community (e.g., me :-) ). Pretty much any composite extension is likely to have a similar issue - the main code common to the form and macro version. But even for an extension that is just a form, it still seems like it would be good practice to separate out the QML for the dialog from the JS for the code. Any given programmer might be more comfortable in one area than the other, and might want to rely on AI tools to help. This sort of separation would facilitate that as well.
Or maybe it's possible already and the courtesy accidentals extension just needs to be refactored to take advantage of this?
- Ngôn ngữ chính
- C++
- Star
- 14
- Fork
- 79
- Merge trung bình
- 1 ngày 14 giờ
- Pull request đã merge (30 ngày)
- 43
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không 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 musescore/muse_framework
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
musescore/muse_framework#284 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Untranslated textsCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
musescore/muse_framework#110 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
The ColorPicker component does not indicate whether you picked a color with alpha.Có thể đã có người làm @woldaker đã nhận 13 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 10/100
musescore/muse_framework#434 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
musescore/muse_framework#405 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
ExpressionContext equality ignores the other velocity overrideCó thể đã có người làm @0xMashiro đã nhận 36 ngày trước. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 45/100
musescore/muse_framework#381 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của musescore/muse_framework
Issue tương tự
-
[Suggestion]: Build a Zero-Dependency Python Supply-Chain, SBOM, & MCP Security Verifier CLIĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
check-cimg-patches.sh: stops with "could not list" when openfx-gmic has no patch scripts leftĐang mởbug difficulty:easy prio:low
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
NatronGitHub/openfx-misc#457 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug error not reported low priority semantics
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 77/100
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 70/100
compiler-explorer/compiler-explorer#9738 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
521xueweihan/HelloGitHub#4614 ·