Skip to content

Repository files navigation

cc-feedback

In-product feedback capture: overlay UI, SDK, and API contract for issue and capability reports with optional text, voice, and screenshot.

Repo structure

WorkspacePurpose
packages/feedback-uiReact overlay (FeedbackOverlay) and capture controls
packages/feedback-sdk-coreShared types and validation
packages/feedback-sdk-webBrowser client and multipart submit
apps/reference-reactReference host app integrating @cc-feedback/ui
apps/mock-feedback-apiMock POST /v1/feedback for local development

Quick start

npm install
npm run -w @cc-feedback/mock-feedback-api dev # Terminal 1
npm run -w @cc-feedback/reference-react dev # Terminal 2

Open the reference app, trigger the feedback overlay, and submit an issue or capability report. Closing the overlay must unfreeze host interaction.

Scripts

CommandDescription
npm run buildBuild all workspaces
npm run testRun tests
npm run test:watchRun tests in watch mode
npm run lintLint
npm run typecheckTypeScript check

Documentation

Source of truth lives in docs/feedback/:

  • README — Doc index and cross-doc invariants
  • UI plan — Overlay lifecycle, state model, accessibility, host integration
  • API contractPOST /v1/feedback multipart schema, validation, errors
  • Infrastructure — Anti-spam, retention, moderation, rollout
  • Runbook — Local smoke test, failure modes, playbooks, abuse response

Read in order: UI → API → Infra → Runbook.

Contract highlights

  • Overlay: Open/close freezes and unfreezes host interaction; client.open() / client.close() are required.
  • Submit: At least one of text or audio is required; metadata is JSON in multipart form-data.
  • Issue reports require browserInfo and logsWindow; capability reports do not.

License

Private.

About

In-product feedback capture: overlay UI, SDK, and API contract for issue and capability reports with optional text, voice, and screenshot.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages