Skip to content

feat(BBBInput): add labeled text field with inline action button#56

Open
Arthurk12 wants to merge 2 commits into
bigbluebutton:developfrom
Arthurk12:issue/34
Open

feat(BBBInput): add labeled text field with inline action button#56
Arthurk12 wants to merge 2 commits into
bigbluebutton:developfrom
Arthurk12:issue/34

Conversation

@Arthurk12

Copy link
Copy Markdown
Member

What does this PR do?

Adds a new BBBInput component unifying the recurring "text field + submit button" pattern found ad hoc in chat, guest messages and breakouts (issue #34): an auto-growing textarea with a labeled action button, submit-on-Enter, controlled/uncontrolled value handling matching BBBSearch, an opt-in "sent" feedback affordance, and beforeButton/afterButton slots for extra actions (e.g. an emoji picker) next to the submit button.

Registers the component across the package's export surface (components index, webpack entries, package.json exports/typesVersions, root README) following the existing per-component conventions.

Closes Issue(s)

Closes #34

Arthurk12 added 2 commits July 9, 2026 20:19
Adds a new BBBInput component unifying the recurring "text field + submit
button" pattern found ad hoc in chat, guest messages and breakouts (issue bigbluebutton#34):
an auto-growing textarea with a labeled action button, submit-on-Enter,
controlled/uncontrolled value handling matching BBBSearch, an opt-in
"sent" feedback affordance, and beforeButton/afterButton slots for extra
actions (e.g. an emoji picker) next to the submit button.

Registers the component across the package's export surface (components
index, webpack entries, package.json exports/typesVersions, root README)
following the existing per-component conventions.
…it button

The existing layouts don't fit a compact icon-only button next to a single
line of text: circle/stacked are fixed-size boxes (3rem/4.5rem) that make
the row taller than the text line dictates, and default layout's
border-radius reads as nearly round at small sizes. squared is icon-only,
sized by its own equal padding (not a fixed box), with a smaller border
radius so it reads as squared rather than round — matching the real chat
input's send button shape, which BBBInput now uses by default for
icon-only submissions.
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