fix
patch
hub,icp
feat/phase-2g-bundle
fix(hub,icp): store object frontmatter; stringify POST; edit form parity
Canister POST used extractJsonString for frontmatter only when it was a JSON string; browsers send "frontmatter":{...}, which stored {} and broke list labels, calendar dates, and overview. Add extractFrontmatterFromPostBody with balanced-object scan; use for notes and proposals POST.
Hub: stringify frontmatter in the outer POST body (stringifyNotePostPayload) so the wire shape always matches the canister. Detail Edit uses the same fields as New note (title, body, date, project, tags, causal/entity/episode/ follows); merge preserves non-form keys; strip reserved keys before editing. Save refetches the note so provenance reappears in read view.
sha256:c8a486d967afce22cb0b2fa02a6ab183c47d002771c92efe6402567b76fd0576
sha
sha256:0d555338a375a1deec4cb51b0dfb5c6a6518cb2e96e3d82d70be2ee6a3581bb8
snapshot
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:c8a486d967afce22cb0b2fa02a6ab183c47d002771c92efe6402567b76fd0576 --body "your comment"
No comments yet. Be the first to start the discussion.