Skip to content

docs: correct frontend drift (Blazor is the deployed UI) + add TestSupport#52

Merged
ANcpLua merged 1 commit into
mainfrom
docs/cleanup-frontend-drift
Jun 4, 2026
Merged

docs: correct frontend drift (Blazor is the deployed UI) + add TestSupport#52
ANcpLua merged 1 commit into
mainfrom
docs/cleanup-frontend-drift

Conversation

@ANcpLua

@ANcpLua ANcpLua commented Jun 4, 2026

Copy link
Copy Markdown
Owner

What

Truth-drift pass on the repo docs after this session's merged work (#48 Blazor pipeline, #49#51 test infra).

  • AGENTS.md / README.md: Blazor was described as a "WIP scaffold, not in slnx, not built by CI" and the wwwroot/ SPA as the production demo UI. Both are now wrong — corrected across intro, layout, build/test, CI, the mermaid diagram, the Rating-Matrix row, and the stack table.
  • Layout: added Paperless.TestSupport/ (shared test lib from test: shared TestSupport infrastructure (template-method base + builders + RAII cleanup) #49).
  • ci.yml: replaced the stale "Blazor is scaffold-only, re-add it to Paperless.slnx" comment (it contradicted the file's own header and reality).
  • docs/superpowers/: removed the 3 completed plan/spec artifacts for the now-merged Blazor + test-infra work.

Why it's accurate now (verified against ground truth)

  • Paperless.slnx contains PaperlessUI.Blazor.csproj → compiled by the backend NUKE/CI job (saw it in ./build.sh Compile output).
  • compose.yaml has a paperless-blazor service built from PaperlessUI.Blazor/Dockerfile.
  • docker/nginx.conf: location /proxy_pass http://paperless-blazor (Interactive Server + SignalR upgrade). No nginx location serves the wwwroot SPA at / anymore.
  • PaperlessREST still calls UseStaticFiles(), so wwwroot/ still ships — it's the original SPA Blazor ported from, not the deployed demo root.

Verification

Docs + one YAML comment + doc deletions — no code/test surface touched. ci.yml re-parses as valid YAML. CLAUDE.md is a symlink to AGENTS.md, so it's updated transitively.

🤖 Generated with Claude Code

…pport

AGENTS.md/README.md still called Blazor a "WIP scaffold, not in slnx, not built
by CI" and the wwwroot SPA the production demo UI. Reality (merged #48):
Paperless.slnx contains PaperlessUI.Blazor + a paperless-blazor compose service
with a Dockerfile, and nginx routes / to the Blazor app (Interactive Server,
SignalR). Blazor is the deployed demo UI — a vanilla port of the wwwroot SPA
that replaced it at the root (wwwroot still ships via UseStaticFiles). Also add
Paperless.TestSupport (#49) to the layout and fix the stale "scaffold-only,
re-add to slnx" comment in ci.yml.

Remove the completed superpowers plan/spec docs for the now-merged Blazor and
test-infrastructure work — the merged PRs + code are the record.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 4, 2026 15:42

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Aligns repository documentation and CI commentary with the current “ground truth” after recent merges: Blazor (Interactive Server) is now the deployed demo UI behind nginx /, Paperless.TestSupport/ exists as shared test infrastructure, and the old PaperlessREST/wwwroot SPA is no longer the nginx root (but still ships via UseStaticFiles()).

Changes:

  • Update README.md and AGENTS.md to reflect the Blazor demo UI deployment path, solution membership, and CI build behavior; add Paperless.TestSupport/ to the documented repo layout.
  • Refresh the CI workflow comment to remove the outdated “Blazor scaffold-only” guidance (no functional workflow changes).
  • Remove now-obsolete “superpowers” plan/spec artifacts for already-merged work.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
README.md Corrects UI/CI/docs drift: Blazor is the demo UI served at / behind nginx; wwwroot is legacy and still served by REST via UseStaticFiles; adds Paperless.TestSupport to layout.
AGENTS.md Updates repo guide to match current UI deployment and build/test layout (Blazor in Paperless.slnx, compiled by backend CI; React/Angular built separately).
.github/workflows/ci.yml Replaces a stale comment about Blazor being scaffold-only with an accurate note that it’s built via the NUKE pipeline.
docs/superpowers/specs/2026-06-04-test-infrastructure-uplift-design.md Deletes completed/obsolete design spec artifact for merged test-infra uplift work.
docs/superpowers/specs/2026-06-04-blazor-document-pipeline-design.md Deletes completed/obsolete design spec artifact for merged Blazor work.
docs/superpowers/plans/2026-06-04-blazor-document-pipeline.md Deletes completed/obsolete implementation plan artifact for merged Blazor work.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov

codecov Bot commented Jun 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@ANcpLua ANcpLua merged commit a250dd3 into main Jun 4, 2026
7 checks passed
@ANcpLua ANcpLua deleted the docs/cleanup-frontend-drift branch June 4, 2026 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants