New
Apps 6,419Makers 6,403This week 7
Promote your app−30%
4views in
the last 30 days

Issue Logger

Team issue tracker with an error ingestion API: Kanban board, roles, SLAs

Built with Claude Code

by abiks06 · Unclaimed · from GHGhana · added Oct 29, 2026
no ratings0 comments

A team issue tracker with a built-in error ingestion API. Plan work on a Kanban board, triage in a filterable list, discuss in threaded comments with @mentions, and let your own services report crashes straight into a project — repeats are grouped into one issue, and an error that comes back after it was fixed reopens itself as a regression.

Live app

What's new in v2

v1 was a single-user list of issues. v2 rebuilds it around teams and automation:

v1 v2
Organisation One flat list per user Projects with short keys (API-42), per-project numbering
Collaboration Single user Members with Owner / Admin / Member / Viewer roles
Workflow Open → In progress → Closed Backlog → Todo → In progress → In review → Done / Canceled
Views List Drag-and-drop board, filterable list with bulk edits, insights
Issue fields Title, description, priority + type, assignee, labels, due date, estimate
History — Full activity timeline and Markdown comments
Notifications — Inbox for assignments, mentions, comments, status changes and regressions
Automation — Ingestion API with fingerprint grouping and regression detection
Navigation Navbar Sidebar, ⌘K command palette, keyboard shortcuts
Export — CSV export that honours the current filters
Integrations — Signed webhooks (Slack, Discord or any endpoint) and email notifications

Features

  • Projects and roles. Each project has a key, colour, labels and members. Invite teammates by email; people without an account get an invite and join automatically when they sign up. Viewers read, members edit and comment, admins manage settings, members, labels and API keys, owners can delete. Every server action re-checks the role; non-members get a 404 so project keys can't be probed.
  • Board. Columns per status with drag-and-drop ordering (fractional positions, so a move rewrites one row). Moves are optimistic and roll back if the server refuses. Quick-add issues straight into a column, filter cards by text or "assigned to me", and see sub-issue progress on each card.
  • List. Search (title, body, #number or KEY-123), filter by status, priority, type, assignee and label, sort five ways, paginate. All state lives in the URL, so filtered views can be bookmarked. Save any filter combination as a named view. Select rows to change status, priority or assignee in bulk, or delete. Keyboard: j/k to move, x to select, Enter to open.
  • Issue page. Markdown editor with a formatting toolbar and shortcuts, templates per issue type, inline property editing, sub-issues with a progress bar, a parent picker that refuses cycles, editable comments with @mention autocomplete, a copy-branch-name button, and a timeline of every change.
  • SLA tracking. Response and resolution targets per priority (sensible defaults on every new project, editable under Settings → Workflow). Each issue shows both clocks; cards and rows flag issues at risk (last 25% of the window) or breached; the list can filter by SLA state; Insights reports hit rates per priority. Response stops when work starts or someone other than the reporter comments; resolution stops at Done. Clocks run on wall-clock time.
  • SLA alerts. Assignees (or project admins, for unassigned work) get an Inbox alert when an issue goes at risk and again when it breaches. Changing targets re-baselines silently, so turning SLAs on doesn't alert on the whole backlog.
  • Velocity. Estimate points completed per week over the last 12 weeks, a 4-week rolling average, and a forecast of how long the open estimated backlog will take. No sprints required.
  • Board totals. Each column header shows its estimate points.
  • WIP limits. Optional per-column limits on the board. A column at its limit turns amber, over it turns red, and moving work into a full column shows a warning (moves aren't blocked).
  • Issue preview. Click an issue in the list to open it in a side panel and change status, priority or assignee without leaving the list (Ctrl/Cmd-click or Enter opens the full page; p toggles the preview).
  • Inbox. Notifications for assignments, mentions, comments on issues you reported or own, status changes and regressions. Opening an issue clears its notifications.
  • Insights. A priority × status heatmap of open work (each cell links to the matching list), a breakdown by issue type, the created-vs-resolved chart for the last 30 days, net flow, median time to resolve, overdue count, breakdowns by status, priority and assignee, and the most frequent reported errors.
  • My work. Everything assigned to you across projects, grouped by status, with overdue and due-this-week counts and recent activity.
  • Ingestion API. See below, with copy-paste snippets for curl, Node.js and Python under Settings → API keys.
  • Webhooks. Post new issues, status changes, comments, regressions and SLA breaches to Slack, Discord or your own endpoint. See below.
  • Email notifications. Each person chooses which Inbox notifications are also emailed (Account → Email notifications). Assignments, mentions, regressions and SLA breaches are on by default.
  • Getting started. New accounts get a setup checklist on My work and can create a sample project full of example issues to explore before setting up their own.
  • Accounts. Email/password sign-up with email verification, password reset, profile and password change, JSON export of your data, and self-service account deletion. Sessions last 30 days from your last visit (or 12 hours idle if you untick "Keep me signed in"), and "Sign out other devices" or a password change revokes every other session.
  • Polish. ⌘K / Ctrl+K command palette, c to create, / to search, g i / g p / g h to navigate. Pages refresh themselves every 30 seconds and when you return to the tab, so you see teammates' changes. Loading skeletons on every main view. Light, dark and system themes. Works down to phone width.

Ingestion API

Create a key under Project → Settings → API keys. Keys are shown once and stored only as SHA-256 hashes.

curl -X POST https://your-app/api/v1/events \
  -H "Authorization: Bearer il_your_key" \
  -H "Content-Type: application/json" \
  -d '{
    "title": "TypeError: Cannot read properties of undefined",
    "level": "error",
    "environment": "production",
    "message": "Checkout failed for order 1234",
    "stacktrace": "at submitOrder (src/checkout.ts:42:13)",
    "metadata": { "orderId": 1234 }
  }'
Field Notes
title Required.
level fatal, error (default), warning or info. Sets priority (Urgent → Low); fatal creates an Incident.
message, stacktrace, metadata Rendered into the issue description.
environment Shown on the issue.
fingerprint Optional grouping key. Without it, events are grouped by title (digits ignored) plus the top stack frame (line numbers ignored), so "timeout after 3012ms" and "timeout after 2990ms" land on the same issue.

Responses: 201 for a new issue, 200 for a repeat (occurrences incremented). If the matching issue is Done or Canceled it moves back to Todo, logs a regression on its timeline and notifies the assignee and reporter ("regressed": true). 401 for a missing/revoked key, 422 for an invalid body, 429 past 120 requests per minute per key.

GET /api/v1/issues?status=TODO,IN_PROGRESS&limit=50 returns the key's project issues.

Webhooks

Admins add webhooks under Project → Settings → Webhooks and pick which events to send: issue.created, issue.status_changed, comment.created, issue.regressed and sla.breached. Slack and Discord incoming-webhook URLs are detected and sent a formatted message; any other URL gets JSON:

{
  "event": "issue.status_changed",
  "occurredAt": "2026-10-24T09:30:00.000Z",
  "project": { "key": "API", "name": "Public API" },
  "actor": "Ada",
  "issue": { "key": "API-42", "number": 42, "title": "Checkout times out", "status": "IN_REVIEW", "priority": "HIGH", "url": "https://your-app/projects/API/issues/42" },
  "data": { "from": "IN_PROGRESS", "to": "IN_REVIEW" }
}

Each request carries X-IssueLogger-Event, X-IssueLogger-Timestamp and X-IssueLogger-Signature: sha256=<hex>, the HMAC-SHA256 of <timestamp>.<raw body> with the webhook's secret (shown once, when the webhook is created). Verify it and reject old timestamps:

import { createHmac, timingSafeEqual } from "node:crypto";

function verify(rawBody, headers, secret) {
  const ts = headers["x-issuelogger-timestamp"];
  if (Math.abs(Date.now() / 1000 - Number(ts)) > 300) return false;
  const expected = "sha256=" + createHmac("sha256", secret).update(`${ts}.${rawBody}`).digest("hex");
  const given = headers["x-issuelogger-signature"] ?? "";
  return given.length === expected.length && timingSafeEqual(Buffer.from(given), Buffer.from(expected));
}

Events are written to an outbox in the same transaction as the change, so a webhook never fires for a change that rolled back. Failed deliveries are retried with backoff (after 30 s, 2 min, 8 min, 32 min and about 2 h, so six attempts in all). Settings shows each webhook's last result and recent deliveries, and Send test posts a webhook.test event straight away.

Self-monitoring

Issue Logger can report its own server errors into one of its projects. Create a project (say OPS), create an API key in it, and set SELF_MONITOR_API_KEY to that key. Every uncaught server error is then sent to /api/v1/events, grouped by route and error, with the stack trace. Query strings and headers are never sent. Set SELF_MONITOR_URL to report to a different Issue Logger instance.

Tech stack

Layer Tools
Framework Next.js 16 (App Router, Server Actions, Proxy), React 19 with the React Compiler, TypeScript
Data PostgreSQL, Prisma 7 with the pg driver adapter
Auth Auth.js (NextAuth v5) credentials provider, bcrypt
Validation Zod 4, shared by client forms, server actions and the API
Email Resend API or any SMTP server via Nodemailer
UI Tailwind CSS 4, Lucide icons, next-themes, react-markdown + GFM, react-hot-toast
Tests Vitest

Project layout

actions/          Server actions (auth, projects, issues, session)
app/(app)/        Signed-in pages: My work, inbox, projects, board, list, issue, insights, settings
app/auth/         Sign-in, sign-up, verification and password reset
app/api/v1/       Ingestion and read API (API-key auth)
components/       UI: app shell, command palette, board, issue views, charts, settings
lib/              Access control, permissions, validation, filters, ordering, ingestion, analytics
prisma/           Schema, migration and demo seed
tests/            Unit tests for the pure logic in lib/

Running locally

  1. Install dependencies and generate the Prisma client:

    npm install
    npx prisma generate
    
  2. Start Postgres. Any Postgres 14+ works; with Docker:

    docker run -d --name issue-logger-pg -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=issue_logger -p 54329:5432 postgres:17-alpine
    

    (prisma dev also starts a local database, but its PGlite-based server dropped connections under the app's concurrent queries during testing, so a real Postgres is recommended.)

  3. Copy .env.example to .env and fill it in. Without mail settings, accounts created in development are verified automatically.

  4. Apply the schema, load demo data and start the dev server:

    npx prisma migrate deploy
    npm run db:seed
    npm run dev
    

    The seed creates two projects (WEB, PAY) and three demo users; their sign-in details are at the top of prisma/seed.ts.

Scripts

Script What it does
npm run dev / build / start Next.js
npm test Unit tests (permissions, ordering, filters, ingestion grouping, activity diffs, analytics, CSV)
npm run typecheck / lint TypeScript and ESLint
npm run db:migrate / db:deploy Prisma migrations
npm run db:seed Replace the demo users and projects

GitHub Actions (.github/workflows/ci.yml) runs typecheck, lint, unit tests, every migration against a fresh Postgres 17, a check that schema.prisma has no changes missing a migration, and a production build on each push to master and each pull request.

SLA alerts in production

Alerts are swept at most once a minute after page loads, and the same sweep sends due webhooks and emails. For alerts while nobody is using the app, set CRON_SECRET and call GET /api/cron/sla with Authorization: Bearer <CRON_SECRET> from any scheduler (Vercel Cron, GitHub Actions, cron + curl) every few minutes.

Upgrading from v1

v2 doesn't upgrade a v1 database in place (see docs/DECISIONS.md, decisions 1 and 13). Instead, deploy v2 to a new database and copy your v1 data across. The v1 database is only read, so it stays as a backup.

npx prisma migrate deploy                                   # create the v2 schema in the new database
npm run migrate:v1 -- --source "postgresql://…v1…" --dry-run   # preview what will be imported
npm run migrate:v1 -- --source "postgresql://…v1…"             # import
  • Every v1 account comes across with the same email and password.
  • v1 issues were private to their author, so each user gets a private project they own (they can invite others afterwards).
  • Statuses map Open → Todo, In progress → In progress, Closed → Done; priority Critical becomes Urgent.
  • Issues whose author was deleted are skipped unless you pass --orphans-to owner@example.com.
  • The script refuses to run twice into the same v2 database.

Security notes

  • Sessions are signed JWT cookies re-issued on each request. Every five minutes the token is checked against the user's sessionVersion, so revoking sessions or resetting a password signs other devices out within minutes.
  • Passwords are hashed with bcrypt (cost 12). Login is rate-limited per email, unknown emails are checked against a dummy hash so timing doesn't reveal which accounts exist, and verification state is only revealed after the password matches.
  • Email verification and password reset tokens are single-use, expire, and are stored as SHA-256 hashes. Verification needs a click, so mail scanners can't consume the link.
  • API keys are stored as hashes, can be revoked, and are rate-limited. CSV export neutralises spreadsheet formulas.
  • The migration enables Row Level Security with no policies on every table. The app connects as the table owner and is unaffected; on Supabase this closes the tables to the public REST roles.
  • Login, email and API rate limits are stored in Postgres (keys hashed), so they hold across every server instance.
  • API routes are private by default: the proxy rejects signed-out requests except for the self-authenticating routes listed in proxy.ts.
  • The server checks its environment at startup and refuses to start in production with missing or malformed required settings.
  • Webhook URLs must be HTTPS in production and may not point at private, loopback or link-local addresses; the host is re-resolved before every delivery (so DNS can't be switched to an internal address later) and redirects aren't followed. Payloads carry issue titles, status and priority, never descriptions; comment events include the first 280 characters of the comment.
  • Deleting an account removes the user, their tokens and every project where they were the only member. It's refused while they're the sole owner of a project other people use.

Description taken from the repository README.

Ratings

–
0 ratings
5 0
4 0
3 0
2 0
1 0

Rate this app

Sign in to rate

Comments 0

Sign in to comment

No comments yet.

Related apps

#issue-tracker · #kanban · #api