Skip to content

feat(frontend): align report edit with the Razor wizard #792

Description

@Seme30

Part of #789.

Problem

Report edit does not read as the same product. Razor is a six-step wizard. Next.js is a single form.

Current gaps

On /reports/edit?id=16 (Daily Emergency Department Census):

  • Razor steps: Cancel, Description, Meta, Images, Maintenance, Complete. Description uses rich-text editors for description and key assumptions.
  • Next.js is one page: GitLab project URL, developer description, key assumptions, developer notes, executive visibility, hidden, terms, collections, image upload.
  • Seeded description and key assumptions do load on both. Do not save during comparison.

Frontend / Razor references

  • frontend/app/reports/edit/page.tsx
  • web/Pages/Reports/Edit.cshtml

Definition of done

  • Next.js report edit presents the same steps or an equivalent flow that still covers Description, Meta, Images, and Maintenance.
  • Seeded fields that Razor shows are present and loaded.
  • Typecheck, lint, and frontend tests cover the edit shell.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions