Skip to content

[fix]: resolve contextual bar rendering and slash command execution#1162

Open
not-meet wants to merge 2 commits intoRocketChat:developfrom
not-meet:fix/contextual-bar-rendering
Open

[fix]: resolve contextual bar rendering and slash command execution#1162
not-meet wants to merge 2 commits intoRocketChat:developfrom
not-meet:fix/contextual-bar-rendering

Conversation

@not-meet
Copy link

@not-meet not-meet commented Feb 19, 2026

Description

Fixes the silent failure when opening UIKit contextual bars from slash commands in EmbeddedChat. The contextual bar now properly renders and displays.

Acceptance Criteria fulfillment

  • Contextual bar opens and displays when triggered by slash commands
  • Contextual bar UI is fully interactive (buttons, inputs, dropdowns work)
  • Sidebar shows/hides appropriately when opening/closing contextual bar

Fixes #1161

Video/Screenshots

Screencast.from.2026-02-19.03-39-15.webm
Screenshot from 2026-02-19 18-48-10

Changes Made

Fixed the sidebar state management issue where contextual_bar.open wasn't setting showSidebar to true, causing contextual bars to render but stay hidden.

Also switched slash command execution from REST to DDP (matching official RC client behavior) with REST fallback for reliability.

Result: EmbeddedChat now properly opens contextual bars, enabling all RC Apps that use this UI pattern.

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.

Bug : UIKit contextual bars not rendering in EmbeddedChat

1 participant

Comments