Skip to content

fix(lightspeed): keep MCP settings panel open in fullscreen mode and fix display mode selector focus#3604

Open
teknaS47 wants to merge 1 commit into
redhat-developer:mainfrom
teknaS47:fix/RHDHBUGS-3384
Open

fix(lightspeed): keep MCP settings panel open in fullscreen mode and fix display mode selector focus#3604
teknaS47 wants to merge 1 commit into
redhat-developer:mainfrom
teknaS47:fix/RHDHBUGS-3384

Conversation

@teknaS47

Copy link
Copy Markdown
Member

Hey, I just made a Pull Request!

Fixes: https://redhat.atlassian.net/browse/RHDHBUGS-3384
Fixes: https://redhat.atlassian.net/browse/RHDHBUGS-3415

  • RHDHBUGS-3384: The MCP settings panel was closing whenever the user started a new chat, selected a conversation, or changed a model in fullscreen mode. This was because setIsMcpSettingsOpen(false) was called unconditionally. Now we only close the panel in non-fullscreen (drawer/overlay) modes, where the panel overlaps the chat.

  • RHDHBUGS-3415: The options dropdown (ChatbotHeaderOptionsDropdown) was auto-focusing its first menu item on open, causing unintended keyboard/focus behavior. Added shouldFocusFirstItemOnOpen={false} to prevent this.

✔️ Checklist

  • A changeset describing the change and affected packages. (more info)
  • Added or Updated documentation
  • Tests for new functionality and regression tests for bug fixes
  • Screenshots attached (for UI changes)

Screen recording:

Screen.Recording.2026-06-26.at.10.04.47.PM.mov

…fix display mode selector focus

Signed-off-by: Sanket Saikia <sanketsaikia13@gmail.com>
@rhdh-gh-app

rhdh-gh-app Bot commented Jun 26, 2026

Copy link
Copy Markdown

Changed Packages

Package Name Package Path Changeset Bump Current Version
@red-hat-developer-hub/backstage-plugin-lightspeed workspaces/lightspeed/plugins/lightspeed patch v2.9.1

@sonarqubecloud

Copy link
Copy Markdown

@HusneShabbir HusneShabbir left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@codecov

codecov Bot commented Jun 26, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 54.21%. Comparing base (71cfae4) to head (cde6436).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3604      +/-   ##
==========================================
- Coverage   54.21%   54.21%   -0.01%     
==========================================
  Files        2312     2312              
  Lines       88532    88536       +4     
  Branches    24661    24656       -5     
==========================================
  Hits        48000    48000              
- Misses      39040    39044       +4     
  Partials     1492     1492              
Flag Coverage Δ *Carryforward flag
adoption-insights 83.70% <ø> (ø) Carriedforward from 71cfae4
ai-integrations 67.95% <ø> (ø) Carriedforward from 71cfae4
app-defaults 69.79% <ø> (ø) Carriedforward from 71cfae4
augment 46.39% <ø> (ø) Carriedforward from 71cfae4
boost 74.35% <ø> (ø) Carriedforward from 71cfae4
bulk-import 72.46% <ø> (ø) Carriedforward from 71cfae4
cost-management 14.10% <ø> (ø) Carriedforward from 71cfae4
dcm 61.79% <ø> (ø) Carriedforward from 71cfae4
extensions 61.53% <ø> (ø) Carriedforward from 71cfae4
global-floating-action-button 71.18% <ø> (ø) Carriedforward from 71cfae4
global-header 59.71% <ø> (ø) Carriedforward from 71cfae4
homepage 49.84% <ø> (ø) Carriedforward from 71cfae4
install-dynamic-plugins 56.77% <ø> (ø) Carriedforward from 71cfae4
konflux 91.49% <ø> (ø) Carriedforward from 71cfae4
lightspeed 68.49% <0.00%> (-0.06%) ⬇️
mcp-integrations 85.46% <ø> (ø) Carriedforward from 71cfae4
orchestrator 38.30% <ø> (ø) Carriedforward from 71cfae4
quickstart 63.76% <ø> (ø) Carriedforward from 71cfae4
sandbox 79.56% <ø> (ø) Carriedforward from 71cfae4
scorecard 82.67% <ø> (ø) Carriedforward from 71cfae4
theme 61.26% <ø> (ø) Carriedforward from 71cfae4
translations 7.25% <ø> (ø) Carriedforward from 71cfae4
x2a 78.68% <ø> (ø) Carriedforward from 71cfae4

*This pull request uses carry forward flags. Click here to find out more.


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 71cfae4...cde6436. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants