Skip to content

Rename widget_scope to entry_mode in template#2388

Merged
tf merged 1 commit intocodevise:masterfrom
tf:entry-mode-naming
Apr 2, 2026
Merged

Rename widget_scope to entry_mode in template#2388
tf merged 1 commit intocodevise:masterfrom
tf:entry-mode-naming

Conversation

@tf
Copy link
Copy Markdown
Member

@tf tf commented Apr 2, 2026

The show template received entry mode (published/preview/editor) as widget_scope, which was misleading since most call sites use it to determine entry mode behavior, not to scope widgets. Rename the template local and helper params to entry_mode. Keep widget_scope in the private packs helper methods where it genuinely controls widget filtering.

REDMINE-21261

The show template received entry mode (published/preview/editor)
as widget_scope, which was misleading since most call sites use
it to determine entry mode behavior, not to scope widgets.
Rename the template local and helper params to entry_mode. Keep
widget_scope in the private packs helper methods where it
genuinely controls widget filtering.

REDMINE-21261
@tf tf added this to the v17.2 milestone Apr 2, 2026
@tf tf merged commit a16c457 into codevise:master Apr 2, 2026
16 checks passed
@tf tf deleted the entry-mode-naming branch April 2, 2026 09:58
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