Skip to content

triggers: Add Trigger / Action API use cases module#264

Merged
Artur- merged 3 commits into
mainfrom
trigger-action
May 15, 2026
Merged

triggers: Add Trigger / Action API use cases module#264
Artur- merged 3 commits into
mainfrom
trigger-action

Conversation

@Artur-
Copy link
Copy Markdown
Member

@Artur- Artur- commented May 15, 2026

Adds five views (UC1–UC5) covering slice 1 of the trigger API introduced in vaadin/flow#24353: ClickTrigger + ClipboardCopyAction + PropertyOutput, plus a custom AbstractAction (FlashAction) wired through window.Vaadin.Flow.triggers to exercise the extension SPI. Each view has a browserless test asserting the TriggerSupport snapshot (type ids, output config, bindings). API-GAPS.md captures the use cases the feature is for but slice 1 cannot yet express (ServerCallbackAction client handler, ShortcutTrigger, FullscreenAction, WebShareAction, SignalOutput, test simulator, feature detection).

Artur- added 3 commits May 15, 2026 14:43
Adds five views (UC1–UC5) covering slice 1 of the trigger API
introduced in vaadin/flow#24353: ClickTrigger + ClipboardCopyAction +
PropertyOutput, plus a custom AbstractAction (FlashAction) wired
through window.Vaadin.Flow.triggers to exercise the extension SPI.
Each view has a browserless test asserting the TriggerSupport snapshot
(type ids, output config, bindings). API-GAPS.md captures the use
cases the feature is *for* but slice 1 cannot yet express
(ServerCallbackAction client handler, ShortcutTrigger, FullscreenAction,
WebShareAction, SignalOutput, test simulator, feature detection).
Mirrors clipboard #255: each view that had module-wide or inline styles
now declares @Stylesheet("uc<N>.css"), adds a uc<N>-view root class,
and the CSS is nested under that selector. styles.css keeps only the
cross-view home-cards rules.
@Artur- Artur- merged commit cacaa81 into main May 15, 2026
13 checks passed
@Artur- Artur- deleted the trigger-action branch May 15, 2026 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant