Skip to content

M6-01: Show decode/export confidence in the viewer #42

Closed

Description

@DrunkOnJava

Created from the roadmap audit in TODO.md.

Source: https://github.com/DrunkOnJava/rvt-rs/blob/main/TODO.md#L766
Tracking commit: 1ec8105

Scope

Labels: priority:P0, type:feature, area:viewer

  • Add a status panel that clearly says:
    • file opened
    • schema parsed
    • elements decoded
    • geometry decoded
    • IFC export quality
    • warnings/errors
  • Use plain user language.

Acceptance criteria:

  • Empty/scaffold-only output is clearly labelled before export.
  • Users can open diagnostics for details.

Definition of done

  • The TODO acceptance criteria for this section are implemented or explicitly superseded by a linked decision.
  • Tests, fixtures, or documentation are added at the level appropriate to the change risk.
  • User-facing behavior and limitations remain honest in README/docs/viewer messaging.
  • Relevant CI checks pass before the issue is closed.

Activity

  1. added
    area:viewer
    priority:P0
    type:feature
    on Apr 25, 2026
  2. DrunkOnJava commented on Apr 25, 2026

    @DrunkOnJava
    OwnerAuthor

    Starting implementation now.

    Plan:

    • Use the existing diagnostics payload from openRvtBytesWithDiagnostics.
    • Add a plain-language viewer status panel for file opened, schema parsed, elements decoded, geometry decoded, IFC export quality, and warnings.
    • Add a diagnostics details view so users can inspect/share the underlying sidecar data before export.
    • Validate with WASM build plus viewer typecheck/build and local quality checks.
  3. DrunkOnJava commented on Apr 25, 2026

    @DrunkOnJava
    OwnerAuthor

    Implemented in 2fd1527.

    Summary:

    • Added a right-side viewer status panel with plain-language rows for file opened, schema/model streams, validated elements, geometry, IFC export quality, and warnings.
    • Added expandable diagnostics details backed by the same JSON diagnostics payload as rvt-ifc --diagnostics.
    • Added diagnostics JSON download from the viewer so users can attach support evidence without using a CLI.
    • Reset export buttons/status while a new file is loading to avoid stale downloads.
    • Updated docs/status.md to reflect the viewer confidence panel.

    Local validation:

    • npm run typecheck in viewer/
    • npm run build in viewer/
    • git diff --check

    Browser note: a local Vite server could not be started in this sandbox (listen EPERM), and the escalation was rejected by the environment, so I could not complete a Playwright visual pass locally. The production Vite build completed successfully.

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

    area:viewerpriority:P0type:feature

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions