@instafix/dashboard
v0.3.2
Published
Linear-style triage inbox React component for InstaFix feedback
Maintainers
Readme
@instafix/dashboard
A Linear-style triage inbox for your InstaFix feedback.
<InstaFixInbox /> is a keyboard-first React component that lists every feedback your clients sent through @instafix/widget — annotated screenshots re-rendered as the client framed them, status triage (open / in progress / resolved / won't fix) with undo, search, and deep links back to the live page.
Part of InstaFix — documentation.
Install
npm install @instafix/dashboardReact 18 or 19 (peer dependency). Ships ESM and CJS, zero runtime dependencies besides React.
Quick start
import { InstaFixInbox } from "@instafix/dashboard";
<InstaFixInbox
projects="my-app"
endpoint="/api/instafix"
apiKey={KEY}
theme="auto"
/>Give it a container with a height — it fills its parent (min 480 px) and adapts to the container's width, not the viewport.
Prefer your own UI? All the logic — fetching, filters, optimistic mutations, undo, pagination — is exposed as a headless hook:
const inbox = useInstaFixInbox({ projects: "my-app", endpoint: "/api/instafix" });Highlights
- Keyboard-first —
j/knavigate,e/p/xtoggle statuses,uundo,/search,?shows the cheat sheet - Three data modes — HTTP
endpoint, in-processstore, or a fully custom 3-methodsource(tRPC/GraphQL/server actions) - Themeable without Shadow DOM — scoped
ifd-classes and--ifd-*CSS variables; light/dark/auto with live system-theme tracking - 8 built-in locales (Korean is the default) plus runtime custom locales via
registerLocale
Documentation
Props, headless API, theming variables with the correct override selectors, custom sources: instafix.realstory.blog/docs/dashboard.
