Skip to content

feat: remove space property requirement and enhance folder management#49

Merged
rgonek merged 4 commits intomainfrom
feat/remove-space-frontmatter-requirement
Mar 3, 2026
Merged

feat: remove space property requirement and enhance folder management#49
rgonek merged 4 commits intomainfrom
feat/remove-space-frontmatter-requirement

Conversation

@rgonek
Copy link
Owner

@rgonek rgonek commented Mar 2, 2026

Summary

  • Remove space as a required frontmatter property — pages no longer need an explicit space key in their frontmatter
  • Enhance folder/hierarchy management during push, including smarter parent resolution and folder creation
  • Improve error handling in the sync process with better client error types and rollback safety

Test Plan

  • Verify conf validate accepts files without space in frontmatter
  • Verify conf push correctly resolves page hierarchy without explicit space key
  • Run go test ./... — all packages pass

🤖 Generated with Claude Code

rgonek and others added 4 commits March 1, 2026 22:05
Adds targeted tests for outsideSpaceAssetError, PushConflictError.Error,
ResolveLinksInSpace, and findClosingBacktickRun to bring internal/sync
coverage from 69.5% to 70.8%, satisfying the 70% minimum gate.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@rgonek rgonek merged commit 77e2a5e into main Mar 3, 2026
2 checks passed
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