Repository navigation
Conversation
Contributor
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
BIA3IA
marked this pull request as draft
November 13, 2026 19:41
Brings in the web.documents router the documents page reads from. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Bound the upstream timeout to the response headers so slow downloads are no longer truncated, and cancel the upstream when the client leaves - Show an Italian, noindexed outage message on the viewer instead of Next's built-in error page - Give document titles room on 320px phones and wrap at word boundaries - Clamp long titles in the viewer, name the zoom level in the reset button, show a single alert when a page fails, enable PDF links - Merge fallback documents into an admin category with the same title Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
BIA3IA
marked this pull request as ready for review
November 13, 2026 22:50
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
/documents, where visitors browse official association documents, view PDFs and download them. The catalog reads categories and the latest dated PDF version from the backend; official public PDFs fill in documents that have not been uploaded yet.Requires backend #132 and its published npm types. Keep this PR in draft until
@polinetwork/backendhas been updated to that release. No local package paths or declaration patches are included.no-storeon the upstream fetch and all responses, so replacements and deletions take effect on subsequent requests.Validation: Biome, typecheck against the final local backend package, all 9 Node tests, and production build pass. Tests cover fallback merging, temporary outages, PDF caching/errors, ID collisions and canvas dimensions.
Admin dashboard: admin #162.
Design: https://www.figma.com/design/oSBlivb9Gm7H3ZkSdAtUHx/PoliNetwork-Website?node-id=6516-8013&m=dev
Review follow-up
@polinetwork/backend^9.3.0 (backend Navbar on Mobile #132 is merged and published).Validation: Biome, typecheck, production build and 12/12 Node tests pass. A local end-to-end run (admin → backend → site, with uploads served from local disk) covered: create, upload, reorder, version deletion, document and category deletion, and the backend being down.
🤖 Generated with Claude Code