Skip to content

feat(content): complete participation metadata and improve content views - #1119

Merged
tiankaima merged 1 commit into
mainfrom
feat/content-metadata-ui
Sep 24, 2026
Merged

tiankaima merged 1 commit into
mainfrom
feat/content-metadata-ui

Conversation

@tiankaima

@tiankaima tiankaima commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

News and Second Classroom detail pages omit useful upstream metadata, and unknown registration counts appear as zero. This change persists the missing product fields and shows participation requirements, meeting details, attribution and readable attachment names.

  • Add typed YoungEvent source IDs/codes, registration scope IDs, signup-information and online flags, meeting text, attachment extensions and external organizer. Keep opaque identifiers distinct from labels. Backfill existing raw snapshots and retain rawJson.
  • Carry reporter/editor/original publisher, image alt/title/caption and attachment filename/source URL through revision ingestion and public REST. Revision replay rejects changed metadata under an existing hash. News stays REST/Web as defined in its contract.
  • Show key participation details before long descriptions, preserve unknown counts and partial time ranges, render complete posters, and use readable mobile news cards. Add escaped image captions without duplicating captions already in Markdown.

Validation: full unit suite (3,105 tests before the final caption regression test, which also passes); Svelte and all three TypeScript checks; OpenAPI/GraphQL generation; production build; disposable PostgreSQL migrations and import/MCP integration (14 tests); desktop/mobile browser flows (14 tests). Wrangler types match. New schema migrations run only against an isolated local test database during this work.

Crawler transport and extraction are updated in a companion crawler PR. Bot, CLI and iOS presentation/model changes follow with generated contracts pinned to the merged server commit. Search implementation remains a later task.

Visual evidence from the same disposable fixtures. iOS visual evidence needs a macOS simulator.

View Before After

| Young detail (mobile) | | |
| News list (mobile) | | |
| News detail (desktop) | | |

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
life-ustc 28115eb Sep 24 2026, 09:30 AM

@github-actions

Copy link
Copy Markdown
Contributor

@tiankaima
tiankaima merged commit ab9b081 into main Sep 24, 2026
30 checks passed
@tiankaima
tiankaima deleted the feat/content-metadata-ui branch September 24, 2026 09:41
github-actions Bot pushed a commit that referenced this pull request Sep 24, 2026
# [1.121.0](v1.120.4...v1.121.0) (2026-09-24)

### Features

* **content:** complete participation metadata and improve content views ([#1119](#1119)) ([ab9b081](ab9b081))
@github-actions

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.121.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant