Skip to content

Hide the send box of the Fluent theme when hideSendBox is set - #5918

Open
Eugene (OEvgeny) wants to merge 2 commits into
mainfrom
OEvgeny/fix-fluent-hidesendbox
Open

Eugene (OEvgeny) wants to merge 2 commits into
mainfrom
OEvgeny/fix-fluent-hidesendbox

Conversation

@OEvgeny

@OEvgeny Eugene (OEvgeny) commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

The Fluent theme ignores styleOptions.hideSendBox.

Changelog Entry

Fixed

  • Fixed the Fluent theme ignoring styleOptions.hideSendBox, in PR #5918, by @OEvgeny

Description

The Fluent theme renders its own send box through sendBoxMiddleware and never read hideSendBox, so the send box, its toolbar, and suggested actions stayed visible. Fluent's primary send box now renders nothing when hideSendBox is true, the same as the default theme.

Specific Changes

  • fluent-theme/src/components/sendBox/SendBox.tsx: PrimarySendBox honors hideSendBox
  • api/src/StyleOptions.ts: JSDoc for hideSendBox
  • fluentTheme/hideSendBox.html (+ .copilot.html): snapshot 1, the message without send box or suggested actions, in Fluent and Copilot variants
  • I have added tests and executed them locally
  • I have updated CHANGELOG.md
  • I have updated documentation

Review Checklist

This section is for contributors to review your work.

  • Accessibility reviewed (tab order, content readability, alt text, color contrast)
  • Browser and platform compatibilities reviewed
  • CSS styles reviewed (minimal rules, no z-index)
  • Documents reviewed (docs, samples, live demo)
  • Internationalization reviewed (strings, unit formatting)
  • package.json and package-lock.json reviewed
  • Security reviewed (no data URIs, check for nonce leak)
  • Tests reviewed (coverage, legitimacy)

@OEvgeny
Eugene (OEvgeny) marked this pull request as ready for review October 19, 2026 19:26
Copilot AI balanced review requested due to automatic review settings October 19, 2026 19:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@OEvgeny
Eugene (OEvgeny) force-pushed the OEvgeny/fix-fluent-hidesendbox branch from e704e7a to eeff2e3 Compare October 19, 2026 22:43

This branch has not been deployed

No deployments
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