npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@emberai-engg/task-board

v0.3.4

Published

Reusable Kanban task board component

Readme

@emberai-engg/task-board

Reusable Kanban task board component with built-in create/detail UI.

Installation

npm install @emberai-engg/task-board

Quick Start

No render props needed. The package ships with a complete UI out of the box:

import { TaskBoardProvider, TaskBoard } from '@emberai-engg/task-board';
import '@emberai-engg/task-board/styles.css';
import { apiClient } from './lib/api';

function App() {
  const user = useAuth();

  return (
    <TaskBoardProvider
      apiClient={apiClient}
      user={{
        username: user.username,
        name: user.name,
        email: user.email,
        apps: user.apps,
        is_internal: user.is_internal,
        is_reviewer: user.is_reviewer,
      }}
      projects={[
        { slug: 'my-project', name: 'My Project' },
      ]}
    >
      <TaskBoard onShareFeedback={() => router.push('/feedback')} />
    </TaskBoardProvider>
  );
}

This gives you:

  • Kanban board with drag-and-drop
  • Built-in CreateTaskModal (two-column layout with title, structured description, priority, status, tags)
  • Built-in TaskDetailPanel (slide-over with properties grid, description sections, activity timeline, comments with @mentions)
  • Notification bell with polling
  • Tag filtering
  • Share links
  • Loading skeletons and empty states

Props / Config Reference

TaskBoardProvider

| Prop | Type | Required | Description | |------|------|----------|-------------| | apiClient | ApiClient | Yes | Axios-like HTTP client with auth headers | | user | TaskBoardUser | Yes | Current logged-in user | | projects | Project[] | No | Available projects | | columns | ColumnConfig[] | No | Column definitions (defaults to 8-column kanban) | | priorities | PriorityConfig[] | No | Priority levels | | tags | TagConfig[] | No | Predefined tags | | apiBasePath | string | No | API prefix (defaults to /api/v1/taskboard) | | features | object | No | Feature flags for enabling/disabling features | | onTaskCreate | (task) => void | No | Callback on task creation | | onTaskUpdate | (task) => void | No | Callback on task update | | onTaskDelete | (id) => void | No | Callback on task deletion | | onError | (error) => void | No | Error handler callback |

TaskBoard

| Prop | Type | Description | |------|------|-------------| | className | string | CSS class for the outer container | | headerActions | ReactNode | Additional buttons in the header | | onShareFeedback | () => void | Callback for Share Feedback button. Hidden if omitted. | | onTaskOpen | (task) => void | Callback when a task is clicked | | renderTaskDetail | function | Override for task detail panel (built-in used if omitted) | | renderCreateTask | function | Override for create task modal (built-in used if omitted) |

Overriding built-in UI

If you need custom create/detail UI, pass render props:

<TaskBoard
  renderCreateTask={({ projectSlug, defaultStatus, onClose, onCreate }) => (
    <MyCustomCreateModal ... />
  )}
  renderTaskDetail={({ task, onClose, onUpdate }) => (
    <MyCustomDetailPanel ... />
  )}
/>

Using Individual Components

import {
  TaskCard, PriorityBadge, UserAvatar,
  CreateTaskModal, TaskDetailPanel,
  useTaskActions,
} from '@emberai-engg/task-board';

// Use hooks independently
function MyCustomUI() {
  const { createTask, moveTask } = useTaskActions(tasks, setTasks, fetchTasks);
  // ...
}

// Use small components
<PriorityBadge priority="high" />
<UserAvatar name="John Smith" size="sm" showTooltip />

Hooks API

| Hook | Purpose | |------|---------| | useTaskBoard() | Board state: projects, tasks, loading, pagination | | useTaskActions(tasks, setTasks, fetchTasks) | CRUD: create, update, delete, move tasks | | useTaskDetail(taskId) | Single task: comments, activity, field updates | | useShareLink() | Copy shareable task URLs |

Feature Flags

<TaskBoardProvider
  features={{
    dragAndDrop: true,      // Drag-and-drop between columns
    comments: true,         // Comment system
    mentions: true,         // @mention users
    notifications: true,    // Notification bell
    internalComments: true, // Internal-only comments
    tags: true,             // Tag system
    sharing: true,          // Shareable task links
    filters: true,          // Tag filtering
    unreadIndicators: true, // Unread dots on cards
  }}
/>

Development

npm install
npm run dev    # Watch mode
npm run build  # Production build
npm test       # Run tests

Backend

The backend-reference/ folder contains a Python FastAPI reference implementation for the task board API. Copy it into your app's backend and adapt the auth and database setup to match your app. See backend-reference/README.md for details.

License

Private — internal use only.