Skip to content

Excursion sheet defaults - #2538

Merged
tf merged 5 commits into
codevise:masterfrom
tf:excursion-sheet-defaults
Nov 24, 2026
Merged

tf merged 5 commits into
codevise:masterfrom
tf:excursion-sheet-defaults

Conversation

@tf

@tf tf commented Nov 24, 2026

Copy link
Copy Markdown
Member

No description provided.

@tf tf added this to the v17.3 milestone Nov 24, 2026
tf added 5 commits November 24, 2026 15:26
Inputs and info boxes hidden via visible bindings now carry the hidden
attribute instead of the hidden_via_binding class. Assistive technology
and testing-library role queries treat them as hidden, and jest-dom's
toBeVisible can be used in specs.

Like the class, the attribute does not add inline styles, so views can
still hide themselves via additional CSS classes. Styles or specs
relying on the hidden_via_binding class need to switch to the hidden
attribute.
Editor registrations of built-in widget types now live next to the
widget components instead of in the central editor config. They are
bundled as pageflow-scrolled/widgets-editor, which the scrolled editor
loads automatically.

Host applications using the webpack config from pageflow-scrolled pick
up the new pack without changes.
renderContentElementConfigurationEditor now returns the queries of
@testing-library/dom bound to the configuration editor, consistent with
the frontend render helpers. Custom ByInputPropertyName queries find
inputs by the property they edit, e.g. to check which properties an
editor offers or to reach inputs without an accessible role.

The queries and the underlying renderConfigurationEditorView helper
live in pageflow/testHelpers, since they work with any configuration
editor and can be used by other entry types and plugins.

The helper no longer returns a ConfigurationEditor domino. Specs using
its methods (like inputPropertyNames) need to switch to the queries.
Widget packs can now render a widget's configuration editor and the
chapter configuration editor including tab view groups contributed by
widgets, mirroring the existing content element helper. Since widgets
are not specific to scrolled entries, the widget helper lives in
pageflow/testHelpers.

Specs can pass widgets to createEntry without having to set up widget
types and widget ids by hand.
Sheet width and return button label can now be configured once for
all excursions in the excursion sheet widget settings. Excursions
without own values fall back to these settings, so changing them
later updates all such excursions at once. Values set on individual
excursions still take precedence.

The excursion settings display the effective defaults as placeholders,
including the built-in return button text in the entry's locale.

Also add the missing translations for the excursion widget role and
type name in the widget settings.
@tf
tf force-pushed the excursion-sheet-defaults branch from 18be129 to ac92174 Compare November 24, 2026 14:27
@tf
tf merged commit 5ed9105 into codevise:master Nov 24, 2026
18 checks passed
@tf
tf deleted the excursion-sheet-defaults branch November 24, 2026 14:50
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