Skip to content

AdminConfig 0.5.0

Choose a tag to compare

@lermnote lermnote released this 08 Jul 15:33
· 38 commits to master since this release

What's Changed in 0.5.0

Changed

  • Decomposed OptionsPage (~1500 lines, ~55 methods) into six focused classes under src/Framework/Admin/:
    • OptionsPage — core orchestrator (659 lines, 23 methods; -58%)
    • ContainerFieldRenderer — nested containers + flat field rows
    • FieldDependencyEvaluator — pure dependency-matching logic (no WP globals)
    • SubmissionStateResolver — flash/validation/tab routing
    • SchemaDebugPanel — runtime debug introspection panel
    • OptionsPageLifecycle — menu registration + asset enqueueing
  • Extracted FieldAttributeHelpers trait to deduplicate field attribute escaping, boolean flag reading, nested warning rendering, and number input action buttons across six field type classes

Full Changelog: 0.4.2...0.5.0