MCPcopy Index your code
hub / github.com/Jason-uxui/gray-ui-crm

github.com/Jason-uxui/gray-ui-crm @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
230 symbols 589 edges 69 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Gray UI CRM

A CRM UI showcase built with Next.js App Router, shadcn/ui primitives, and a reusable data-grid architecture.

The project focuses on practical CRM workflows (company list, detail views, editable cells, task board interactions) with local mock data so it runs out of the box.

Highlights

  • Companies dashboard with configurable table columns, sorting, filtering, and inline editing
  • Company detail route with drawer/workspace layout and linked entities
  • Reusable DataGrid system split into composable table parts and hooks
  • Task board interactions for account workflows (in-progress, review, blocked, todo, done)
  • TypeScript-first codebase with App Router conventions

Tech Stack

  • Next.js 16
  • React 19
  • TypeScript 5
  • Tailwind CSS 4
  • shadcn/ui + Base UI
  • dnd-kit

Quick Start

Prerequisites

  • Node.js 20+
  • pnpm 10+

Install and run

pnpm install
pnpm dev

Open http://localhost:3000.

Available Scripts

pnpm dev        # Start local dev server
pnpm lint       # Run ESLint
pnpm typecheck  # Run TypeScript checks
pnpm build      # Create production build
pnpm start      # Start production server

Project Structure

app/                    # App Router routes and layouts
components/             # Reusable UI and feature components
components/data-grid/   # Generic data-grid engine
components/companies/   # Companies feature modules
lib/                    # Mock domain data + helpers
public/                 # Static assets

Data and Demo Content

  • The repository uses mock in-memory data from lib/*.
  • Company names/logos are used for UI demonstration only.
  • This is not an official product of those brands.

Contributing

Please read CONTRIBUTING.md before opening issues or PRs.

Security

If you discover a security issue, please follow SECURITY.md.

License

This project is licensed under the MIT License.

Core symbols most depended-on inside this repo

cn
called by 118
lib/utils.ts
getPersonNameById
called by 12
lib/people.ts
formatTaskTimeLabel
called by 9
lib/company-tasks.ts
getCompanyCreatedBy
called by 6
lib/companies.ts
getCompanyAccountOwner
called by 6
lib/companies.ts
formatCompanyCreatedAt
called by 5
lib/companies.ts
createEmptyTaskDraft
called by 4
components/companies/tasks/company-task-board.tsx
handleTaskDragCancel
called by 4
components/companies/tasks/company-task-board.tsx

Shape

Function 230

Languages

TypeScript100%

Modules by API surface

components/companies/tasks/company-task-board.tsx17 symbols
components/ui/combobox.tsx16 symbols
components/companies/company-detail-workspace-panels.tsx16 symbols
components/ui/dropdown-menu.tsx15 symbols
components/companies/company-detail-drawer.tsx13 symbols
components/ui/alert-dialog.tsx12 symbols
components/ui/field.tsx10 symbols
components/companies/companies-grid.tsx10 symbols
components/ui/select.tsx9 symbols
components/people/people-grid.tsx9 symbols
components/companies/company-detail-sidebar.tsx8 symbols
components/ui/card.tsx7 symbols

For agents

$ claude mcp add gray-ui-crm \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact