Workarea 3.1.40

Patch release notes for Workarea 3.1.40.

Prevent Editing when Sorting Content Blocks

Allow blocks to be sorted without needing to open the Content Editing UI at the end of the process.

Issues

Pull Requests

Commits

Mark Store Credit "Authorize" Transactions as "Purchase" Actions

When managing orders, particularly refunds and cancellations, store credit would not be processed correctly since there is no capturing of store credit funds. Setting the authorization transaction as a purchase transaction allows orders with store credit to be canceled and refunded as expected.

Issues

Pull Requests

Commits

Expire Extra Admin Cookies

The :analytics and :cache cookies were not being expired at the same time as :user_id, resulting in those cookies lingering around after an admin's session has expired. This causes errors when developers are testing things related to cache and analytics, because those cookies prevent the aforementioned functionality from succeeding. Workarea now expires these cookies at the same time as the user ID, rather than just when the session no longer exists.

Issues

Pull Requests

Commits

Fix Floating Select2 "Clear" Action in Admin

Workarea now prevents the "Clear" action from appearing within a single (that is, not multi-select) Select2 UI.

Issues

Pull Requests

Commits

Fix Inability to Remove Navigable Association from Taxon Through the Admin

When associating part of the taxonomy with a "navigable" page, category, or product, admins were not able to remove the association later on if they so chose. The Navigation::Taxon#navigable property would only be set if a navigable object was sent over in params, and this contrasts with how Select2 is implemented to send over a blank value when no selection is made. Workarea will now always set the navigable to the contents of the params.

Issues

Pull Requests

Commits

Prevent Current Release from Being Set When Managing Comments

Commenting on a Releasable model while editing a Release can cause the loss of release changes when a Comment updates the subscribers of the Commentable. Workarea now prevents this by not setting the current release when adding comments.

Issues

Pull Requests

Commits