mcp-context-forge icon indicating copy to clipboard operation
mcp-context-forge copied to clipboard

[UI-REWRITE]: Frontend refactor and redesign - Replace HTMX with modern framework

Open a-effort opened this issue 7 months ago • 1 comments

Overview

Complete refactor and redesign of the ContextForge frontend, replacing the current HTMX + Alpine.js implementation with a modern framework. New UI RFC: https://github.com/IBM/mcp-context-forge/issues/4032

Sequence

  • Project start (March 26, 2026)
  • Design prototype
  • MVP / POC
  • MLP (Minimum Lovable Product) prototype
  • Release Candidate 1
  • Release Candidate 2

Technology Stack

  • Framework: React
  • Styling: Modern devtool styling with dark/light mode
  • Internationalization: FormatJS
  • Bundler: Vite
  • Testing: Vitest + React Testing Library
  • State Management: React Context API
  • Fetch Tool: fetch
  • Component Library: Shadcn
  • Router: custom minimal router, already implemented
  • State Management: React Context API

Core Flows

  1. Add/configure MCP servers
  2. Add/configure Virtual servers
  3. Add/configure A2A
  4. Add/configure other sources (stretch goal)

Must-Have Features

  • Login with JWT token
  • User management (add/remove users)
  • TypeScript throughout
  • i18n support

Scope

Core Features (MVP/MLP)

  • Tools management
  • Resources management
  • Prompts management
  • Teams management
  • Plugins management
  • Search functionality

Nice to Have

  • Schema validation (Zod)
  • Testing library integration
  • Lazy loading
  • CSRF protection

RC1 Features

  • API tokens management
  • Plugins registry
  • Import/export configuration
  • A2A (Agent-to-Agent) support

RC2 Features

  • Tool operations
  • Version information display
  • Maintenance utilities

Child Tasks

  • #4094 - Design prototype for frontend refactor
  • #4095 - MVP/POC - Core functionality implementation
  • #4096 - MLP prototype - Core features implementation
  • #4097 - RC1 - Advanced features and integrations
  • #4098 - RC2 - Operations and maintenance features
  • #4099 - Final release - Testing, migration, and deployment
  • #4565 - Adopt 202 Accepted Async Operations for Gateway Lifecycle APIs

Success Criteria

  • Modern, maintainable frontend codebase
  • Feature parity with current HTMX implementation
  • Improved user experience and performance
  • Comprehensive test coverage
  • Complete documentation
  • TypeScript type safety
  • Internationalization support

a-effort avatar Apr 08 '26 16:04 a-effort

Filing a child task under this epic: #4927 — [UI-REWRITE]: Playground (LLM Chat) page in React UI. The sidebar already has the route but there's no page yet; the legacy HTMX UI's LLM Chat panel needs a React parity rebuild.

a-effort avatar May 27 '26 20:05 a-effort