Blog Management Integration with Solidus Static Content#2
Open
JustShah wants to merge 10 commits intofix-gem-to-support-latest-solidusfrom
Open
Blog Management Integration with Solidus Static Content#2JustShah wants to merge 10 commits intofix-gem-to-support-latest-solidusfrom
JustShah wants to merge 10 commits intofix-gem-to-support-latest-solidusfrom
Conversation
Create migrations to set up the database schema for blogs, including the `spree_blogs`, `spree_blogs_stores`, and `spree_blogs_taxons` tables. This establishes the necessary database structure for managing blogs.
Create `Spree::Blog` model with necessary associations and validations. This establishes the core structure for managing blogs within the application. Create `Spree::Tag` model to manage the relationship between blogs and taxons. This allows blogs to be associated with multiple taxons for better categorization. Decorated the `Spree::Taxon` model to include tags. This modification ensures that taxons can be associated with blogs through tags.
Add backend controller for managing blogs, including actions for creating, updating, and deleting blogs and their associated images. This provides the necessary logic for blog management within the admin interface.
Add controller for managing blogs, including actions for CRUD operations. This enables external systems to interact with the blog data through the API.
Add routes for blogs, including CRUD operations and image deletion. This enables the necessary endpoints for blog management within the admin interface and API.
Add views for blogs in the admin interface, including forms for creating and editing blogs and a list view for displaying existing blogs. This provides the necessary UI components for blog management.
Add JavaScript file for taxon autocomplete for blogs. This enhances the user experience by providing a convenient way to select taxons when creating or editing blogs.
Updated the Solidus Static Content engine to include blog management, including menu items and activation logic. This integrates blog management into the existing Solidus Static Content functionality. It also adds javascript using generator.
|
Hey, are taxons complete and can we demo this? |
|
@JustShah Screenshots for visual change? |
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.
Summary:
This PR integrates blog management functionality into the Solidus Static Content engine. It introduces blog-related features including model definitions, API controllers, and views for managing blogs within the Solidus admin interface. Additionally, it incorporates taxon autocomplete functionality to enhance the user experience during blog creation and editing.
Changes Introduced:
Blog Management in Solidus Static Content:
Blog API:
BlogsController) to manage CRUD operations for blogs, allowing external systems to interact with blog data.author_imageandarticle_images) and taxons in the response for better integration with external clients.Blog Backend:
Database Schema:
spree_blogs,spree_blogs_stores, andspree_blogs_taxons. These migrations establish the database schema needed to store blog data, associate blogs with stores, and manage the relationship between blogs and taxons.Models and Decorators:
Spree::Blogmodel, along with associations and validations, to handle blog data management.Spree::Tagmodel to manage the relationship between blogs and taxons. This allows for better categorization of blogs through taxons.Spree::Taxonmodel to include tags, ensuring taxons can be associated with blogs.Localization:
Admin Views:
This PR aims to seamlessly integrate blog management functionality into the existing Solidus Static Content engine, enabling a more comprehensive content management system for blogs within Solidus.
Images



