Repository navigation
Excursion sheet defaults - #2538
Merged
Merged
Conversation
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
force-pushed
the
excursion-sheet-defaults
branch
from
November 24, 2026 14:27
18be129 to
ac92174
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.