Skip to content

Adapting UI mcp#2520

Merged
johbaxter merged 44 commits intodevfrom
adapting_ui_mcp
Feb 16, 2026
Merged

Adapting UI mcp#2520
johbaxter merged 44 commits intodevfrom
adapting_ui_mcp

Conversation

@KirthikaKumar-K
Copy link
Copy Markdown
Contributor

@KirthikaKumar-K KirthikaKumar-K commented Jan 13, 2026

Description

MCP Json editor refactor

Notes

This PR is dependent on the following PR's:
FE PR:
#2406

Paulson-Robert and others added 26 commits December 9, 2025 19:25
@KirthikaKumar-K KirthikaKumar-K requested a review from a team as a code owner January 13, 2026 11:12
@KirthikaKumar-K KirthikaKumar-K self-assigned this Jan 13, 2026
saveShortcut = "Ctrl+S / Cmd+S",
}) => {
return (
<div className="sticky top-0 z-50 mb-6 rounded-lg border border-gray-200 bg-white/95 p-4 backdrop-blur-sm">
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.

Utilize css classes that use theme-tokens. IE "bg-background"

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.

Resolved

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.

This is not necessary. See the input-group component

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.

Resolved

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.

Why does this need to be it's own component?

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.

Resolved

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.

This should not be necessary since it is coming from globals.css

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Resolved

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.

This shouldn't be its own component. We should use monaco so the json can render correctly

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.

Resolved

tools: MCPTool[];
};

export interface EditorHeaderProps {
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.

Keep Props with the component

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Moving each individual type to responsible component will increase duplicate code.
By keeping this in shared types, we are using it in shared component and in parent component as well.

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.

Why is this different than the one in app-workspace? Can they be merged?

Copy link
Copy Markdown
Contributor Author

@KirthikaKumar-K KirthikaKumar-K Jan 14, 2026

Choose a reason for hiding this comment

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

Yes it can be merged.
Now we have used a single mcp-json-editor.tsx file in /shared

@johbaxter johbaxter merged commit 677760a into dev Feb 16, 2026
3 checks passed
@johbaxter johbaxter deleted the adapting_ui_mcp branch February 16, 2026 14:33
@github-actions
Copy link
Copy Markdown

@CodiumAI-Agent /update_changelog

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.

4 participants