Skip to content

Releases: monkvision/monkjs

v5.0.9

09 Apr 09:42
Compare
Choose a tag to compare

✨ New Features

  • Added close ups in wheel analysis task.
{
  name: "TaskName.WHEEL_ANALYSIS", 
  useLongShots: false
}

v5.0.8

26 Mar 09:57
Compare
Choose a tag to compare

🐞 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

05 Mar 10:47
Compare
Choose a tag to compare

✨ New Features

  • Added Odometer and Warning Lights tasks to network package

v5.0.6

03 Mar 11:40
Compare
Choose a tag to compare

👀 Other Changes

  • Removed preventExit in photoCapture

v5.0.4

27 Feb 17:23
Compare
Choose a tag to compare

🐞 Bug Fixes

  • Fixed startTasksOnComplete will trigger only when all pictures are ImageStatus.SUCCESS

v5.0.3

20 Feb 11:53
Compare
Choose a tag to compare

🐞 Bug Fixes

  • Resolved an issue where images_ocr was being passed incorrectly to the addImage request. The parameter is now correctly formatted to ensure proper image upload and processing.

v5.0.2

20 Feb 09:55
Compare
Choose a tag to compare

✨ 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

21 Jan 18:18
Compare
Choose a tag to compare

✨ New Features

  • Video Capture
    The new VideoCapture 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-page VideoCapture 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 in PhotoCaptureConfigApp has been replaced by the addDamage property.
    The new addDamage property accepts values from the AddDamage 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

13 Jan 15:36
Compare
Choose a tag to compare

✨ New Features

  • Video Capture
    The new VideoCapture 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-page VideoCapture 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 in PhotoCaptureConfigApp has been replaced by the addDamage property.
    The new addDamage property accepts values from the AddDamage 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}
/>

v4.5.6

30 Dec 14:59
Compare
Choose a tag to compare

🔧 Ajustments

  • Changed damage_detection to compliances in default tasks for "all" sights