Skip to content

Add deterministic Community Metadata preview and download #258

Description

@Caneryy

Planning

Problem

Creators must host a metadata JSON document before the wizard can validate it, but the app does not produce the canonical document they need to host.

Scope

Build a pure metadata serializer from wizard fields, show formatted JSON and its content hash on the review step, and add a client-side .json download. Do not upload or pin content.

Acceptance criteria

  • The same normalized inputs always produce identical JSON bytes and hash.
  • Preview and downloaded content match exactly.
  • Required fields, URL schemes, and size limits are validated before download.
  • Unit tests cover normalization, Unicode, escaping, and hash stability.

Verification

npm run lint && npm run typecheck && npm test

Activity

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

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardThird CampaignCampaign: Third CampaignenhancementNew feature or requesthelp wantedExtra attention is needed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions