Files
soroban-abacus-flashcards/apps/web/src/components/decomposition/index.ts
Thomas Hallock e2816ae88b feat(vision): improve remote camera calibration UX
- Add dual-stream calibration: phone sends both raw and cropped preview
  frames during calibration so users can see what practice will look like
- Add "Adjust" button to modify existing manual calibration without
  resetting to auto-detection first
- Hide calibration quad editor overlay when not in calibration mode
- Fix rotation buttons to update cropped preview immediately
- Add rate limiting (10fps) for cropped preview frames during calibration
- Fix multiple bugs preventing dual-stream mode from working:
  - Don't mark calibration as complete during preview mode
  - Don't stop detection loop when receiving preview calibration
  - Sync refs properly in frame mode change effects

Also includes accumulated formatting and cleanup changes.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 10:51:59 -06:00

25 lines
627 B
TypeScript

// Decomposition Display Components
// Standalone decomposition visualization that works anywhere in the app
export {
DecompositionDisplay,
DecompositionSection,
} from './DecompositionDisplay'
export { ReasonTooltip } from './ReasonTooltip'
export type {
PedagogicalRule,
PedagogicalSegment,
TermReason,
} from './ReasonTooltip'
// Re-export the context and hooks from contexts
export {
DecompositionProvider,
useDecomposition,
useDecompositionOptional,
} from '@/contexts/DecompositionContext'
export type {
DecompositionContextConfig,
DecompositionContextType,
} from '@/contexts/DecompositionContext'