Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Support for the new runtime feature "default theme"

オープン
#864 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript
領域
tooling

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
JavaScript
スター
509
フォーク
82
平均マージ
1日 5時間
マージ済み PR(30日)
50

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

UI5/cli のほかの issue

UI5/cli の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。