Skip to content

[P1] Report data model (Pydantic SSOT in base.py) #2

Description

@thorwhalen

Define the Report model — the single contract between the widget and the backend.

  • Report: id, created_at, category (bug|feature|question|other), title, body, page_url, env, screenshot_ref?, console?(opt-in), network?(opt-in), identity, origin, status
  • Identity: anon_id (default) + optional user; client IP used transiently for rate-limiting only, never stored as an id
  • Status enum: received → triaged → open(planned→started→completed) | declined | duplicate(of=…)
  • Environment / LogEntry / NetEntry submodels

Pydantic v2; module docstring (D100). Design: misc/docs/design.md (Data model) · Rationale: #1

Metadata

Metadata

Assignees

No one assigned

    Labels

    designArchitecture / designphase-1Phase 1 (core widget→issue)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions