๐ Features
- TOC Disable Feature: Add ability to disable table of contents per post via frontmatter (Issue #20)
- Global TOC Setting: Add global configuration option to enable/disable TOC by default for all posts
- TOC Strict Mode: Add strict mode to prevent individual posts from overriding global TOC setting
- Settings Page Integration: Add TOC configuration section in Filament settings page with TGE and TSM toggles
- Real-time Updates: Form updates frontmatter content when TOC toggle is changed
- Dynamic Form Behavior: TOC toggle becomes readonly when strict mode is enabled
- Automated Installation: Add
blogr:installcommand for streamlined setup process - Default Content Creation: Automatically create sample blog posts, categories, and tags to help users get started
- Installation Options: Support for
--skip-npmand--skip-tutorialsflags for flexible installation - User Onboarding: Guided setup with welcome messages and next steps instructions
๐งช Testing
- TOC Tests: Add comprehensive tests for TOC disable functionality
- Frontmatter Tests: Add tests to ensure frontmatter is not displayed in rendered content
- Form Integration Tests: Add tests for Filament form TOC toggle functionality
- Global Settings Tests: Add tests for global TOC configuration and priority handling
- Strict Mode Tests: Add tests for all TGE/TSM matrix scenarios (4 combinations)
- Matrix Behavior Tests: Comprehensive test coverage for TGE=0/1 and TSM=0/1 combinations
- Install Command Tests: Add comprehensive unit tests for
blogr:installcommand functionality - Command Registration Tests: Add tests for command registration and help display
- Mock-based Testing: Implement proper mocking to avoid filesystem conflicts in parallel test execution
What's Changed
- Feature toc could be deactivate for a post by @happytodev in #64
- Feature setting toc is activated or deactivated by default for all post by @happytodev in #65
- Feature add default content to help user to start with blogr by @happytodev in #69
- Release v0.6.0 by @happytodev in #70
Full Changelog: v0.5.0...v0.6.0-beta.2