Use Storybook Actions addon to provide consistent monitoring of events triggered in stories.
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 383
- Avg merge
- 4d 12h
- Merged PRs (30d)
- 80
Description
## Feature Description
Storybook provides the Actions addon, which allows automatic logging of events triggered in stories, via `args`. We should make use of this addon to provide a consistent way of logging events, including a UI rather than monitoring the JS console, and to reduce boilerplate.
We should do this after #6351, as this will likely result in an update to our `args` usage.
See https://storybook.js.org/docs/6.3/react/essentials/actions
---------------
_Do not alter or remove anything below. The following sections will be managed by moderators only._
## Acceptance criteria
*
## Implementation Brief
*
### Test Coverage
*
## QA Brief
*
## Changelog entry
*
Contributor guide
Research direction
Review the Storybook Actions addon documentation and issue #6351 first, especially how the planned args update affects stories. Identify the story event handlers that currently rely on JS console monitoring and determine the relevant visual regression coverage. Done means events are logged consistently through the Actions UI with reduced boilerplate.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100