Skip to content

Add file upload, radio, and checkbox components#10

Merged
BenHall-1 merged 3 commits intoTicketsBot-cloud:masterfrom
tickets-test:components
Feb 13, 2026
Merged

Add file upload, radio, and checkbox components#10
BenHall-1 merged 3 commits intoTicketsBot-cloud:masterfrom
tickets-test:components

Conversation

@biast12
Copy link
Copy Markdown
Contributor

@biast12 biast12 commented Jan 24, 2026

Description

Introduces new component types: FileUpload, RadioGroup, CheckboxGroup, and Checkbox.

Type of Change

  • Bug fix
  • New feature
  • Breaking change

Checklist

  • My code follows the style of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works

Introduces new component types: FileUpload, RadioGroup, CheckboxGroup, and Checkbox.
@biast12 biast12 requested a review from a team as a code owner January 24, 2026 21:38
@biast12 biast12 marked this pull request as draft January 24, 2026 21:40
Implements a custom UnmarshalJSON method for ModalSubmitInteractionComponentData to support both string and boolean 'value' fields, accommodating different component types such as text inputs, radio groups, and checkboxes.
Change the Value field in RadioGroupInteractionData from string to *string. This makes the field optional during JSON unmarshalling so callers can distinguish between an unset (nil) value and an empty string.
@biast12 biast12 marked this pull request as ready for review February 13, 2026 17:51
@BenHall-1 BenHall-1 merged commit 11af01c into TicketsBot-cloud:master Feb 13, 2026
@biast12 biast12 deleted the components branch February 15, 2026 22:08
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.

2 participants