Releases: bagistoplus/visual
v2.0.0-alpha.3
Features
- Add Typography and TypographyPresets setting types with visual editor support
- Add subfolder support and editor attributes to block and section generation commands
- Add min, max, and step methods to Number setting class
- Persist current template and selected block across page reloads
Bug Fixes
- Resolve critical bugs in theme generation command
Documentation
- Add Spacing setting type documentation
Testing
- Add tests for frontend code
v2.0.0-alpha.2
v2.0.0-alpha.2
Changes
Chores
- Update craftile/laravel version constraint from ^0.4.2 to ^0.4 to allow automatic updates to newer patch versions
Notes
This alpha release relaxes the craftile/laravel version constraint to enable automatic patch version updates.
Release v2.0.0-alpha.1
Features
- Initialize editor with empty page when switching templates
- Make themes list responsive on mobile
- Configure NProgress loading indicators
- Add Spacing settings type for margin/padding control
- Improve editor persistence and publishing flow
Bug Fixes
- Improve TemplateSelector menu positioning
- Keep ImagePicker dialog open after image selection
- Improve ImagePicker error handling
- Include parent children to render set when adding new blocks for live preview
- Handle null values in GradientPicker component
- Fix enable/disable rendering logic in the visual editor
- Fix blocks rendering logic in design mode
Documentation
- Replace screenshot with video embed in theme editor overview
- Update requirements and demo link for v2
v2.0.0-alpha
🎉 Bagisto Visual v2.0.0-alpha
We're excited to announce the first alpha release of Bagisto Visual v2! This is a complete rewrite featuring a new blocks system - independent, reusable components that transform how Bagisto themes are built.
⚠️ Breaking Changes
This is a major version with breaking changes. v2 is not compatible with v1 themes and requires:
- PHP 8.2 or later
- Bagisto 2.3 or later
✨ The Blocks System
v2 introduces a fundamental architectural shift: blocks are no longer scoped to individual sections. They're independent, reusable components shared across your entire theme.
What This Means:
- Design Once, Use Everywhere: Create a button or testimonial block and use it across your entire site. Update once, changes reflect everywhere.
- Deep Nesting: Build sophisticated layouts by nesting blocks inside blocks - columns inside tabs, galleries inside accordions.
- Page Builder Capability: Build completely different page layouts from the same sections by composing different blocks - minimal or rich, your choice.
📦 Installation
# Ensure your project accepts dev packages
composer config minimum-stability dev && composer config prefer-stable true
# Install Bagisto Visual v2
composer require bagistoplus/visual:^2.0@dev
# Publish assets
php artisan vendor:publish --tag=visual-assets
# Install the default theme
composer require bagistoplus/visual-debut:^2.0@dev
php artisan vendor:publish --tag=visual-debut-assets🔗 Links
⚡ Next Steps
This alpha release is ready for testing and development. Please report any issues on GitHub Issues.
We're working towards a stable v2.0.0 release with additional features, improved documentation, and comprehensive testing.
Full Changelog: v1.0.0...v2.0.0-alpha
v1.0.0
v1.0.0-alpha.7
📦 Release: Live Preview Improvements & Enhanced UI Controls
✨ Features
-
Color Scheme Picker
- Users can now clear the selected color scheme, enabling flexible design resets.
-
Icon Picker
- Added the ability to clear the selected icon, supporting use cases where no icon is desired.
🛠 Fixes
-
Live Preview Section Reordering
- Fixed an issue where section reordering from the live preview was not accurately reflected.
-
Settings Null Handling
- Settings in sections and blocks now correctly support explicit
nullvalues, ensuring that defaults aren't unintentionally applied.
- Settings in sections and blocks now correctly support explicit
This release focuses on usability and flexibility in the visual editor, improving both live design interactions and control component behaviors.
v1.0.0-alpha.5
📦 Release: Visual Editor Improvements & Subdirectory Support
✨ Features
-
Responsive Images
Addedsrcset()method toImageValueto support responsive image rendering for multiple screen sizes. -
Subdirectory Support
The editor now fully supports Bagisto installations served from a subdirectory, improving compatibility across deployment environments.
🐛 Fixes
-
Font Picker Behavior
- Resets state correctly when closed.
- Truncates long font names to avoid layout issues.
-
Live Preview Script Execution
Improved script patching logic to ensure updated scripts run correctly after DOM changes in preview updates. -
Route-Based Section Handling
Prevented premature section deselection when navigating between section blocks within the editor. -
Section Highlighting
Fixed inconsistent behavior when highlighting sections on mouse enter/leave events.
v1.0.0-alpha.4
📦 Release: Theme Editor Enhancements & Fixes
✨ Features
- Enhanced Theme Preview Updates
- Support for root-relative paths in image and link handling.
Visual.handleLiveUpdatenow accepts function-based handlers for greater flexibility.- Script patching logic added to execute new inline and external scripts after DOM updates.
- Improved DOM diffing and insertion logic for newly added sections.
- Emmet parser updated to support colons (
:) and underscores (_) in class names.
🐛 Fixes
- disable the "Add Section" button for non-JSON templates.
v1.0.0-alpha.3
✨ Features
Live Update Fluent API
- Introduced
LiveUpdatesBuilderfor expressive live update bindings in Blade. - Supports methods like
->text(),->html(),->outerHtml(),->attr(),->style(), and->toggleClass(). - 📚 Documentation updated with usage examples.
Lifecycle Event Enhancements
- Replaced legacy
section:updating/updatedevents withsection:unload/load. - Added
section:select,section:deselect,block:select, andblock:deselectevents.
Partial Section Rendering
- Support for
_sectionsquery param to render only specific sections. - Enables more efficient and targeted content updates.
In-place Section Insertion
- Newly added/enabled sections now insert directly into the DOM instead of full page refresh.
🛠 Fixes
Element Targeting
- Live updates now apply correctly even when multiple elements share the same binding.
Falsy Value Handling
- Prevents transformation in
getRealSettingValue()when value is falsy (e.g.,null,undefined).
Link Behavior
- Prevents default navigation on listbox item clicks, ensuring consistent UX.
Image/Font/Icon Picker
- Cancelling picker closes now reverts to the previous selection as expected.
Component Morphing
- Improved logic for morphing Livewire components in
patchNode.
Section Focus
- Enhanced scroll and focus behavior for selected sections in the editor.
Persisted HTML
- After saving theme data, the updated HTML is returned directly for immediate rendering.
Visual Hierarchy
- Reduced color scheme name size to maintain better UI balance.
v1.0.0-alpha.2
🛠 Fixes
- Resolved an issue where live updates in the editor were not reflecting real setting values. Now, changes are accurately represented as they are made.