Skip to content

Conversation

@rafavalls
Copy link
Collaborator

@rafavalls rafavalls commented Jan 6, 2026

Summary by cubic

Refactored the org home into a focused chat with a centered greeting and input that switches to normal chat after the first message. Added gateway ice breakers and a “Top Hubs” grid; the side chat panel is disabled on home and the topbar chat button respects it.

  • New Features

    • Gateway/model selectors, thread history, branch preview, and usage stats in the input.
    • Ice breakers for the selected gateway with compact pills, tooltips, and a “+N” popover.
    • “Top Hubs” grid sorted by recent usage for quick gateway switching.
    • Persisted threads with titles set only on creation; invalidates tool calls; remembers selected model/gateway.
    • Clear empty state when no model provider or gateway is configured.
    • Monitoring: new Analytics tab (Top Tools/Servers/Gateways) with a tab URL param.
  • Refactors

    • Shell layout detects the home route and disables the chat panel and button; updated copy to “Connection.”
    • ChatFooter supports className; added slide-up fade animation.
    • Removed legacy dashboard sections (KPIs, recent activity); graph view available via header toggle.
    • Consolidated chat and added a pending submit state.

Written for commit ad699b4. Summary will update on new commits.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2026

🧪 Benchmark

Should we run the MCP Gateway benchmark for this PR?

React with 👍 to run the benchmark.

Reaction Action
👍 Run quick benchmark (10 & 128 tools)

Benchmark will run on the next push after you react.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 6, 2026

Release Options

Should a new version be published when this PR is merged?

React with an emoji to vote on the release type:

Reaction Type Next Version
👍 Prerelease 1.0.24-alpha.1
🎉 Patch 1.0.24
❤️ Minor 1.1.0
🚀 Major 2.0.0

Current version: 1.0.23

Deployment

  • Deploy to production (triggers ArgoCD sync after Docker image is published)

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 4 files

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

1 issue found across 4 files (changes from recent commits).

Prompt for AI agents (all issues)

Check if these issues are valid — if so, understand the root cause of each and fix them.


<file name="apps/mesh/src/web/components/decopilot-chat/decopilot-chat.tsx">

<violation number="1" location="apps/mesh/src/web/components/decopilot-chat/decopilot-chat.tsx:270">
P2: Calling `setHasStartedChat` during render is a React anti-pattern that causes unnecessary re-renders. This side effect should be moved to a `useEffect` hook.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

const [hasStartedChat, setHasStartedChat] = useState(!isEmpty);

// Reset to centered view when thread changes (new thread created)
if (prevThreadIdRef.current !== activeThreadId) {
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot Jan 6, 2026

Choose a reason for hiding this comment

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

P2: Calling setHasStartedChat during render is a React anti-pattern that causes unnecessary re-renders. This side effect should be moved to a useEffect hook.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At apps/mesh/src/web/components/decopilot-chat/decopilot-chat.tsx, line 270:

<comment>Calling `setHasStartedChat` during render is a React anti-pattern that causes unnecessary re-renders. This side effect should be moved to a `useEffect` hook.</comment>

<file context>
@@ -234,12 +263,23 @@ function ChatPanelContent() {
+  const [hasStartedChat, setHasStartedChat] = useState(!isEmpty);
+
+  // Reset to centered view when thread changes (new thread created)
+  if (prevThreadIdRef.current !== activeThreadId) {
+    prevThreadIdRef.current = activeThreadId;
+    if (isEmpty) {
</file context>
Fix with Cubic

@tlgimenes tlgimenes force-pushed the home-prompt branch 2 times, most recently from a81ca42 to 228694f Compare January 8, 2026 13:44
…ding TypewriterTitle component for animated text display in HomeContent.
@tlgimenes tlgimenes merged commit 7eb25dc into main Jan 8, 2026
5 checks passed
@tlgimenes tlgimenes deleted the home-prompt branch January 8, 2026 14:09
@rafavalls rafavalls linked an issue Jan 12, 2026 that may be closed by this pull request
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.

New home

3 participants