Skip to content

Let widgets contribute JavaScript-only packs#2444

Merged
tf merged 1 commit into
codevise:masterfrom
tf:js-only-widgets
Jul 13, 2026
Merged

Let widgets contribute JavaScript-only packs#2444
tf merged 1 commit into
codevise:masterfrom
tf:js-only-widgets

Conversation

@tf

@tf tf commented Jul 13, 2026

Copy link
Copy Markdown
Member

Widgets can now declare which of their packs also ship a stylesheet, so a widget that only adds JavaScript no longer forces a missing stylesheet into the frontend stylesheet tag. Packs default to JavaScript only and opt into a stylesheet via {path:, stylesheet: true}, mirroring the existing additional pack registration.

REDMINE-21330

Widgets can now declare which of their packs also ship a stylesheet, so
a widget that only adds JavaScript no longer forces a missing stylesheet
into the frontend stylesheet tag. Packs default to JavaScript only and
opt into a stylesheet via {path:, stylesheet: true}, mirroring the
existing additional pack registration.

REDMINE-21330
@tf tf added this to the v17.2 milestone Jul 13, 2026
@tf
tf merged commit 219f347 into codevise:master Jul 13, 2026
27 of 31 checks passed
@tf
tf deleted the js-only-widgets branch July 13, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant