Workarea 3.0.40

Patch release notes for Workarea 3.0.40.

Prevent Creation of Invalid Search Customizations

Block saving of customizations when not valid. Return error message back to the user.

Issues

Pull Requests

Commits

Load Mailer Previews From Plugins and Applications

New or modified previews were not being automatically included in plugins and host applications, resulting in custom previews not displaying. To resolve this issue, Workarea now loads all mailer previews at the same time.

Issues

Pull Requests

Commits

Lock Orders Before Checking Inventory On Items

Prevents concurrency issues where inventory causes items to be removed from the order while it's being placed. The before_action :check_lock callback now runs before :check_inventory, ensuring that an order's lock status is known prior to editing it.

Issues

Pull Requests

Commits

Specify JSON Format in Product List Content Block Partial

Part of a larger issue with Rails template overrides, previously this could be caused by overriding the workarea/admin/catalog_products/index.html.haml view without overriding its corresponding index.json.jbuilder. The index HTML template now includes a format: :json in the path so that this cannot happen if one forgets to override a JSON template corresponding to their HTML template.

Issues

Pull Requests

Commits

Fix Overriding SVG Icons in Style Guides

SVG icons could not be overridden in the style guides, instead, the icon would just be appended to the end of the list, leaving the original icon in place. Update the #style_guide_icons helper to ensure only 1 of each filename exists, so icons will appear to override each other in the style guide.

Issues

Pull Requests

Commits

The facet partial links in the Result Filters UI didn't have the right class name associated with their elements. Workarea now uses a .result-filters__link class name for these elements.

Issues

Pull Requests

Commits