Skip to content

refactor: quality and consolidation cleanup - #4

Merged
woerndl merged 3 commits into
mainfrom
refactor/cleanup
May 30, 2026
Merged

refactor: quality and consolidation cleanup#4
woerndl merged 3 commits into
mainfrom
refactor/cleanup

Conversation

@woerndl

@woerndl woerndl commented May 30, 2026

Copy link
Copy Markdown
Owner

Behavior-preserving cleanup pass.

  • Extract a shared publishedRelationField factory for the posts/authors list blocks; hoist the autosave interval to a named constant.
  • Reuse the shared isLocale guard in the web pickLocale.
  • Derive Payload's defaultLocale from the shared constant and assert at boot that the CMS locale set matches it.
  • Funnel the seed's data casts through one seedData helper.
  • Collapse the triggerDeploy hook bodies behind a single post() helper; route Img/PreviewToolbar/sdk URL building through the existing absoluteCmsURL.
  • Make the JSON-LD pages branch an explicit narrowing; mark the dev-only path refetch.

@woerndl
woerndl merged commit 6e7d070 into main May 30, 2026
1 check passed
@woerndl
woerndl deleted the refactor/cleanup branch May 30, 2026 18:53
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