Skip to content

Add pick-list and yes/no poll components#3

Draft
tolson wants to merge 2 commits into
mainfrom
tao-new-poll-components
Draft

Add pick-list and yes/no poll components#3
tolson wants to merge 2 commits into
mainfrom
tao-new-poll-components

Conversation

@tolson
Copy link
Copy Markdown
Collaborator

@tolson tolson commented Apr 13, 2026

Summary

  • Add pendo-pick-list component (select dropdown and radio display modes)
  • Add pendo-yes-no component (button and thumbs-up/down display modes)
  • Register and export new components, add default styles
  • Update demo harness with examples for new poll types

Test plan

  • Verify pendo-pick-list renders in select and radio modes
  • Verify pendo-yes-no renders in button and thumbs modes
  • Confirm poll responses dispatch correctly
  • Check accessibility (keyboard nav, screen reader labels)
  • Run existing tests to confirm no regressions

🤖 Generated with Claude Code

Todd Olson and others added 2 commits April 13, 2026 19:27
Move all customElements.define() calls out of individual component files
into an exported registerGuideComponents() function. This prevents
NotSupportedError when the plugin script is loaded twice (e.g. staging),
since the consumer controls when registration happens.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
New poll types with registration, exports, styles, and demo harness updates.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@tolson tolson force-pushed the tao-new-poll-components branch from 4f163bb to 6a4f598 Compare April 13, 2026 23:30
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