@hansimb/fix-loop-widget
v0.1.2
Published
Reusable React widget for collecting anonymous problem reports into Supabase.
Maintainers
Readme
@hansimb/fix-loop-widget
Reusable React widget for collecting anonymous problem reports into Supabase.
Install
npm install @hansimb/fix-loop-widgetBasic Usage
import { AgenticFixLoop } from "@hansimb/fix-loop-widget";
export function App() {
return <AgenticFixLoop projectName="MiniMRP" />;
}Required Environment Variables
AGENTIC_FIX_LOOP_PROJECT_NAME=MiniMRP
NEXT_PUBLIC_AGENTIC_FIX_LOOP_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_AGENTIC_FIX_LOOP_SUPABASE_ANON_KEY=your-anon-keyComposable Usage
import {
AgenticFixLoopProvider,
ReportProblemButton,
ReportProblemModal,
} from "@hansimb/fix-loop-widget";Use the provider plus embedded trigger when you want the button in a footer, menu, or some other custom location.
