All blocks

App template

Issue tracker

Triage issues with the keyboard in saved views, move work across a board, and discuss any issue on its own page.

13 records
Keyboard shortcuts
JDown arrow
Next record
KUp arrow
Previous record
Shift JShift K
Extend the selection
X
Select or unselect
Space
Peek at the record; Escape closes it
Return
Open the record
S
Change Status on the focused or selected records
P
Change Priority on the focused or selected records
A
Change Assignee on the focused or selected records
L
Change Label on the focused or selected records
Escape
Clear the selection

Use this template

Installs the whole app into your project: its pages, routes, services with sample data, agent tools and the browser entry. Every file is yours to edit.

npx shadcn@latest add checkfu/uicontext/issue-tracker
  1. Run itLoad from your page’s script. It builds the app with createApp: the browser’s router, the agent tools, an offline notice, and sign-in when you turn it on. Inside an app that already routes, render IssueTracker, which brings its own in-memory router.
  2. Connect your backendEvery read and write goes through Issues in . Implement it over your API and point IssuesLive at your Layer.
  3. Make it yoursPages are one file per route. Delete the ones you don’t need, and the sample data in .

Screens

  • Issues

    /

    The first saved view, grouped by status. j/k to move, c to create, ⌘K to jump.

  • Saved view

    /views/:view

    Any saved view as a list or a board, with its filter, sort, grouping and fields.

  • Issue

    /issues/:id

    One issue: fields edited in place, a description that saves as you type, history and comments.

Where your backend plugs in

Pages never call a backend. They read through the queries in queries/ and write through Commands kept beside the component that runs them; both capture the Issues service. Implement its interface in over HTTP, a sync engine or a database client, then change one line:

export const IssuesLive = Issues.sample
// becomes your Layer, such as
export const IssuesLive = Layer.effect(Issues, makeHttpIssues)

The root provides it once, so every page shares one instance. Sign-in is one line: delete auth: false in once your backend serves the session routes, and the sidebar shows who signed in.

What to delete

  • services/seed.ts, and Issues.sample in services/Issues.ts
  • The saved views you don’t want in services/seed.ts
  • Board support: drop "board" from the layouts in pages/IssuesPage.ts

To drop a screen, delete its file in pages/ and its route in ; TypeScript points at every link that still prints it. The agent tools are in .