Support for the new runtime feature "default theme"
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- javascript
- Área
- tooling
Línea de trabajo
No file or test is named in the issue. Start by tracing how UI5 CLI reads framework dependencies and resolves theme projects, then compare that flow with the default-theme behavior introduced in SAP/openui5@01e9de75c; done means a project can select the version-appropriate default theme without naming a concrete theme library.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Is your feature request related to a problem? Please describe.
Since SAP/openui5@01e9de75c, the UI5 runtime supports a so called default theme. If an application configures no theme at all, no longer the incomplete base theme is used, but a default theme which depends on the used UI5 version. This feature has not only been added in master, but also in all older maintenance branches.
However, during development, one always has to reference a concrete theme project in the ui5.yaml's framework section . It's not yet possible to omit this and let the tooling pick the right dependency.
Describe the solution you'd like
It would be nice if one could specify the use of the default theme also in the dependencies of a project, either
- by a 'magic' dependency name (like
themelib_sap_default) which the tooling then translates into the default theme of the referenced UI5 version - or by omitting theme libs in the framework section and rather specifying a dedicated configuration (e.g.
useDefaultTheme: true).
Describe alternatives that you've considered
Using the CDN is an alternative as the CDN always contains the necessary default theme per version. But this would limit the use of the default-theme feature.
Relevance
As changes of the default theme are not that frequent in UI5, this is not a hot topic. Nevertheless, support for default themes feels a bit incomplete without it.
- Lenguaje dominante
- JavaScript
- Estrellas
- 511
- Forks
- 83
- Merge medio
- 1 d 5 h
- PR fusionados (30 d)
- 50
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la 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 UI5/cli
-
Build cache: buildThemes cache is invalidated by irrelevant library.js / .library content changesAbiertomodule/ui5-builder module/ui5-fs module/ui5-project
Dificultad 3/5 1-2 días Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
module/ui5-project
Dificultad 4/5 3-5 días Aptitud para principiantes 64/100
Los mantenedores suelen responder en 1 día
-
[ROADMAP] UI5 CLI 6.0 / Specification Version 6.0Quizá libre de nuevo @flovogt la tomó hace 64 días y no hay ningún pull request abierto. Abiertoroadmap
UI5/cli#1485 · 1 reacción · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
build excludes from application project are not applied to dependenciesQuizá libre de nuevo @flovogt la tomó hace 38 días y no hay ningún pull request abierto. Abierto
UI5/cli#1446 · 3 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Option to specify custom UI5 config for workspace dependency resolutionQuizá libre de nuevo @flovogt la tomó hace 164 días y no hay ningún pull request abierto. Abierto
UI5/cli#1369 · 1 comentario · 1 asignado ·
Los mantenedores suelen responder en 1 día
Issues similares
-
documentation good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
bug release:v5.56
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Jason-Vaughan/TangleClaw#2270 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
style-dictionary/style-dictionary#1773 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
SignalK/signalk-server#3143 ·
Los mantenedores suelen responder en 1 día