CustomersPage (page.tsx)

owly · src/app/(dashboard)/customers/page.tsx · typescript · MIT
ui, search, crm, tag:customer-list, tag:conversation-history, tag:multi-channel

Displays customer list with search, pagination, tags, notes, and conversation history across WhatsApp/email/phone channels.

// Source: https://github.com/Hesper-Labs/owly | License: MIT | Copyright 2026 Owly
// Provided via justclaw.it.com; keep this notice with the code.
"use client";

import { Header } from "@/components/layout/header";
import {
  Search,
  Plus,
  X,
  ChevronLeft,
  ChevronRight,
  Edit3,
  Trash2,
  ShieldOff,
  ShieldAlert,
  MessageSquare,
  StickyNote,
  Send,
  Mail,
  Phone,
  MessageCircle,
  Contact,
  Clock,
  User,
} from "lucide-react";
import { useState, useEffect, useCallback } from "react";
import { cn, formatDate, getStatusColor, getChannelLabel } from "@/lib/utils";

// ---------- Types ----------

interface CustomerNoteData {
  id: string;
  customerId: string;
  content: string;
  authorName: string;
  createdAt: string;
}

interface ConversationData {
  id: string;
  chan

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key