Workarea 3.3.8

Patch release notes for Workarea 3.3.8.

Allow Changing Taxonomy Slugs in Workflow

Workarea now ensures that taxonomy changes occur outside the context of a release, in order to address a validation error that occurs when an admin attempts to add a new taxon in the middle of the taxonomy tree.

Issues

Pull Requests

Commits

Correct Styling of Additional Navigation Sections in Admin

This prevents issues like when the blog navigation section having 100% width when installed by configuring the flex-grow and justify-content Flexbox properties.

Issues

Pull Requests

Commits

Allow Spaces in Product Filter Pattern Validation

Filters cannot have the "Type" property associated with them, so Workarea has a browser-based pattern validation ensuring the filter name is never "Type" or "type". This regular expression had the unintentional effect of blocking spaces in new filter names through the admin, resulting in some confusion. Add to the regex in order to allow it to support spaces before or after the word "Type" is detected (or at all).

Solved by Brian Berg.

Issues

Pull Requests

Commits

Create New Items With Parent/Child Rows On CSV Imports

CSV Imports now have the ability to create new elements tied to a client-provided arbitrary ID, which also forms the basis for identifiers not originating from Workarea. Introduces a new type, StringId, which falls back to a generated BSON::ObjectId, but can also accept an arbitrary String (so long as it's unique) provided by the client as a means of identifying multiple rows as the same parent object. New models that can be imported/exported can use the following line in their model definitions to take advantage of this:

field :_id, type: StringId, default: -> { BSON::ObjectId.new }

Issues

Pull Requests

Commits

Internationalize Price Range Facets Text

Add translations for the "Over" and "Under" text in price range facets, named workarea.facets.price_range.over and workarea.facets.price_range.under, respectively. This is the text that appears in price range filters on the storefront.

Issues

Pull Requests

Commits

Audit Storefront for Accessibility

The aXe audit uncovered more issues related to accessibility in the bare storefront user interface. Mostly related to improper ARIA grouping and labels in the markup, these issues were resolved all at once, and so for more information it's recommended you check out the commit and diff for this particular issue.

Issues

Pull Requests

Commits

Disable Request Throttling For Admins

Logged-in admin users are no longer bound by the Rack::Attack rules for abusive clients. Add a safelist rule that checks whether the :admin cookie is present and true. If so, the request is "safelisted", meaning any other rule (like blocklist or fail2ban) is ignored. This fixes issues stemming from multiple customer service representatives using the admin from the same outbound IP address

Issues

Pull Requests

Commits