PolicyEngine / PolicyEngine/policyengine-app-v2

Finish report-output loading, breadcrumb, and Plotly isolation fixes

Open
#941 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
1
Forks
3
Avg merge
1d 50m
Merged PRs (30d)
39

Description

Most of the original report-output action and navigation work is now implemented: shared reports expose safe actions, setup is read-only for shared sources, and navigation uses canonical report paths.

The remaining code-level defects are:

  • Setup and report-output routes still render blocking Loading report... states instead of using available cached data immediately.
  • The reproduce breadcrumb derives its label from the report name or ID, producing Back to [report] instead of Back to report output.
  • SocietyWideOverview still imports react-plotly.js statically in a module rendered by a Next route; isolate Plotly behind a client-only dynamic boundary so server rendering does not evaluate it.

Update focused tests for each remaining behavior.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the setup and report-output routes, the reproduce breadcrumb, and SocietyWideOverview, then inspect their focused tests. Verify cached data renders without blocking loading states, the breadcrumb says “Back to report output,” and Plotly is isolated behind a client-only boundary so the Next route can server-render safely.

Written by the indexing model from the issue text.

Assessment

Tech stack
next.js, plotly, react
Domain
frontend, testing, web-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.