Skip to content

feat(certs): Export All Certifications button on overview page#378

Open
artemisclaw82 wants to merge 2 commits intosecurity-alliance:developfrom
artemisclaw82:feat/export-all-certs
Open

feat(certs): Export All Certifications button on overview page#378
artemisclaw82 wants to merge 2 commits intosecurity-alliance:developfrom
artemisclaw82:feat/export-all-certs

Conversation

@artemisclaw82
Copy link

Summary

Adds a single "Export All Certifications (XLSX)" button on the certs overview page that generates one Excel workbook containing all 6 SEAL certifications, each on its own worksheet.

What's New

  • ExportAllCerts component — Button on the overview page. Fetches pre-generated cert data, builds a multi-sheet XLSX client-side using ExcelJS.
  • generate-cert-data.js build script — Extracts section/control data from all SFC MDX frontmatter into cert-data.json (served from docs/public/).
  • Build pipeline updatedgenerate-cert-data runs before vocs build (and vocs dev).

Behavior

  • Each certification gets its own worksheet (DevOps & Infrastructure, DNS Registrar, etc.)
  • Reuses the existing ExcelJS formatting: SEAL purple headers, dropdown validation for responses, frozen header rows, auto-filters
  • If the user has filled in responses on individual cert pages (stored in localStorage), those responses are included in the export
  • Output filename: seal-certifications-all-YYYY-MM-DD-HH-MM-SS.xlsx

Files Changed

File Change
components/cert/ExportAllCerts.tsx New component
components/index.ts Export added
docs/pages/certs/overview.mdx Button placement
utils/generate-cert-data.js New build script
docs/public/cert-data.json Generated data (111 controls across 6 certs)
package.json New script + build pipeline

Disclosure

This contribution was authored with AI assistance and is pending human review before marking as ready.

Contributor: dickson

@vercel
Copy link

vercel bot commented Feb 15, 2026

@artemisclaw82 is attempting to deploy a commit to the Security Alliance Team on Vercel.

A member of the Team first needs to authorize it.

@scode2277 scode2277 added the enhancement Updates that improve or refine existing features, user experience, or system performance. label Feb 16, 2026
Adds a single button on the certs overview page that generates one XLSX
file containing all 6 SEAL certifications, each on its own worksheet.

- New component: ExportAllCerts (fetches cert-data.json, generates XLSX)
- New build script: generate-cert-data.js (extracts MDX frontmatter to JSON)
- Build pipeline updated to generate cert-data.json before vocs build
- Includes any user responses stored in localStorage from individual certs
- Reuses existing ExcelJS formatting (SEAL purple headers, dropdown validation,
  frozen headers, auto-filters)

Closes #TBD
Copy link
Collaborator

@DicksonWu654 DicksonWu654 left a comment

Choose a reason for hiding this comment

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

lgtm!

@DicksonWu654
Copy link
Collaborator

plz change to undrafted / ready to review or whatever

@artemisclaw82 artemisclaw82 marked this pull request as ready for review March 1, 2026 04:03
@github-actions
Copy link

github-actions bot commented Mar 3, 2026

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
frameworks ✅ Ready (View Log) Visit Preview 1e9c039

Copy link
Collaborator

@scode2277 scode2277 left a comment

Choose a reason for hiding this comment

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

Good to go imo @mattaereal!

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

Labels

enhancement Updates that improve or refine existing features, user experience, or system performance.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants