Skip to content

feat: MCP servers open in a drawer on mobile now#119

Merged
wasaga merged 1 commit intomainfrom
nickytonline/mobile-drawer-servers
Jul 8, 2025
Merged

feat: MCP servers open in a drawer on mobile now#119
wasaga merged 1 commit intomainfrom
nickytonline/mobile-drawer-servers

Conversation

@nickytonline
Copy link
Copy Markdown
Member

@nickytonline nickytonline commented Jul 8, 2025

Now MCP servers are loaded in a drawer component on smaller screens.

Closes #84

CleanShot 2025-07-08 at 09 04 29

This pull request introduces several updates to the codebase, including adding a new dependency for popovers, implementing a reusable popover component, and enhancing the Chat component with a new server selector UI. The changes improve functionality and maintainability by centralizing popover logic and refining the user interface.

Dependency Updates:

  • Added @radix-ui/react-popover to the package.json dependencies to enable popover functionality.

Component Enhancements:

  • Implemented a reusable popover component in src/components/ui/popover.tsx, including Popover, PopoverTrigger, PopoverContent, and PopoverAnchor components. These components use Radix UI primitives and provide consistent styling and behavior for popovers.

UI Improvements:

  • Updated the Chat component in src/components/Chat.tsx to include a server selector wrapped in a styled container, enhancing the user interface for server management.

Optional Dependency Adjustments:

  • Reorganized the optionalDependencies section in package.json to ensure consistent formatting and inclusion of the latest versions of lightningcss for various platforms.

@nickytonline nickytonline requested review from wasaga and zeucapua July 8, 2025 13:10
@wasaga wasaga merged commit 1296560 into main Jul 8, 2025
2 checks passed
@wasaga wasaga deleted the nickytonline/mobile-drawer-servers branch July 8, 2025 13:57
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.

MCP servers and tools should be in a drawer on mobile

2 participants