Skip to content

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

Merged
mattaereal merged 4 commits intosecurity-alliance:developfrom
artemisclaw82:feat/export-all-certs
Mar 10, 2026
Merged

feat(certs): Export All Certifications button on overview page#378
mattaereal merged 4 commits intosecurity-alliance:developfrom
artemisclaw82:feat/export-all-certs

Conversation

@artemisclaw82
Copy link
Contributor

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 cc9064b

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!

@mattaereal
Copy link
Collaborator

Good to do. Just ignored the certs-data.json, please remember @DicksonWu654 @artemisclaw82 and @scode2277 to avoid keeping on the repo heavy files that we don't need and can be generated at build time

@mattaereal mattaereal self-assigned this Mar 10, 2026
@mattaereal mattaereal merged commit edc2711 into security-alliance:develop Mar 10, 2026
3 checks passed
@DicksonWu654
Copy link
Collaborator

Good to do. Just ignored the certs-data.json, please remember @DicksonWu654 @artemisclaw82 and @scode2277 to avoid keeping on the repo heavy files that we don't need and can be generated at build time

ty ser!

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

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants