Releases: monkvision/monkjs
Releases · monkvision/monkjs
v5.0.9
v5.0.8
🐞 Bug Fixes
- Posthog analytics user id is now set to a default unique distinct_id.
- The font is now inherited from the parent element, enabling better customization and consistency across the component PhotoCapture.
👀 Other Changes
- Updated thumbnailDomain: Changed to "api.preview.monk.ai/image_resize". (older domain will be deprecated)
v5.0.7
v5.0.6
v5.0.4
v5.0.3
v5.0.2
✨ New Features
- Added Sight guidelines EPHEMERAL option. It will allow the user to hide (for 48h) the guideline for all the next inspections capture.
- Allow PhotoCapture to auto validate the inspection (must be compliant inspection). To enable it:
startTasksOnComplete = true
v5.0.0
✨ New Features
- Video Capture
The newVideoCapture
simplifies the process of capturing vehicle inspection images by guiding users to record a walkaround video of their vehicle:
Highlights:
• Supports automatic frame selection for optimal image quality.
• Includes warnings for fast walking and phone shaking, enhancing video stability.
• Configurable minimum recording duration and retry logic for failed uploads.
• Easy integration with a single-pageVideoCapture
component.
Usage:
import { VideoCapture } from '@monkvision/inspection-capture-web';
const apiDomain = 'api.preview.monk.ai/v1';
export function MonkVideoCapturePage({ authToken }) {
return (
<VideoCapture
inspectionId={inspectionId}
apiConfig={{ apiDomain, authToken }}
onComplete={() => { /* Navigate to another page */ }}
/>
);
}
- Damage Disclosure
The DamageDisclosure is designed to guide users in documenting vehicle damages through detailed close-up images. This feature supports two sub-workflows:
• Part-selection: Users select a damaged part on a vehicle wireframe before capturing close-up photos.
• Two-shot: Users capture a wide shot of the vehicle followed by a close-up image of the damage.
Highlights:
• Easy integration with the DamageDisclosure component.
• Configurable image quality, resolution, and compliance settings.
• Supports callbacks for picture-taking and workflow completion.
Usage:
import { DamageDisclosure } from '@monkvision/inspection-capture-web';
const apiDomain = 'api.preview.monk.ai/v1';
export function MonkDamageDisclosurePage({ authToken }) {
return (
<DamageDisclosure
inspectionId={inspectionId}
apiConfig={{ apiDomain, authToken }}
onComplete={() => { /* Navigate to another page */ }}
/>
);
}
- Added "teslam3" sight
❗ Breaking Changes
- The
enableAddDamage
boolean property inPhotoCaptureConfigApp
has been replaced by theaddDamage
property.
The newaddDamage
property accepts values from theAddDamage
enum, providing more flexibility for specifying the damage capture workflow.
// Before:
<PhotoCapture
enableAddDamage={true}
// After:
import { AddDamage } from '@monkvision/inspection-capture-web';
<PhotoCapture
addDamage={AddDamage.PART_SELECT}
/>
### 🐞 Bug Fixes
- Fixed PhotoCapture tutorial portrait responsive behavior
- Fixed wrong vehicle part labels
v4.6.0
✨ New Features
- Video Capture
The newVideoCapture
simplifies the process of capturing vehicle inspection images by guiding users to record a walkaround video of their vehicle:
Highlights:
• Supports automatic frame selection for optimal image quality.
• Includes warnings for fast walking and phone shaking, enhancing video stability.
• Configurable minimum recording duration and retry logic for failed uploads.
• Easy integration with a single-pageVideoCapture
component.
Usage:
import { VideoCapture } from '@monkvision/inspection-capture-web';
const apiDomain = 'api.preview.monk.ai/v1';
export function MonkVideoCapturePage({ authToken }) {
return (
<VideoCapture
inspectionId={inspectionId}
apiConfig={{ apiDomain, authToken }}
onComplete={() => { /* Navigate to another page */ }}
/>
);
}
- Damage Disclosure
The DamageDisclosure is designed to guide users in documenting vehicle damages through detailed close-up images. This feature supports two sub-workflows:
• Part-selection: Users select a damaged part on a vehicle wireframe before capturing close-up photos.
• Two-shot: Users capture a wide shot of the vehicle followed by a close-up image of the damage.
Highlights:
• Easy integration with the DamageDisclosure component.
• Configurable image quality, resolution, and compliance settings.
• Supports callbacks for picture-taking and workflow completion.
Usage:
import { DamageDisclosure } from '@monkvision/inspection-capture-web';
const apiDomain = 'api.preview.monk.ai/v1';
export function MonkDamageDisclosurePage({ authToken }) {
return (
<DamageDisclosure
inspectionId={inspectionId}
apiConfig={{ apiDomain, authToken }}
onComplete={() => { /* Navigate to another page */ }}
/>
);
}
❗ Breaking Changes
- The
enableAddDamage
boolean property inPhotoCaptureConfigApp
has been replaced by theaddDamage
property.
The newaddDamage
property accepts values from theAddDamage
enum, providing more flexibility for specifying the damage capture workflow.
// Before:
<PhotoCapture
enableAddDamage={true}
// After:
import { AddDamage } from '@monkvision/inspection-capture-web';
<PhotoCapture
addDamage={AddDamage.PART_SELECT}
/>