Skip to content

Sprint 15.2 — Add the image metadata adapter and view model #23

Description

@maruson08

Problem / motivation

Vendor-native metadata structures and errors must not leak throughout the UI.

Scope

Add the sole vendor import adapter and deterministic DOM-free view model for summaries, coverage states, grouped entries, bounded values, diagnostics, cleaning evidence, and verification evidence.

Non-goals

No generic recursive renderer, guessed schema, pixel decoding, Canvas, or locally duplicated cleaning policy.

Acceptance criteria

  • Only metadata.js imports the vendor artifact.
  • Adapter admits signature-validated JPEG/PNG/WebP under the 50 MiB app limit and normalizes stable errors.
  • Model preserves opaque versus decoded values, duplicate/unknown entries, exact rationals, partial-success semantics, and bounded display values.
  • Unit tests cover malformed/partial states and category mapping.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions