Feature/initial project - #2
Merged
Merged
Conversation
…d configs Added service healthchecks, phpMyAdmin support, updated MySQL and WordPress configuration, and replaced 'always' restart policy with 'unless-stopped'.
Implemented PSR-4 autoloading for the PostSecret Admin plugin, added composer.json for dependency management, updated Docker environment URLs, and included silence files for plugin and theme directories.
Added foundational block styles for core blocks (e.g., button, navigation, cover), theme-specific color palettes (blue, green, pink, etc.), and typography presets. These styles enhance base aesthetics and provide better layout options.
…Secret theme Added fully responsive header and footer components with dynamic theming, social links, and search functionality. Introduced light/dark mode toggle with persisted preferences, custom color palettes, and typography. Included foundational CSS, JSON configurations, dark overrides, and JavaScript for theme management.
Introduced new custom theme templates (front-page, search, single-secret, archive-secret) to enhance content rendering. Includes responsive layouts, metadata displays, query handling, and pagination support.
Flatts3000
added a commit
that referenced
this pull request
Oct 1, 2025
* feat: initialize project structure with core components Added initial setup for PostSecret project, including WordPress theme and admin plugin files, documentation (setup, moderation, and tagging guides), Docker configuration, PHPUnit tests, PHPCS rules, and CI workflow. * Feature/initial project (#2) * feat: enhance Docker setup with healthchecks, phpMyAdmin, and improved configs Added service healthchecks, phpMyAdmin support, updated MySQL and WordPress configuration, and replaced 'always' restart policy with 'unless-stopped'. * feat: add PSR-4 autoloading, composer setup, and plugin scaffolding Implemented PSR-4 autoloading for the PostSecret Admin plugin, added composer.json for dependency management, updated Docker environment URLs, and included silence files for plugin and theme directories. * feat: introduce default block styles and color palette Added foundational block styles for core blocks (e.g., button, navigation, cover), theme-specific color palettes (blue, green, pink, etc.), and typography presets. These styles enhance base aesthetics and provide better layout options. * feat: implement header, footer, themes, and dark mode toggle for PostSecret theme Added fully responsive header and footer components with dynamic theming, social links, and search functionality. Introduced light/dark mode toggle with persisted preferences, custom color palettes, and typography. Included foundational CSS, JSON configurations, dark overrides, and JavaScript for theme management. * feat: add custom templates for PostSecret theme Introduced new custom theme templates (front-page, search, single-secret, archive-secret) to enhance content rendering. Includes responsive layouts, metadata displays, query handling, and pagination support. * feat: add PostSecret AI plugin with classifier integration and admin interface Introduced the PostSecret AI plugin for WordPress, enabling image classification via OpenAI's API. Includes settings schema, admin page for running classifications, and configuration options for API integration, moderation, and future extensibility. * feat: introduce detailed classification prompt and refactor Classifier logic Added an immutable Prompt class encapsulating the system prompt for the classifier, improving maintainability and versioning. Refactored the Classifier to use the prompt dynamically, optimized JSON payload handling, streamlined error handling, and improved tag normalization. Removed redundant configuration from the Schema. * feat: enhance Classifier with dual-side image support and introduce SchemaGuard Updated Classifier to handle front and optional back images for improved input flexibility. Introduced SchemaGuard for payload normalization, ensuring strict adherence to schema with defaults, clamping, and deduplication. Refined system prompt to align with dual-image logic, improve determinism, and enhance classification guidance. * feat: add single postcard uploader and enhance media processing Introduced a single postcard uploader with a front-image requirement and optional back-image support. Added `AdminSingleUpload` and `Ingress` classes for managing uploads, duplicates, and classification queuing. Updated menu structure with a dedicated "Postcards" section and integrated admin-side metabox for status and quick processing actions. * feat: add Metadata class for image analysis and integrate orientation and color extraction Introduced the `Metadata` class to compute and store image orientation, primary color, and up to five color palette hex values. Integrated metadata handling across processing workflows, updated `AdminMetaBox` to display orientation and color metadata in the UI, and refined media processing logic. * feat: sync AI classification data into media attachment fields Added `AttachmentSync` class to populate media attachment fields (Alt text, Caption, Description) using AI classification payload. Implemented logic to respect existing manual edits, ensure brevity, and avoid field updates if PII is detected. Integrated field syncing into the processing workflow. * feat: replace front-page template and introduce PostSecret Feed plugin Replaced the front-page template with a block-based version to streamline content rendering and styling. Introduced the "PostSecret Feed" plugin to enable a dynamic, read-only infinite stream of vetted postcards via a REST API. Simplified grid rendering and integrated Mustache templates for frontend customization. Included additional CSS and JavaScript assets for an improved browsing experience. * docs: add link to project Kanban board in README Added a direct link to the PostSecret project Kanban board in the README for improved visibility and easy access to task tracking.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds the initial theme and initial front page.