Skip to content

Modernize List Formatting gallery with Astro - #1039

Merged
VesaJuvonen merged 3 commits into
pnp:masterfrom
VesaJuvonen:astro-gallery-modernization
Oct 29, 2026
Merged

VesaJuvonen merged 3 commits into
pnp:masterfrom
VesaJuvonen:astro-gallery-modernization

Conversation

@VesaJuvonen

@VesaJuvonen VesaJuvonen commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor
Q A
Bug fix? Yes - JSON syntax, thumbnail casing/paths, stale links, metadata dates, and catalog drift
New sample? No - modernizes discovery and adoption of the existing samples
Related issues? None

What's in this Pull Request?

Adds a static Astro gallery for SharePoint and Microsoft Lists formatting, covering all 382 sample folders and 551 JSON definitions.

List Formatting gallery preview

  • SharePoint branding, Lists-inspired visuals, community-first navigation, light/dark themes, responsive layouts, and searchable/filterable sample cards.
  • Sample-specific pages with complete JSON, variant selection, copy/download actions, setup guidance, source links, related formats, and schema-review notes.
  • Contributor GitHub profile images, the correct Community Contributor badge, What's new, and community-call/YouTube promotion.
  • Preserved guide/grouping routes, historical reference headings, supporting sample assets, and the working deprecated HTML-to-Formatter tool.
  • Strict JSON and exact-case asset/link validation, offline schema snapshots, byte-identical download checks, read-only PR validation, and a manual-only Pages workflow.
  • Sample/template/catalog repairs, removal of obsolete documentation publishing files, a user-focused README with a real gallery preview, and a separate GALLERY-DEVELOPMENT.md.
  • Updated work tracking, portable quality fingerprints, and documented first-cutover rollback information.

The site requires no new database, paid search, application backend, or Azure resources. Visitor-image tracking is opt-in and disabled by default; session replay is not included.

Validation

The implementation passed the fork's Linux validation workflow and the upstream validation workflow, including clean dependency installation, content/model checks, production build, and desktop/mobile browser tests.

Command Result
npm ci Passed in fork GitHub Actions on Ubuntu
npm run validate:samples Passed - 382 samples, 551 definitions, relative references, exact-case thumbnails, and README trackers validated
npm test Passed - 12 tests, including all-definition download byte fidelity and portable quality fingerprints
npm run check Passed - zero errors, warnings, or hints
npm run build Passed - 431 generated pages
npm run validate:links Passed as part of the production build - 1,377 internal targets across 432 HTML pages
npm run test:e2e 15 passed, one documented skip for the deprecated converter's desktop-only UI on mobile
git diff --check Passed

Local preview verification also checked the catalog hash/commit marker and 1,321 sample routes/assets. All 490 baseline fingerprints were verified against committed Git content after newline/BOM normalization; no accepted findings were added or removed.

Release and remaining review
  • The source changes were validated and merged into VesaJuvonen/List-Formatting first. This PR is the intended submission to pnp/List-Formatting:master.
  • The maintainer has authorized merging this PR once upstream checks pass, switching Pages from branch publishing to GitHub Actions, and manually dispatching the first Astro deployment.
  • The previous site is preserved at gh-pages commit 10584fe34be8285184acb448af3a0f0347be7dfe for rollback.
  • The deployment workflow verifies the published commit identity, catalog hash, sample routes, previews, and definition downloads.
  • There are 490 explicitly recorded historical review findings: 382 PnP metadata-schema findings (the first missing required field is version), 106 formatting-schema findings, and two README requirements-review items. Source-hash-bound baseline entries cannot silently exempt later changes. These findings do not establish that every affected sample fails at runtime.
  • Real SharePoint tenant testing, full manual accessibility/performance review, external catalog-consumer confirmation, and branch-protection policy changes remain separate follow-up work.
  • Reference sibling repositories are unchanged.

Guidance

You can delete this section when you are submitting the pull request.

  • Please update this PR information accordingly. We'll use this as part of our release notes in monthly communications.
  • Please target your PR to 'master' branch.

Thanks for your contribution! Sharing is caring.

VesaJuvonen and others added 3 commits October 29, 2026 21:21
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@VesaJuvonen
VesaJuvonen merged commit fe781eb into pnp:master Oct 29, 2026
1 check passed
@VesaJuvonen

Copy link
Copy Markdown
Contributor Author

Production release verification

  • Merged into upstream master as fe781eb416d289eed013f425ab845a842490ad80, without bypassing repository protections.
  • Upstream validation passed.
  • Switched the existing GitHub Pages publishing source to GitHub Actions with maintainer approval; no paid services or new infrastructure were provisioned.
  • Production deployment and live artifact verification passed, including 1,321 routes/assets.
  • The public gallery serves the expected commit, a matching catalog hash, 382 samples, and 551 definitions.
  • Additional real-public-site smoke checks passed at 1440x1000 and 390x844: gallery/filter behavior, persistent themes, form variant selection, full JSON copying/downloading, contributor profile images, and What's new filtering.
  • Visitor tracking remains disabled by default.
  • The previous gh-pages revision 10584fe34be8285184acb448af3a0f0347be7dfe is retained for rollback.

Historical sample-schema remediation and authenticated SharePoint tenant testing remain documented follow-up work; publishing the static gallery does not establish that every sample is functionally verified in every tenant.

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.

1 participant