Suggestion: clean separation between QML and JS
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- cpp, javascript
- Área
- developer-experience
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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?
- Lenguaje dominante
- C++
- Estrellas
- 14
- Forks
- 79
- Merge medio
- 1 d 14 h
- PR fusionados (30 d)
- 43
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de musescore/muse_framework
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
musescore/muse_framework#284 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Untranslated textsQuizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
musescore/muse_framework#110 ·
Los mantenedores suelen responder en 1 día
-
The ColorPicker component does not indicate whether you picked a color with alpha.Posiblemente ocupada @woldaker la tomó hace 13 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 10/100
musescore/muse_framework#434 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
musescore/muse_framework#405 ·
Los mantenedores suelen responder en 1 día
-
ExpressionContext equality ignores the other velocity overridePosiblemente ocupada @0xMashiro la tomó hace 36 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 45/100
musescore/muse_framework#381 ·
Los mantenedores suelen responder en 1 día
Todos los issues de musescore/muse_framework
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 91/100
ZuluSCSI/ZuluSCSI-firmware#1077 ·
Los mantenedores suelen responder en 1 día
-
[Suggestion]: Build a Zero-Dependency Python Supply-Chain, SBOM, & MCP Security Verifier CLIAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
CachyOS/packageinstaller#201 ·
Los mantenedores suelen responder en 1 día
-
check-cimg-patches.sh: stops with "could not list" when openfx-gmic has no patch scripts leftAbiertobug difficulty:easy prio:low
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
NatronGitHub/openfx-misc#457 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
featureJosh/Recompia#989 ·