workarea 3.4.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.rubocop.yml +326 -0
- data/CHANGELOG.md +20501 -0
- data/README.md +163 -0
- data/docker-compose.yml +27 -0
- data/docs/Gemfile +8 -0
- data/docs/bin/middleman +29 -0
- data/docs/config.rb +87 -0
- data/docs/config.ru +7 -0
- data/docs/data/articles.yml +157 -0
- data/docs/package.json +15 -0
- data/docs/source/404.html.erb +13 -0
- data/docs/source/articles/access-routes-in-javascript.html.md +33 -0
- data/docs/source/articles/add-a-content-area.html.md +169 -0
- data/docs/source/articles/add-a-content-block-type.html.md +334 -0
- data/docs/source/articles/add-a-report.html.md +202 -0
- data/docs/source/articles/add-css-through-the-admin-ui.html.md +30 -0
- data/docs/source/articles/add-javascript-through-a-manifest.html.md +367 -0
- data/docs/source/articles/add-javascript-through-a-view.html.md +80 -0
- data/docs/source/articles/add-javascript-through-the-admin-ui.html.md +30 -0
- data/docs/source/articles/add-metrics.html.md +58 -0
- data/docs/source/articles/add-or-replace-a-pricing-calculator.html.md +150 -0
- data/docs/source/articles/add-remove-or-change-a-mongoid-validation.html.md +147 -0
- data/docs/source/articles/add-remove-or-change-a-product-template.html.md +142 -0
- data/docs/source/articles/add-remove-sort-and-group-storefront-search-filters.html.md +483 -0
- data/docs/source/articles/add-stylesheets-through-a-manifest.html.md +276 -0
- data/docs/source/articles/add-system-content.html.md +138 -0
- data/docs/source/articles/analytics-overview.html.md +51 -0
- data/docs/source/articles/analyze-storefront-search-results.html.md +261 -0
- data/docs/source/articles/api-overview.html.md +35 -0
- data/docs/source/articles/appending.html.md +506 -0
- data/docs/source/articles/application-document.html.md +88 -0
- data/docs/source/articles/automated-javascript-testing.html.md +162 -0
- data/docs/source/articles/b2b-overview.html.md +64 -0
- data/docs/source/articles/browser-and-device-support.html.md +47 -0
- data/docs/source/articles/change-product-placeholder-image.html.md +39 -0
- data/docs/source/articles/change-storefront-search-results.html.md +283 -0
- data/docs/source/articles/change-the-storefront-product-pricing-ui.html.md +348 -0
- data/docs/source/articles/change-the-storefront-search-filters-ui.html.md +103 -0
- data/docs/source/articles/checkout.html.md +479 -0
- data/docs/source/articles/commerce-model.html.md +164 -0
- data/docs/source/articles/configuration-for-hosting.html.md +106 -0
- data/docs/source/articles/configuration.html.md +406 -0
- data/docs/source/articles/configure-a-payment-gateway.html.md +58 -0
- data/docs/source/articles/configure-asset-storage.html.md +29 -0
- data/docs/source/articles/configure-asset-types.html.md +18 -0
- data/docs/source/articles/configure-contact-form-subjects-list.html.md +24 -0
- data/docs/source/articles/configure-imageoptim.html.md +23 -0
- data/docs/source/articles/configure-locales.html.md +45 -0
- data/docs/source/articles/configure-logins-and-authentication.html.md +42 -0
- data/docs/source/articles/configure-low-inventory-threshold.html.md +26 -0
- data/docs/source/articles/configure-product-image-sizes-and-processing.html.md +28 -0
- data/docs/source/articles/content.html.md +554 -0
- data/docs/source/articles/contentable.html.md +41 -0
- data/docs/source/articles/contribute-code.html.md +69 -0
- data/docs/source/articles/contribute-documentation.html.md +60 -0
- data/docs/source/articles/create-a-custom-discount.html.md +234 -0
- data/docs/source/articles/create-a-new-app.html.md +131 -0
- data/docs/source/articles/create-a-plugin.html.md +19 -0
- data/docs/source/articles/create-a-style-guide.html.md +71 -0
- data/docs/source/articles/create-a-theme.html.md +134 -0
- data/docs/source/articles/css-architectural-overview.html.md +89 -0
- data/docs/source/articles/customize-a-helper.html.md +91 -0
- data/docs/source/articles/decoration.html.md +415 -0
- data/docs/source/articles/define-and-configure-inventory-policies.html.md +107 -0
- data/docs/source/articles/documentation-style-guide.html.md +48 -0
- data/docs/source/articles/documentation.html.md +54 -0
- data/docs/source/articles/domain-modeling.html.md +82 -0
- data/docs/source/articles/error-pages.html.md.erb +95 -0
- data/docs/source/articles/extension-overview.html.md +152 -0
- data/docs/source/articles/favicon-support.html.md +112 -0
- data/docs/source/articles/feature-spec-helper-stylesheet.html.md +25 -0
- data/docs/source/articles/featurejs-and-feature-spec-helper.html.md +20 -0
- data/docs/source/articles/help-and-support.html.md +34 -0
- data/docs/source/articles/html-fragment-caching.html.md +46 -0
- data/docs/source/articles/http-caching.html.md +43 -0
- data/docs/source/articles/i18n.html.md +35 -0
- data/docs/source/articles/images-flow.html.md +10 -0
- data/docs/source/articles/index-storefront-search-documents.html.md +104 -0
- data/docs/source/articles/infrastructure.html.md +46 -0
- data/docs/source/articles/installing.html.md +61 -0
- data/docs/source/articles/integrate-a-payment-gateway.html.md +124 -0
- data/docs/source/articles/integrate-a-web-analytics-provider.html.md +35 -0
- data/docs/source/articles/integrate-an-inventory-management-system.html.md +88 -0
- data/docs/source/articles/integrating-with-other-software.html.md +59 -0
- data/docs/source/articles/inventory.html.md +352 -0
- data/docs/source/articles/javascript-coding-standards.html.md +30 -0
- data/docs/source/articles/javascript-modules.html.md +174 -0
- data/docs/source/articles/javascript-overview.html.md +62 -0
- data/docs/source/articles/javascript-reference-documentation.html.md +51 -0
- data/docs/source/articles/javascript-templates.html.md +52 -0
- data/docs/source/articles/low-level-caching.html.md +25 -0
- data/docs/source/articles/maintain-a-plugin.html.md +12 -0
- data/docs/source/articles/maintenance-policy.html.md +79 -0
- data/docs/source/articles/navigable.html.md +51 -0
- data/docs/source/articles/navigating-the-code.html.md +149 -0
- data/docs/source/articles/navigation.html.md +386 -0
- data/docs/source/articles/order-life-cycle.html.md +546 -0
- data/docs/source/articles/order-pricing.html.md +389 -0
- data/docs/source/articles/orders-and-items.html.md +210 -0
- data/docs/source/articles/orders.html.md +66 -0
- data/docs/source/articles/overriding.html.md +155 -0
- data/docs/source/articles/overview.html.md +43 -0
- data/docs/source/articles/plugins-overview.html.md +12 -0
- data/docs/source/articles/prerequisites-and-dependencies.html.md +202 -0
- data/docs/source/articles/products.html.md.erb +1270 -0
- data/docs/source/articles/progressive-web-application-support.html.md +148 -0
- data/docs/source/articles/rails-asset-manifests.html.md +33 -0
- data/docs/source/articles/rails-asset-view-helpers.html.md +25 -0
- data/docs/source/articles/reading-data.html.md +10 -0
- data/docs/source/articles/releasable.html.md +37 -0
- data/docs/source/articles/report-a-bug.html.md +75 -0
- data/docs/source/articles/ruby-coding-standards.html.md +10 -0
- data/docs/source/articles/run-sidekiq-in-a-local-environment.html.md +40 -0
- data/docs/source/articles/searching.html.md +1005 -0
- data/docs/source/articles/security-policy.html.md +42 -0
- data/docs/source/articles/seeds.html.md +345 -0
- data/docs/source/articles/shipping.html.md +756 -0
- data/docs/source/articles/sort-and-exclude-product-options.html.md +47 -0
- data/docs/source/articles/storefront-search-features.html.md +568 -0
- data/docs/source/articles/storefront-searches.html.md +126 -0
- data/docs/source/articles/style-guides.html.md +21 -0
- data/docs/source/articles/stylesheet-coding-standards.html.md +24 -0
- data/docs/source/articles/stylesheets-overview.html.md +67 -0
- data/docs/source/articles/swappable-list-data-structure.html.md +81 -0
- data/docs/source/articles/system-emails.html.md +102 -0
- data/docs/source/articles/taggable.html.md +8 -0
- data/docs/source/articles/test-a-credit-card-transaction.html.md +16 -0
- data/docs/source/articles/test-if-a-plugin-is-installed.html.md +34 -0
- data/docs/source/articles/testing.html.md +914 -0
- data/docs/source/articles/themes-overview.html.md +155 -0
- data/docs/source/articles/translate-administrable-content.html.md +14 -0
- data/docs/source/articles/translate-javascript-content.html.md +16 -0
- data/docs/source/articles/translate-or-customize-message-content.html.md +29 -0
- data/docs/source/articles/translate-or-customize-static-content.html.md +30 -0
- data/docs/source/articles/use-an-existing-workarea-app.html.md +108 -0
- data/docs/source/articles/view-models.html.md +509 -0
- data/docs/source/articles/views.html.md +14 -0
- data/docs/source/articles/workers.html.md +613 -0
- data/docs/source/articles/writing-data.html.md +10 -0
- data/docs/source/cli.html.md +163 -0
- data/docs/source/favicon.ico +0 -0
- data/docs/source/images/3-variants-1-option.png +0 -0
- data/docs/source/images/3-variants-3-options.png +0 -0
- data/docs/source/images/3-years-primary-image.png +0 -0
- data/docs/source/images/404-storefront-error-page.png +0 -0
- data/docs/source/images/404-system-content-admin.png +0 -0
- data/docs/source/images/404.jpg +0 -0
- data/docs/source/images/5-years-primary-image.png +0 -0
- data/docs/source/images/activity-dashboard.png +0 -0
- data/docs/source/images/activity-for-object.png +0 -0
- data/docs/source/images/activity-ui.png +0 -0
- data/docs/source/images/adding-captioned-image-block-custom-icon.png +0 -0
- data/docs/source/images/adding-captioned-image-block-default-icon.png +0 -0
- data/docs/source/images/admin-alerts-ui.png +0 -0
- data/docs/source/images/admin-category-range-filters.png +0 -0
- data/docs/source/images/admin-for-3-column-hero.png +0 -0
- data/docs/source/images/admin-help-index.png +0 -0
- data/docs/source/images/admin-help-ui.png +0 -0
- data/docs/source/images/admin-javascript.png +0 -0
- data/docs/source/images/admin-notification-for-deactivated-discount.png +0 -0
- data/docs/source/images/admin-notifications-ui.png +0 -0
- data/docs/source/images/admin-product-show-page.png +0 -0
- data/docs/source/images/admin-products-index-page.png +0 -0
- data/docs/source/images/admin-range-filters.png +0 -0
- data/docs/source/images/admin-style-guides-navigation.png +0 -0
- data/docs/source/images/after-re-seeding.png +0 -0
- data/docs/source/images/after-seeding-localhost-3000.png +0 -0
- data/docs/source/images/after-seeding.png +0 -0
- data/docs/source/images/arrow.svg +1 -0
- data/docs/source/images/arrow_white.svg +1 -0
- data/docs/source/images/aws-resource-map.png +0 -0
- data/docs/source/images/backordered-until-output-on-inventory-sku-card.png +0 -0
- data/docs/source/images/before-seeding-localhost-3000.png +0 -0
- data/docs/source/images/before-seeding.png +0 -0
- data/docs/source/images/browsing-workarea-versions-on-the-web.png +0 -0
- data/docs/source/images/bulk-asset-upload-on-assets-index-page.png +0 -0
- data/docs/source/images/bulk-asset-upload-while-editing-content.png +0 -0
- data/docs/source/images/bundle-show-workarea-core.png +0 -0
- data/docs/source/images/bundle-show-workarea.png +0 -0
- data/docs/source/images/calendar-for-backordered-until-field.png +0 -0
- data/docs/source/images/captioned-image-block-in-storefront.png +0 -0
- data/docs/source/images/captioned-image-content-block-storefront-component-style-guide.png +0 -0
- data/docs/source/images/cart-system-content-in-admin.png +0 -0
- data/docs/source/images/cart-system-content-in-storefront.png +0 -0
- data/docs/source/images/checkout-addresses-guest.png +0 -0
- data/docs/source/images/checkout-addresses-user.png +0 -0
- data/docs/source/images/checkout-confirmation.png +0 -0
- data/docs/source/images/checkout-flow-0.png +0 -0
- data/docs/source/images/checkout-flow-1.png +0 -0
- data/docs/source/images/checkout-flow-2.png +0 -0
- data/docs/source/images/checkout-flow-3.png +0 -0
- data/docs/source/images/checkout-flow-4.png +0 -0
- data/docs/source/images/checkout-payment-guest.png +0 -0
- data/docs/source/images/checkout-payment-user.png +0 -0
- data/docs/source/images/checkout-shipping.png +0 -0
- data/docs/source/images/color-picker-component-admin-style-guide.png +0 -0
- data/docs/source/images/color-picker-component-on-content-editing-screen.png +0 -0
- data/docs/source/images/commerce-model-carts-orders.png +0 -0
- data/docs/source/images/commerce-model-order-pricing.png +0 -0
- data/docs/source/images/commerce-model.png +0 -0
- data/docs/source/images/configuring-an-index-pattern-in-kibana.png +0 -0
- data/docs/source/images/content-block-presets.png +0 -0
- data/docs/source/images/content-search-customization.png +0 -0
- data/docs/source/images/country-with-region-data-in-address-form.png +0 -0
- data/docs/source/images/country-without-region-data-in-address-form.png +0 -0
- data/docs/source/images/create-content-block-preset-ui.png +0 -0
- data/docs/source/images/credit-card-icons.png +0 -0
- data/docs/source/images/css-added-through-admin.png +0 -0
- data/docs/source/images/css-admin-ui.png +0 -0
- data/docs/source/images/current-configuration-shown-in-admin-settings.png +0 -0
- data/docs/source/images/customer-impersonation-in-admin.png +0 -0
- data/docs/source/images/customer-impersonation-in-store-front.png +0 -0
- data/docs/source/images/date-filter-same-day.png +0 -0
- data/docs/source/images/developer-toolbar-in-store-front.png +0 -0
- data/docs/source/images/discounts-sorted-by-most-redeemed.png +0 -0
- data/docs/source/images/edit-help-article.png +0 -0
- data/docs/source/images/editing-content-for-search-customization.png +0 -0
- data/docs/source/images/editing-dynamic-captioned-image-block.png +0 -0
- data/docs/source/images/editing-product-fields-in-the-admin.png +0 -0
- data/docs/source/images/editing-search-system-content.png +0 -0
- data/docs/source/images/editing-static-captioned-image-block-custom-icon.png +0 -0
- data/docs/source/images/editing-static-captioned-image-block-default-icon.png +0 -0
- data/docs/source/images/external.svg +1 -0
- data/docs/source/images/favicon_16.png +0 -0
- data/docs/source/images/favicon_180.png +0 -0
- data/docs/source/images/favicon_32.png +0 -0
- data/docs/source/images/filters-all.png +0 -0
- data/docs/source/images/filters-control.png +0 -0
- data/docs/source/images/filters-custom.png +0 -0
- data/docs/source/images/filters-groups.png +0 -0
- data/docs/source/images/filters-material.png +0 -0
- data/docs/source/images/filters-omitted.png +0 -0
- data/docs/source/images/filters-pinned.png +0 -0
- data/docs/source/images/filters-range.png +0 -0
- data/docs/source/images/filters-sorted.png +0 -0
- data/docs/source/images/filters-wrapping-to-second-line-in-admin.png +0 -0
- data/docs/source/images/generic-product-template-images-no-options-selected.png +0 -0
- data/docs/source/images/generic-product-template-images-options-selected.png +0 -0
- data/docs/source/images/generic-template.png +0 -0
- data/docs/source/images/hosting.svg +1 -0
- data/docs/source/images/image-group-content-block-in-storefront.png +0 -0
- data/docs/source/images/images.svg +1 -0
- data/docs/source/images/import-export-screenshot.png +0 -0
- data/docs/source/images/invalid-display.png +0 -0
- data/docs/source/images/itcss.png +0 -0
- data/docs/source/images/kibana-dev-tools-console.png +0 -0
- data/docs/source/images/layout-content-admin-with-2-areas.png +0 -0
- data/docs/source/images/layout-content-admin-with-3-areas.png +0 -0
- data/docs/source/images/link-to-search-system-content.png +0 -0
- data/docs/source/images/logo.svg +1 -0
- data/docs/source/images/menu.svg +2 -0
- data/docs/source/images/mongo-replica-set.svg +1 -0
- data/docs/source/images/multi-column-hero-blocks.png +0 -0
- data/docs/source/images/option-selects-product-template-images-options-selected.png +0 -0
- data/docs/source/images/option-selects-template.png +0 -0
- data/docs/source/images/option-thumbnails-template.png +0 -0
- data/docs/source/images/order-item-total-price-diagram.png +0 -0
- data/docs/source/images/order-pricing-cart-example.png +0 -0
- data/docs/source/images/order-pricing-example-adjustments.png +0 -0
- data/docs/source/images/order-pricing-example-totals.png +0 -0
- data/docs/source/images/order-pricing-placed-order-example.png +0 -0
- data/docs/source/images/order-shipping-total-diagram.png +0 -0
- data/docs/source/images/order-show-with-multiple-tenders.png +0 -0
- data/docs/source/images/order-subtotal-price-diagram.png +0 -0
- data/docs/source/images/order-tax-total-diagram.png +0 -0
- data/docs/source/images/order-total-price-diagram.png +0 -0
- data/docs/source/images/order-total-value-diagram.png +0 -0
- data/docs/source/images/orders-dashboard-links.png +0 -0
- data/docs/source/images/oval.svg +1 -0
- data/docs/source/images/payment-icon-storefront-style-guide.png +0 -0
- data/docs/source/images/people-dashboard-links.png +0 -0
- data/docs/source/images/price-adjustments-diagram.png +0 -0
- data/docs/source/images/price-display-no-options.png +0 -0
- data/docs/source/images/price-display-options-selected.png +0 -0
- data/docs/source/images/pricing-calculators-diagram.png +0 -0
- data/docs/source/images/product-list-content-block-admin.png +0 -0
- data/docs/source/images/product-list-content-block-in-store-front.png +0 -0
- data/docs/source/images/promo-products-excluded-autocomplete-results-after.png +0 -0
- data/docs/source/images/promo-products-excluded-featured-category-results-after.png +0 -0
- data/docs/source/images/promo-products-excluded-recommendations-results-after.png +0 -0
- data/docs/source/images/promo-products-excluded-search-category-results-after.png +0 -0
- data/docs/source/images/promo-products-excluded-search-results-after.png +0 -0
- data/docs/source/images/promo-products-included-autocomplete-results-before.png +0 -0
- data/docs/source/images/promo-products-included-featured-category-results-before.png +0 -0
- data/docs/source/images/promo-products-included-recommendations-results-before.png +0 -0
- data/docs/source/images/promo-products-included-search-category-results-before.png +0 -0
- data/docs/source/images/promo-products-included-search-results-before.png +0 -0
- data/docs/source/images/rails-version-constraint.png +0 -0
- data/docs/source/images/re-enable-discount.png +0 -0
- data/docs/source/images/reading-data.svg +1 -0
- data/docs/source/images/readme-hero.png +0 -0
- data/docs/source/images/redesigned-customized-sort-for-search-results.png +0 -0
- data/docs/source/images/reviews-summary-above-share-buttons.png +0 -0
- data/docs/source/images/reviews-summary-below-product-name.png +0 -0
- data/docs/source/images/reviews-summary-below-share-buttons.png +0 -0
- data/docs/source/images/reviews-summary-removed.png +0 -0
- data/docs/source/images/rsa-fingerprint-for-stash.png +0 -0
- data/docs/source/images/ruby-version-constraint.png +0 -0
- data/docs/source/images/script-tag-added-through-admin.png +0 -0
- data/docs/source/images/search-analysis-admin-alternate-rendering.png +0 -0
- data/docs/source/images/search-analysis-admin.png +0 -0
- data/docs/source/images/search-quality-report.png +0 -0
- data/docs/source/images/search.svg +1 -0
- data/docs/source/images/searching-for-cart-system-content-in-admin.png +0 -0
- data/docs/source/images/searching-for-layout-system-content-in-admin.png +0 -0
- data/docs/source/images/seeded-admin.png +0 -0
- data/docs/source/images/seeds-from-plugins.png +0 -0
- data/docs/source/images/seo-metadata-automation-ui.png +0 -0
- data/docs/source/images/show-password-button.png +0 -0
- data/docs/source/images/storefront-autocomplete.png +0 -0
- data/docs/source/images/storefront-category-summary-content-block.png +0 -0
- data/docs/source/images/storefront-category.png +0 -0
- data/docs/source/images/storefront-product-after-overriding.png +0 -0
- data/docs/source/images/storefront-product-before-overriding.png +0 -0
- data/docs/source/images/storefront-product-browse-page.png +0 -0
- data/docs/source/images/storefront-product-recommendations.png +0 -0
- data/docs/source/images/storefront-product-show-page.png +0 -0
- data/docs/source/images/storefront-requests-and-search-requests.png +0 -0
- data/docs/source/images/storefront-search-request-handling.png +0 -0
- data/docs/source/images/storefront-search-response-creation.png +0 -0
- data/docs/source/images/storefront-search.png +0 -0
- data/docs/source/images/storefront-style-guides-navigation.png +0 -0
- data/docs/source/images/styles.css +3 -0
- data/docs/source/images/tax-categories-ui.png +0 -0
- data/docs/source/images/tax-rates-ui.png +0 -0
- data/docs/source/images/unpurchasable-product.png +0 -0
- data/docs/source/images/url-redirects-filtering.png +0 -0
- data/docs/source/images/utility-nav-area-in-admin.png +0 -0
- data/docs/source/images/utility-nav-area-in-storefront.png +0 -0
- data/docs/source/images/validation-message-in-storefront.png +0 -0
- data/docs/source/images/view-model-interface.png +0 -0
- data/docs/source/images/viewing-workarea-version-in-source.png +0 -0
- data/docs/source/images/workarea.svg +1 -0
- data/docs/source/images/worst-performing-searches-on-results-customization-page.png +0 -0
- data/docs/source/images/writing-data.svg +1 -0
- data/docs/source/index.html.erb +167 -0
- data/docs/source/javascripts/jquery.js +2 -0
- data/docs/source/javascripts/lunr.js +7 -0
- data/docs/source/javascripts/site.js +299 -0
- data/docs/source/javascripts/vendor/highlight.pack.js +2 -0
- data/docs/source/layouts/article.erb +106 -0
- data/docs/source/layouts/bare.erb +46 -0
- data/docs/source/layouts/layout.erb +43 -0
- data/docs/source/release-notes.html.md +258 -0
- data/docs/source/release-notes/workarea-3-0-0.html.md +146 -0
- data/docs/source/release-notes/workarea-3-0-1.html.md +161 -0
- data/docs/source/release-notes/workarea-3-0-10.html.md +39 -0
- data/docs/source/release-notes/workarea-3-0-11.html.md +277 -0
- data/docs/source/release-notes/workarea-3-0-12.html.md +14 -0
- data/docs/source/release-notes/workarea-3-0-13.html.md +153 -0
- data/docs/source/release-notes/workarea-3-0-14.html.md +93 -0
- data/docs/source/release-notes/workarea-3-0-15.html.md +107 -0
- data/docs/source/release-notes/workarea-3-0-16.html.md +36 -0
- data/docs/source/release-notes/workarea-3-0-17.html.md +141 -0
- data/docs/source/release-notes/workarea-3-0-18.html.md +123 -0
- data/docs/source/release-notes/workarea-3-0-19.html.md +160 -0
- data/docs/source/release-notes/workarea-3-0-2.html.md +222 -0
- data/docs/source/release-notes/workarea-3-0-20.html.md +95 -0
- data/docs/source/release-notes/workarea-3-0-21.html.md +168 -0
- data/docs/source/release-notes/workarea-3-0-22.html.md +268 -0
- data/docs/source/release-notes/workarea-3-0-23.html.md +173 -0
- data/docs/source/release-notes/workarea-3-0-24.html.md +19 -0
- data/docs/source/release-notes/workarea-3-0-25.html.md +26 -0
- data/docs/source/release-notes/workarea-3-0-26.html.md +199 -0
- data/docs/source/release-notes/workarea-3-0-27.html.md +113 -0
- data/docs/source/release-notes/workarea-3-0-28.html.md +39 -0
- data/docs/source/release-notes/workarea-3-0-29.html.md +73 -0
- data/docs/source/release-notes/workarea-3-0-3.html.md +35 -0
- data/docs/source/release-notes/workarea-3-0-30.html.md +186 -0
- data/docs/source/release-notes/workarea-3-0-31.html.md +125 -0
- data/docs/source/release-notes/workarea-3-0-32.html.md +73 -0
- data/docs/source/release-notes/workarea-3-0-33.html.md +137 -0
- data/docs/source/release-notes/workarea-3-0-34.html.md +203 -0
- data/docs/source/release-notes/workarea-3-0-35.html.md +205 -0
- data/docs/source/release-notes/workarea-3-0-36.html.md +105 -0
- data/docs/source/release-notes/workarea-3-0-37.html.md +144 -0
- data/docs/source/release-notes/workarea-3-0-38.html.md +73 -0
- data/docs/source/release-notes/workarea-3-0-39.html.md +77 -0
- data/docs/source/release-notes/workarea-3-0-4.html.md +14 -0
- data/docs/source/release-notes/workarea-3-0-40.html.md +130 -0
- data/docs/source/release-notes/workarea-3-0-41.html.md +70 -0
- data/docs/source/release-notes/workarea-3-0-42.html.md +52 -0
- data/docs/source/release-notes/workarea-3-0-43.html.md +72 -0
- data/docs/source/release-notes/workarea-3-0-44.html.md +93 -0
- data/docs/source/release-notes/workarea-3-0-45.html.md +61 -0
- data/docs/source/release-notes/workarea-3-0-46.html.md +171 -0
- data/docs/source/release-notes/workarea-3-0-47.html.md +130 -0
- data/docs/source/release-notes/workarea-3-0-48.html.md +160 -0
- data/docs/source/release-notes/workarea-3-0-49.html.md +28 -0
- data/docs/source/release-notes/workarea-3-0-5.html.md +225 -0
- data/docs/source/release-notes/workarea-3-0-50.html.md +74 -0
- data/docs/source/release-notes/workarea-3-0-51.html.md +61 -0
- data/docs/source/release-notes/workarea-3-0-52.html.md +76 -0
- data/docs/source/release-notes/workarea-3-0-53.html.md +126 -0
- data/docs/source/release-notes/workarea-3-0-54.html.md +112 -0
- data/docs/source/release-notes/workarea-3-0-55.html.md +105 -0
- data/docs/source/release-notes/workarea-3-0-56.html.md +56 -0
- data/docs/source/release-notes/workarea-3-0-57.html.md +82 -0
- data/docs/source/release-notes/workarea-3-0-58.html.md +153 -0
- data/docs/source/release-notes/workarea-3-0-59.html.md +78 -0
- data/docs/source/release-notes/workarea-3-0-6.html.md +165 -0
- data/docs/source/release-notes/workarea-3-0-60.html.md +43 -0
- data/docs/source/release-notes/workarea-3-0-61.html.md +46 -0
- data/docs/source/release-notes/workarea-3-0-62.html.md +23 -0
- data/docs/source/release-notes/workarea-3-0-63.html.md +25 -0
- data/docs/source/release-notes/workarea-3-0-64.html.md +25 -0
- data/docs/source/release-notes/workarea-3-0-65.html.md +37 -0
- data/docs/source/release-notes/workarea-3-0-7.html.md +207 -0
- data/docs/source/release-notes/workarea-3-0-8.html.md +337 -0
- data/docs/source/release-notes/workarea-3-0-9.html.md +196 -0
- data/docs/source/release-notes/workarea-3-1-0.html.md +414 -0
- data/docs/source/release-notes/workarea-3-1-1.html.md +139 -0
- data/docs/source/release-notes/workarea-3-1-10.html.md +19 -0
- data/docs/source/release-notes/workarea-3-1-11.html.md +27 -0
- data/docs/source/release-notes/workarea-3-1-12.html.md +216 -0
- data/docs/source/release-notes/workarea-3-1-13.html.md +113 -0
- data/docs/source/release-notes/workarea-3-1-14.html.md +39 -0
- data/docs/source/release-notes/workarea-3-1-15.html.md +107 -0
- data/docs/source/release-notes/workarea-3-1-16.html.md +188 -0
- data/docs/source/release-notes/workarea-3-1-17.html.md +141 -0
- data/docs/source/release-notes/workarea-3-1-18.html.md +73 -0
- data/docs/source/release-notes/workarea-3-1-19.html.md +137 -0
- data/docs/source/release-notes/workarea-3-1-2.html.md +55 -0
- data/docs/source/release-notes/workarea-3-1-20.html.md +203 -0
- data/docs/source/release-notes/workarea-3-1-21.html.md +205 -0
- data/docs/source/release-notes/workarea-3-1-22.html.md +121 -0
- data/docs/source/release-notes/workarea-3-1-23.html.md +144 -0
- data/docs/source/release-notes/workarea-3-1-24.html.md +94 -0
- data/docs/source/release-notes/workarea-3-1-25.html.md +77 -0
- data/docs/source/release-notes/workarea-3-1-26.html.md +130 -0
- data/docs/source/release-notes/workarea-3-1-27.html.md +70 -0
- data/docs/source/release-notes/workarea-3-1-28.html.md +52 -0
- data/docs/source/release-notes/workarea-3-1-29.html.md +44 -0
- data/docs/source/release-notes/workarea-3-1-3.html.md +185 -0
- data/docs/source/release-notes/workarea-3-1-30.html.md +72 -0
- data/docs/source/release-notes/workarea-3-1-31.html.md +93 -0
- data/docs/source/release-notes/workarea-3-1-32.html.md +61 -0
- data/docs/source/release-notes/workarea-3-1-33.html.md +171 -0
- data/docs/source/release-notes/workarea-3-1-34.html.md +130 -0
- data/docs/source/release-notes/workarea-3-1-35.html.md +179 -0
- data/docs/source/release-notes/workarea-3-1-36.html.md +28 -0
- data/docs/source/release-notes/workarea-3-1-37.html.md +74 -0
- data/docs/source/release-notes/workarea-3-1-38.html.md +61 -0
- data/docs/source/release-notes/workarea-3-1-39.html.md +96 -0
- data/docs/source/release-notes/workarea-3-1-4.html.md +148 -0
- data/docs/source/release-notes/workarea-3-1-40.html.md +126 -0
- data/docs/source/release-notes/workarea-3-1-41.html.md +128 -0
- data/docs/source/release-notes/workarea-3-1-42.html.md +105 -0
- data/docs/source/release-notes/workarea-3-1-43.html.md +37 -0
- data/docs/source/release-notes/workarea-3-1-44.html.md +82 -0
- data/docs/source/release-notes/workarea-3-1-45.html.md +153 -0
- data/docs/source/release-notes/workarea-3-1-46.html.md +91 -0
- data/docs/source/release-notes/workarea-3-1-47.html.md +65 -0
- data/docs/source/release-notes/workarea-3-1-48.html.md +46 -0
- data/docs/source/release-notes/workarea-3-1-49.html.md +23 -0
- data/docs/source/release-notes/workarea-3-1-5.html.md +169 -0
- data/docs/source/release-notes/workarea-3-1-50.html.md +42 -0
- data/docs/source/release-notes/workarea-3-1-51.html.md +25 -0
- data/docs/source/release-notes/workarea-3-1-52.html.md +57 -0
- data/docs/source/release-notes/workarea-3-1-6.html.md +117 -0
- data/docs/source/release-notes/workarea-3-1-7.html.md +176 -0
- data/docs/source/release-notes/workarea-3-1-8.html.md +283 -0
- data/docs/source/release-notes/workarea-3-1-9.html.md +212 -0
- data/docs/source/release-notes/workarea-3-2-0.html.md +1705 -0
- data/docs/source/release-notes/workarea-3-2-1.html.md +216 -0
- data/docs/source/release-notes/workarea-3-2-10.html.md +237 -0
- data/docs/source/release-notes/workarea-3-2-11.html.md +121 -0
- data/docs/source/release-notes/workarea-3-2-12.html.md +145 -0
- data/docs/source/release-notes/workarea-3-2-13.html.md +138 -0
- data/docs/source/release-notes/workarea-3-2-14.html.md +77 -0
- data/docs/source/release-notes/workarea-3-2-15.html.md +130 -0
- data/docs/source/release-notes/workarea-3-2-16.html.md +111 -0
- data/docs/source/release-notes/workarea-3-2-17.html.md +52 -0
- data/docs/source/release-notes/workarea-3-2-18.html.md +44 -0
- data/docs/source/release-notes/workarea-3-2-19.html.md +72 -0
- data/docs/source/release-notes/workarea-3-2-2.html.md +145 -0
- data/docs/source/release-notes/workarea-3-2-20.html.md +93 -0
- data/docs/source/release-notes/workarea-3-2-21.html.md +61 -0
- data/docs/source/release-notes/workarea-3-2-22.html.md +154 -0
- data/docs/source/release-notes/workarea-3-2-23.html.md +130 -0
- data/docs/source/release-notes/workarea-3-2-24.html.md +200 -0
- data/docs/source/release-notes/workarea-3-2-25.html.md +28 -0
- data/docs/source/release-notes/workarea-3-2-26.html.md +94 -0
- data/docs/source/release-notes/workarea-3-2-27.html.md +61 -0
- data/docs/source/release-notes/workarea-3-2-28.html.md +96 -0
- data/docs/source/release-notes/workarea-3-2-29.html.md +126 -0
- data/docs/source/release-notes/workarea-3-2-30.html.md +112 -0
- data/docs/source/release-notes/workarea-3-2-31.html.md +105 -0
- data/docs/source/release-notes/workarea-3-2-32.html.md +56 -0
- data/docs/source/release-notes/workarea-3-2-33.html.md +82 -0
- data/docs/source/release-notes/workarea-3-2-34.html.md +153 -0
- data/docs/source/release-notes/workarea-3-2-35.html.md +91 -0
- data/docs/source/release-notes/workarea-3-2-36.html.md +118 -0
- data/docs/source/release-notes/workarea-3-2-37.html.md +46 -0
- data/docs/source/release-notes/workarea-3-2-38.html.md +23 -0
- data/docs/source/release-notes/workarea-3-2-39.html.md +42 -0
- data/docs/source/release-notes/workarea-3-2-4.html.md +109 -0
- data/docs/source/release-notes/workarea-3-2-40.html.md +25 -0
- data/docs/source/release-notes/workarea-3-2-41.html.md +90 -0
- data/docs/source/release-notes/workarea-3-2-5.html.md +186 -0
- data/docs/source/release-notes/workarea-3-2-6.html.md +173 -0
- data/docs/source/release-notes/workarea-3-2-7.html.md +89 -0
- data/docs/source/release-notes/workarea-3-2-8.html.md +137 -0
- data/docs/source/release-notes/workarea-3-2-9.html.md +219 -0
- data/docs/source/release-notes/workarea-3-3-0.html.md +1272 -0
- data/docs/source/release-notes/workarea-3-3-1.html.md +324 -0
- data/docs/source/release-notes/workarea-3-3-10.html.md +69 -0
- data/docs/source/release-notes/workarea-3-3-11.html.md +72 -0
- data/docs/source/release-notes/workarea-3-3-12.html.md +136 -0
- data/docs/source/release-notes/workarea-3-3-13.html.md +61 -0
- data/docs/source/release-notes/workarea-3-3-14.html.md +196 -0
- data/docs/source/release-notes/workarea-3-3-15.html.md +167 -0
- data/docs/source/release-notes/workarea-3-3-16.html.md +234 -0
- data/docs/source/release-notes/workarea-3-3-17.html.md +82 -0
- data/docs/source/release-notes/workarea-3-3-18.html.md +165 -0
- data/docs/source/release-notes/workarea-3-3-19.html.md +106 -0
- data/docs/source/release-notes/workarea-3-3-2.html.md +72 -0
- data/docs/source/release-notes/workarea-3-3-20.html.md +116 -0
- data/docs/source/release-notes/workarea-3-3-21.html.md +228 -0
- data/docs/source/release-notes/workarea-3-3-22.html.md +125 -0
- data/docs/source/release-notes/workarea-3-3-23.html.md +154 -0
- data/docs/source/release-notes/workarea-3-3-24.html.md +70 -0
- data/docs/source/release-notes/workarea-3-3-25.html.md +114 -0
- data/docs/source/release-notes/workarea-3-3-26.html.md +260 -0
- data/docs/source/release-notes/workarea-3-3-27.html.md +138 -0
- data/docs/source/release-notes/workarea-3-3-28.html.md +147 -0
- data/docs/source/release-notes/workarea-3-3-29.html.md +63 -0
- data/docs/source/release-notes/workarea-3-3-3.html.md +153 -0
- data/docs/source/release-notes/workarea-3-3-30.html.md +102 -0
- data/docs/source/release-notes/workarea-3-3-31.html.md +57 -0
- data/docs/source/release-notes/workarea-3-3-32.html.md +44 -0
- data/docs/source/release-notes/workarea-3-3-33.html.md +114 -0
- data/docs/source/release-notes/workarea-3-3-4.html.md +332 -0
- data/docs/source/release-notes/workarea-3-3-5.html.md +242 -0
- data/docs/source/release-notes/workarea-3-3-6.html.md +100 -0
- data/docs/source/release-notes/workarea-3-3-7.html.md +148 -0
- data/docs/source/release-notes/workarea-3-3-8.html.md +163 -0
- data/docs/source/release-notes/workarea-3-3-9.html.md +93 -0
- data/docs/source/release-notes/workarea-3-4-0.html.md +580 -0
- data/docs/source/release-notes/workarea-3-4-1.html.md +150 -0
- data/docs/source/release-notes/workarea-3-4-10.html.md +72 -0
- data/docs/source/release-notes/workarea-3-4-11.html.md +60 -0
- data/docs/source/release-notes/workarea-3-4-12.html.md +155 -0
- data/docs/source/release-notes/workarea-3-4-2.html.md +188 -0
- data/docs/source/release-notes/workarea-3-4-3.html.md +136 -0
- data/docs/source/release-notes/workarea-3-4-4.html.md +114 -0
- data/docs/source/release-notes/workarea-3-4-5.html.md +275 -0
- data/docs/source/release-notes/workarea-3-4-6.html.md +169 -0
- data/docs/source/release-notes/workarea-3-4-7.html.md +162 -0
- data/docs/source/release-notes/workarea-3-4-8.html.md +95 -0
- data/docs/source/release-notes/workarea-3-4-9.html.md +135 -0
- data/docs/source/search.html.erb +34 -0
- data/docs/source/shared/_header.erb +61 -0
- data/docs/source/shared/_svgs.erb +17 -0
- data/docs/source/style_guide/index.html.erb +382 -0
- data/docs/source/stylesheets/_base.scss +125 -0
- data/docs/source/stylesheets/_components.scss +669 -0
- data/docs/source/stylesheets/_helpers.scss +10 -0
- data/docs/source/stylesheets/_opinions.scss +42 -0
- data/docs/source/stylesheets/_settings.scss +56 -0
- data/docs/source/stylesheets/_typography.scss +119 -0
- data/docs/source/stylesheets/site.css.scss +14 -0
- data/docs/source/stylesheets/vendor/_avalanche.scss +328 -0
- data/docs/source/stylesheets/vendor/_normalize.scss +341 -0
- data/docs/source/stylesheets/vendor/highlight/_tomorrow_night_blue.scss +75 -0
- data/docs/source/upgrade-guides.html.md +18 -0
- data/docs/source/upgrade-guides/workarea-3-4-0.html.md +152 -0
- data/docs/workarea_renderer.rb +8 -0
- data/docs/yarn.lock +2522 -0
- metadata +669 -0
@@ -0,0 +1,123 @@
|
|
1
|
+
---
|
2
|
+
title: Workarea 3.0.18
|
3
|
+
excerpt: Updates the platform's sidekiq-cron dependency to '~> 0.6.3' to address reports of scheduled jobs not running.
|
4
|
+
---
|
5
|
+
|
6
|
+
# Workarea 3.0.18
|
7
|
+
|
8
|
+
## Updates Sidekiq Cron Dependency
|
9
|
+
|
10
|
+
Updates the platform's [sidekiq-cron](https://rubygems.org/gems/sidekiq-cron) dependency to `'~> 0.6.3'` to address reports of scheduled jobs not running.
|
11
|
+
|
12
|
+
### Issues
|
13
|
+
|
14
|
+
- [ECOMMERCE-5358](https://jira.tools.weblinc.com/browse/ECOMMERCE-5358)
|
15
|
+
|
16
|
+
### Pull Requests
|
17
|
+
|
18
|
+
- [2880](https://stash.tools.weblinc.com/projects/WL/repos/workarea/pull-requests/2880/overview)
|
19
|
+
|
20
|
+
### Commits
|
21
|
+
|
22
|
+
- [5baf4336baa6aa8fe4f9609ba7a854ae3bca700f](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/5baf4336baa6aa8fe4f9609ba7a854ae3bca700f)
|
23
|
+
- [33401afc59ab97ebc61b3526891db73029e785bd](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/33401afc59ab97ebc61b3526891db73029e785bd)
|
24
|
+
|
25
|
+
## Removes HTTP Caching of Storefront 404 Pages
|
26
|
+
|
27
|
+
Modifies the Storefront errors controller to prevent 404 pages from being HTTP cached.
|
28
|
+
|
29
|
+
### Issues
|
30
|
+
|
31
|
+
- [ECOMMERCE-5359](https://jira.tools.weblinc.com/browse/ECOMMERCE-5359)
|
32
|
+
|
33
|
+
### Pull Requests
|
34
|
+
|
35
|
+
- [2876](https://stash.tools.weblinc.com/projects/WL/repos/workarea/pull-requests/2876/overview)
|
36
|
+
|
37
|
+
### Commits
|
38
|
+
|
39
|
+
- [f449d56c98cb7d0823b079040ac6da70992985db](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/f449d56c98cb7d0823b079040ac6da70992985db)
|
40
|
+
- [c85f62871ad132961787a651ce3a093836686af2](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/c85f62871ad132961787a651ce3a093836686af2)
|
41
|
+
|
42
|
+
## Fixes Product Rules Search Query for Multiple Categories
|
43
|
+
|
44
|
+
When querying for products matching a product rule whose value is a list of categories, the query should return the _union_ of those categories, that is, the list of products in _any_ of the specified categories. The query was incorrectly returning the _intersection_ (i.e. the products common to _all_ the categories specified in the rule).
|
45
|
+
|
46
|
+
This change modifies the product rules search query to return the correct products.
|
47
|
+
|
48
|
+
### Issues
|
49
|
+
|
50
|
+
- [ECOMMERCE-5263](https://jira.tools.weblinc.com/browse/ECOMMERCE-5263)
|
51
|
+
|
52
|
+
### Pull Requests
|
53
|
+
|
54
|
+
- [2836](https://stash.tools.weblinc.com/projects/WL/repos/workarea/pull-requests/2836/overview)
|
55
|
+
|
56
|
+
### Commits
|
57
|
+
|
58
|
+
- [45b9f0a61efe74a65146b3316652af6781c355f6](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/45b9f0a61efe74a65146b3316652af6781c355f6)
|
59
|
+
- [96510dbedda745982b138f844052afc1dfccdbb6](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/96510dbedda745982b138f844052afc1dfccdbb6)
|
60
|
+
|
61
|
+
## Fixes Display of Admin Filter Dropdown
|
62
|
+
|
63
|
+
Fixes z-index of Admin browsing control filter dropdowns, which were displaying incorrectly
|
64
|
+
|
65
|
+
### Issues
|
66
|
+
|
67
|
+
- [ECOMMERCE-5268](https://jira.tools.weblinc.com/browse/ECOMMERCE-5268)
|
68
|
+
|
69
|
+
### Pull Requests
|
70
|
+
|
71
|
+
- [2859](https://stash.tools.weblinc.com/projects/WL/repos/workarea/pull-requests/2859/overview)
|
72
|
+
|
73
|
+
### Commits
|
74
|
+
|
75
|
+
- [7c396c6a275e94beb7f109dd5a7623a5ff2bb75d](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/7c396c6a275e94beb7f109dd5a7623a5ff2bb75d)
|
76
|
+
- [50a6655af3ed38218cd2e47872d3c75a95726b17](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/50a6655af3ed38218cd2e47872d3c75a95726b17)
|
77
|
+
|
78
|
+
## Fixes Admin Help Search Margin
|
79
|
+
|
80
|
+
Modifies the Admin search form component to fix the bottom margin of the Admin help search form.
|
81
|
+
|
82
|
+
### Issues
|
83
|
+
|
84
|
+
- [ECOMMERCE-5388](https://jira.tools.weblinc.com/browse/ECOMMERCE-5388)
|
85
|
+
|
86
|
+
### Commits
|
87
|
+
|
88
|
+
- [f1a235507e297de2e725fb511d296d1c00f1629b](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/f1a235507e297de2e725fb511d296d1c00f1629b)
|
89
|
+
|
90
|
+
## Fixes Button Content Block SVG
|
91
|
+
|
92
|
+
Modifies the button content block SVG file in the Admin to fix the fill color, which was inconsistent with other content block icons.
|
93
|
+
|
94
|
+
### Issues
|
95
|
+
|
96
|
+
- [ECOMMERCE-5322](https://jira.tools.weblinc.com/browse/ECOMMERCE-5322)
|
97
|
+
|
98
|
+
### Pull Requests
|
99
|
+
|
100
|
+
- [2875](https://stash.tools.weblinc.com/projects/WL/repos/workarea/pull-requests/2875/overview)
|
101
|
+
|
102
|
+
### Commits
|
103
|
+
|
104
|
+
- [2e8f03024b4dcf1bcb4ef4d059ddfe8b6b1fc799](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/2e8f03024b4dcf1bcb4ef4d059ddfe8b6b1fc799)
|
105
|
+
- [f2d9d2be5d0af3d1a87ff6df8464e8cbf06f4277](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/f2d9d2be5d0af3d1a87ff6df8464e8cbf06f4277)
|
106
|
+
|
107
|
+
## Adds Link Color Modifier to SVG Icon Component in Admin
|
108
|
+
|
109
|
+
Adds the _link-color_ modifier to the _svg-icon_ component in the Admin.
|
110
|
+
|
111
|
+
### Issues
|
112
|
+
|
113
|
+
- [ECOMMERCE-5375](https://jira.tools.weblinc.com/browse/ECOMMERCE-5375)
|
114
|
+
|
115
|
+
### Pull Requests
|
116
|
+
|
117
|
+
- [2883](https://stash.tools.weblinc.com/projects/WL/repos/workarea/pull-requests/2883/overview)
|
118
|
+
|
119
|
+
### Commits
|
120
|
+
|
121
|
+
- [0f72de885f69b02d5eb0e59522b5b0eed7a0f485](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/0f72de885f69b02d5eb0e59522b5b0eed7a0f485)
|
122
|
+
- [bcc9fa9b18cef083f9cdd5c37deed8f1a4ac4ebd](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/bcc9fa9b18cef083f9cdd5c37deed8f1a4ac4ebd)
|
123
|
+
|
@@ -0,0 +1,160 @@
|
|
1
|
+
---
|
2
|
+
title: Workarea 3.0.19
|
3
|
+
excerpt: Uses a larger page size for bulk actions to reduce database queries and improve performance. Adds Workarea.config.bulk_action_per_page to configure the per-page value.
|
4
|
+
---
|
5
|
+
|
6
|
+
# Workarea 3.0.19
|
7
|
+
|
8
|
+
## Improves Bulk Action Performance
|
9
|
+
|
10
|
+
Uses a larger page size for bulk actions to reduce database queries and improve performance. Adds `Workarea.config.bulk_action_per_page` to configure the per-page value.
|
11
|
+
|
12
|
+
**If after this change you find your bulk action workers are using too much memory, reduce the value.**
|
13
|
+
|
14
|
+
### Issues
|
15
|
+
|
16
|
+
- [ECOMMERCE-5390](https://jira.tools.weblinc.com/browse/ECOMMERCE-5390)
|
17
|
+
|
18
|
+
### Pull Requests
|
19
|
+
|
20
|
+
- [2912](https://stash.tools.weblinc.com/projects/WL/repos/workarea/pull-requests/2912/overview)
|
21
|
+
|
22
|
+
### Commits
|
23
|
+
|
24
|
+
- [1981a4df1682934edce0ecdff448a7b4c22b07fd](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/1981a4df1682934edce0ecdff448a7b4c22b07fd)
|
25
|
+
- [f55f0691a9881aa0f95ceeb8a078399ab286528a](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/f55f0691a9881aa0f95ceeb8a078399ab286528a)
|
26
|
+
|
27
|
+
## Fixes Region Selection in Storefront Address Forms
|
28
|
+
|
29
|
+
Storefront address forms could select the wrong region on page load. This change updates `WORKAREA.addressRegionFields` to consider country when selecting the region, which fixes the issue.
|
30
|
+
|
31
|
+
### Issues
|
32
|
+
|
33
|
+
- [ECOMMERCE-5324](https://jira.tools.weblinc.com/browse/ECOMMERCE-5324)
|
34
|
+
|
35
|
+
### Pull Requests
|
36
|
+
|
37
|
+
- [2901](https://stash.tools.weblinc.com/projects/WL/repos/workarea/pull-requests/2901/overview)
|
38
|
+
|
39
|
+
### Commits
|
40
|
+
|
41
|
+
- [6eb7dddbb794c1598c44547a905761178dd5809c](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/6eb7dddbb794c1598c44547a905761178dd5809c)
|
42
|
+
- [0106798d3a5086488fe6648289a13aa3a4f94121](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/0106798d3a5086488fe6648289a13aa3a4f94121)
|
43
|
+
- [196b8bb186b698c14ae474e8c725a3069f5f2be4](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/196b8bb186b698c14ae474e8c725a3069f5f2be4)
|
44
|
+
- [8b215de768a4a12bf4ade0715431c14243c28c31](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/8b215de768a4a12bf4ade0715431c14243c28c31)
|
45
|
+
|
46
|
+
## Fixes Product Rule Preview When Updating a Rule
|
47
|
+
|
48
|
+
When editing an existing product rule (e.g. when editing a category), the preview could show incorrect matches. This change modifies the Admin product rules controller to fix the issue.
|
49
|
+
|
50
|
+
### Issues
|
51
|
+
|
52
|
+
- [ECOMMERCE-5420](https://jira.tools.weblinc.com/browse/ECOMMERCE-5420)
|
53
|
+
|
54
|
+
### Pull Requests
|
55
|
+
|
56
|
+
- [2915](https://stash.tools.weblinc.com/projects/WL/repos/workarea/pull-requests/2915/overview)
|
57
|
+
|
58
|
+
### Commits
|
59
|
+
|
60
|
+
- [6161b40673b15b9b6161461ef36408d33a0dfd03](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/6161b40673b15b9b6161461ef36408d33a0dfd03)
|
61
|
+
- [ed89159ac365514d47f009057e27580c60e90085](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/ed89159ac365514d47f009057e27580c60e90085)
|
62
|
+
|
63
|
+
## Fixes Mapping Errors on Category Percolations
|
64
|
+
|
65
|
+
Category percolations could raise errors due to unmapped fields. To prevent this issue, this change modifies the `workarea:search_index:storefront` Rake task to index products representing all unique filters before indexing categories.
|
66
|
+
|
67
|
+
### Issues
|
68
|
+
|
69
|
+
- [ECOMMERCE-5435](https://jira.tools.weblinc.com/browse/ECOMMERCE-5435)
|
70
|
+
|
71
|
+
### Pull Requests
|
72
|
+
|
73
|
+
- [2924](https://stash.tools.weblinc.com/projects/WL/repos/workarea/pull-requests/2924/overview)
|
74
|
+
|
75
|
+
### Commits
|
76
|
+
|
77
|
+
- [66bcc4f618a44915666d79b3cfd2f50457af6394](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/66bcc4f618a44915666d79b3cfd2f50457af6394)
|
78
|
+
- [4add203333996df30b3425e765cbfc0fb9bb2afb](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/4add203333996df30b3425e765cbfc0fb9bb2afb)
|
79
|
+
|
80
|
+
## Fixes Saving Order Details to New User
|
81
|
+
|
82
|
+
Under certain circumstances, order details could incorrectly be saved to a new user account created by the customer while the completed order cookie is still present in the customer's browser. To prevent this, this change skips saving order details to the user if the user email and completed order email don't match. And it deletes the completed order cookie when the user logs out.
|
83
|
+
|
84
|
+
### Issues
|
85
|
+
|
86
|
+
- [ECOMMERCE-5392](https://jira.tools.weblinc.com/browse/ECOMMERCE-5392)
|
87
|
+
|
88
|
+
### Pull Requests
|
89
|
+
|
90
|
+
- [2893](https://stash.tools.weblinc.com/projects/WL/repos/workarea/pull-requests/2893/overview)
|
91
|
+
|
92
|
+
### Commits
|
93
|
+
|
94
|
+
- [8fe4ae0e069bcb203cdbd85df9554a95f6ca4b5b](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/8fe4ae0e069bcb203cdbd85df9554a95f6ca4b5b)
|
95
|
+
- [6c6b184defac5c858384e18ded99f813166e4740](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/6c6b184defac5c858384e18ded99f813166e4740)
|
96
|
+
- [9342edc70685cd609b5de47ba0ccb6718af5fd6c](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/9342edc70685cd609b5de47ba0ccb6718af5fd6c)
|
97
|
+
|
98
|
+
## Fixes Automatically Logging Out Customers
|
99
|
+
|
100
|
+
A scenario was discovered in which customers could automatically be logged out. This change modifies the Core authentication controller to fix the issue.
|
101
|
+
|
102
|
+
### Issues
|
103
|
+
|
104
|
+
- [ECOMMERCE-5344](https://jira.tools.weblinc.com/browse/ECOMMERCE-5344)
|
105
|
+
|
106
|
+
### Pull Requests
|
107
|
+
|
108
|
+
- [2907](https://stash.tools.weblinc.com/projects/WL/repos/workarea/pull-requests/2907/overview)
|
109
|
+
|
110
|
+
### Commits
|
111
|
+
|
112
|
+
- [adb19825c3102fe5412103b503b2f6ccdaf17933](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/adb19825c3102fe5412103b503b2f6ccdaf17933)
|
113
|
+
- [126a698ae76a50875e34c37c70fb7753fc34e624](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/126a698ae76a50875e34c37c70fb7753fc34e624)
|
114
|
+
|
115
|
+
## Displays a Warning When MongoDB "No Table Scan" is Set in Non-Test Environments
|
116
|
+
|
117
|
+
When running in test environments, Workarea sets MongoDB's [notablescan](https://docs.mongodb.com/manual/reference/parameters/#param.notablescan) parameter in order to detect unindexed queries. Some developers have reported this parameter turned on in non-test environments, presumably because a test run was interrupted before it could unset the parameter. This change adds a warning when notablescan is set in non-test environments. The warning message provides instructions to unset the parameter.
|
118
|
+
|
119
|
+
### Issues
|
120
|
+
|
121
|
+
- [ECOMMERCE-5389](https://jira.tools.weblinc.com/browse/ECOMMERCE-5389)
|
122
|
+
|
123
|
+
### Pull Requests
|
124
|
+
|
125
|
+
- [2919](https://stash.tools.weblinc.com/projects/WL/repos/workarea/pull-requests/2919/overview)
|
126
|
+
|
127
|
+
### Commits
|
128
|
+
|
129
|
+
- [9d965126bac1b6d0baa00c9b59bca5d2c154b160](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/9d965126bac1b6d0baa00c9b59bca5d2c154b160)
|
130
|
+
- [b0f9b730b83c761c8a45139e7067c89c54de8c9e](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/b0f9b730b83c761c8a45139e7067c89c54de8c9e)
|
131
|
+
|
132
|
+
## Fixes Unclosed MongoDB Connections
|
133
|
+
|
134
|
+
MongoDB connections opened to set notablescan were not being closed. This change fixes the issue.
|
135
|
+
|
136
|
+
### Issues
|
137
|
+
|
138
|
+
- [ECOMMERCE-5429](https://jira.tools.weblinc.com/browse/ECOMMERCE-5429)
|
139
|
+
|
140
|
+
### Commits
|
141
|
+
|
142
|
+
- [2e00209e5494f09f3eda50b27f586cf4597b538e](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/2e00209e5494f09f3eda50b27f586cf4597b538e)
|
143
|
+
|
144
|
+
## Fixes Content Editor Delay in Development
|
145
|
+
|
146
|
+
In multi-threaded development environments, the Admin content editor is often slow to load because it is waiting for iframes to load, but those iframes contain errors preventing them from loading. This change handles those errors and considers the iframes loaded so the content editor can be displayed more quickly. You can avoid these errors entirely by running a single-threaded server in development.
|
147
|
+
|
148
|
+
### Issues
|
149
|
+
|
150
|
+
- [ECOMMERCE-5385](https://jira.tools.weblinc.com/browse/ECOMMERCE-5385)
|
151
|
+
|
152
|
+
### Pull Requests
|
153
|
+
|
154
|
+
- [2920](https://stash.tools.weblinc.com/projects/WL/repos/workarea/pull-requests/2920/overview)
|
155
|
+
|
156
|
+
### Commits
|
157
|
+
|
158
|
+
- [9e9eeab73804f9cd39af08fc9e543156d3a2fbfc](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/9e9eeab73804f9cd39af08fc9e543156d3a2fbfc)
|
159
|
+
- [56a8c1dd1f6940dd0f8333494438e062ea8d8dc4](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/56a8c1dd1f6940dd0f8333494438e062ea8d8dc4)
|
160
|
+
|
@@ -0,0 +1,222 @@
|
|
1
|
+
---
|
2
|
+
title: Workarea 3.0.2
|
3
|
+
excerpt: Commit
|
4
|
+
---
|
5
|
+
|
6
|
+
# Workarea 3.0.2
|
7
|
+
|
8
|
+
## Suppresses Analytics Callbacks for Admins
|
9
|
+
|
10
|
+
[Commit](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/6f89f254c384a1eece84901a89c288279c87f972)
|
11
|
+
|
12
|
+
Workarea 3.0.2 does not fire analytics callbacks when the current user is an administrator. This change reduces the amount of unwanted non-customer data being sent to 3rd party analytics services. The change affects _workarea/storefront/modules/analytics.js_ in the Storefront, which now looks for an `analytics=false` cookie. This cookie is managed in _controllers/workarea/authentication.rb_ in Workarea Core. If your application is overriding the Storefront analytics JS, you should update your copy to suppress callbacks when the cookie is set.
|
13
|
+
|
14
|
+
## Adds Index to Payment Transaction Action
|
15
|
+
|
16
|
+
[Commit](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/5d091f991e6cba89926fc1168b9155dca5a63f2e)
|
17
|
+
|
18
|
+
Workarea 3.0.2 declares an index on `Workarea::Payment::Transaction#action`.
|
19
|
+
|
20
|
+
```
|
21
|
+
# workarea/core/app/models/workarea/payment/transaction.rb
|
22
|
+
|
23
|
+
module Workarea
|
24
|
+
class Payment
|
25
|
+
class Transaction
|
26
|
+
include ApplicationDocument
|
27
|
+
|
28
|
+
# ...
|
29
|
+
|
30
|
+
field :action, type: String
|
31
|
+
|
32
|
+
# ...
|
33
|
+
|
34
|
+
index({ action: 1 })
|
35
|
+
|
36
|
+
# ...
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
```
|
41
|
+
|
42
|
+
To benefit from this index, you must create it within each environment. The following command will create the index. Applications using [Workarea OMS](https://stash.tools.weblinc.com/projects/WL/repos/workarea-oms/browse) **must** create this index.
|
43
|
+
|
44
|
+
```
|
45
|
+
bin/rails db:mongoid:create_indexes
|
46
|
+
```
|
47
|
+
|
48
|
+
## Removes Grid Component from Taxonomy Content Blocks
|
49
|
+
|
50
|
+
[Pull Request](https://stash.tools.weblinc.com/projects/WL/repos/workarea/pull-requests/2468/overview)
|
51
|
+
|
52
|
+
Workarea 3.0.1 uses the _grid_ component for the layout of taxonomy content blocks in the Storefront. However, these blocks typically require a custom layout, requiring the removal of the grid component. Workarea 3.0.2 removes the grid component from these blocks, replacing `grid __cell` elements with `taxonomy-content-block__ container` elements in the following Storefront partials.
|
53
|
+
|
54
|
+
- workarea/storefront/content\_blocks/\_taxonomy.haml
|
55
|
+
- workarea/storefront/content\_blocks/\_three\_column\_taxonomy.haml
|
56
|
+
- workarea/storefront/content\_blocks/\_two\_column\_taxonomy.haml
|
57
|
+
|
58
|
+
Also affected are the _workarea/storefront/components/\_taxonomy\_content\_block.scss_ Storefront stylesheet and the `Workarea::Storefront::ContentHelper#render_image_with_link` Storefront helper method.
|
59
|
+
|
60
|
+
Run [Workarea Upgrade](https://stash.tools.weblinc.com/projects/WL/repos/workarea-upgrade/browse) or review the pull request to determine if your application is affected.
|
61
|
+
|
62
|
+
## Reduces Focus Styles in Storefront
|
63
|
+
|
64
|
+
[Pull Request](https://stash.tools.weblinc.com/projects/WL/repos/workarea/pull-requests/2460/overview)
|
65
|
+
|
66
|
+
Workarea 3.0.1 highlights almost all focusable elements in the Storefront when those elements are focused (via the _focus-ring_ Sass mixin). This is an oversight and causes unwanted focus rings. Workarea 3.0.2 reduces the affected elements to `input`, `textarea`, and `select`.
|
67
|
+
|
68
|
+
This change also removes the _workarea/storefront/generic/\_accessibility.scss_ stylesheet from the Storefront, and removes its inclusion within the Storefront's _workarea/storefront/application.scss.erb_ manifest.
|
69
|
+
|
70
|
+
## Fixes Styles for Secondary Nav Component
|
71
|
+
|
72
|
+
[Commit](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/368f9775a183bf3696cb2884ab35b08aaa56ed0a)
|
73
|
+
|
74
|
+
Workarea 3.0.2 updates selectors in the _workarea/storefront/components/\_secondary\_nav.scss_ Storefront stylesheet to match the structure of the _secondary-nav_ component, as it is used in the _workarea/storefront/shared/\_left\_navigation.html.haml_ partial. The commit also makes minor changes to the default styles for this component.
|
75
|
+
|
76
|
+
## Normalizes Padding in Storefront Page Aside
|
77
|
+
|
78
|
+
[Commit](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/0c822dc843282771aac3b2f2bf14166247cadad1)
|
79
|
+
|
80
|
+
Workarea 3.0.2 removes padding from the following selectors to apply consistent default spacing within the Storefront page aside.
|
81
|
+
|
82
|
+
- `.result-filters__section`
|
83
|
+
- `.recent-views--aside .recent-views__section`
|
84
|
+
|
85
|
+
The following Storefront stylesheets are affected.
|
86
|
+
|
87
|
+
- workarea/storefront/components/\_recent\_views.scss
|
88
|
+
- workarea/storefront/components/\_result\_filters.scss
|
89
|
+
|
90
|
+
## Aligns Test Class Names with File Names
|
91
|
+
|
92
|
+
[Pull Request](https://stash.tools.weblinc.com/projects/WL/repos/workarea/pull-requests/2477/overview), [Pull Request](https://stash.tools.weblinc.com/projects/WL/repos/workarea/pull-requests/2478/overview), [Commit](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/6933e8b7b9a3982f696ea0a60dcb00b71060c026)
|
93
|
+
|
94
|
+
Workarea 3.0.2 renames several test classes and test file names to bring them into alignment. If your application is decorating any of the affected classes, you will need to update your decorators. Run [Workarea Upgrade](https://stash.tools.weblinc.com/projects/WL/repos/workarea-upgrade/browse) or review the pull requests to see which classes and files are affected.
|
95
|
+
|
96
|
+
## Changes Admin Append Points
|
97
|
+
|
98
|
+
[Pull Request](https://stash.tools.weblinc.com/projects/WL/repos/workarea/pull-requests/2469/overview), [Pull Request](https://stash.tools.weblinc.com/projects/WL/repos/workarea/pull-requests/2476/overview), [Pull Request](https://stash.tools.weblinc.com/projects/WL/repos/workarea/pull-requests/2472/overview), [Commit](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/5d091f991e6cba89926fc1168b9155dca5a63f2e)
|
99
|
+
|
100
|
+
Workarea 3.0.2 adds append points to the following Admin views and removes an append point from _workarea/admin/payments/show.html.haml_. If your application is overriding any of these views, you may wish to add these append points so that partials from plugins are rendered appropriately.
|
101
|
+
|
102
|
+
- workarea/admin/orders/attributes.html.haml
|
103
|
+
- workarea/admin/prices/edit.html.haml
|
104
|
+
- workarea/admin/prices/index.html.haml
|
105
|
+
- workarea/admin/prices/new.html.haml
|
106
|
+
- workarea/admin/create\_pricing\_discounts/setup.html.haml
|
107
|
+
- workarea/admin/catalog\_products/\_aux\_navigation.html.haml
|
108
|
+
- workarea/admin/fulfillments/show.html.haml
|
109
|
+
- workarea/admin/orders/show.html.haml
|
110
|
+
- workarea/admin/payments/show.html.haml
|
111
|
+
|
112
|
+
To see the changes, run [Workarea Upgrade](https://stash.tools.weblinc.com/projects/WL/repos/workarea-upgrade/browse) or review the pull requests/commits.
|
113
|
+
|
114
|
+
## Allows Decoration of Generator Tests
|
115
|
+
|
116
|
+
[Commit](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/e1d69e218a3bcde4727de5f34175ba0811fb6004)
|
117
|
+
|
118
|
+
Workarea 3.0.2 adds a new test class, `Workarea::GeneratorTest`. This class inherits from `Rails::Generators::TestCase`, but allows for test decoration by plugins and applications. The commit changes all generator tests to inherit from `Workarea::GeneratorTest` instead of `Rails::Generators::TestCase`.
|
119
|
+
|
120
|
+
## Improves Note on Shipping Services Regions Field in Admin
|
121
|
+
|
122
|
+
[Commit](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/cf881995746af71b4b2b010c19c45b7b3abeeaa3)
|
123
|
+
|
124
|
+
Workarea 3.0.2 improves the note for the _Regions_ field within the shipping services _new_ and _edit_ screens in the Admin. The change modifies _workarea/admin/shipping\_services/new.html.haml_ and _workarea/admin/shipping\_services/edit.html.haml_ to use a new translation key: `workarea.admin.shipping_services.regions_note`. If your application is overriding either of these views, you may want to update your copies.
|
125
|
+
|
126
|
+
## Fixes Invalid HTML for the Social Networks Content Block Type
|
127
|
+
|
128
|
+
[Commit](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/dbc22fe084cf596226a1fb6f5794a5e443a53a58)
|
129
|
+
|
130
|
+
Workarea 3.0.2 fixes invalid HTML in the _workarea/storefront/content\_blocks/\_social\_networks.html.haml_ Storefront partial by wrapping the `li` elements in a `ul`. If your application is overriding this partial, you should make the same change in your copy.
|
131
|
+
|
132
|
+
## Adds Test Case Methods to Determine Mount Point
|
133
|
+
|
134
|
+
[Pull Request](https://stash.tools.weblinc.com/projects/WL/repos/workarea/pull-requests/2461/overview)
|
135
|
+
|
136
|
+
Workarea 3.0.2 adds the `Workarea::TestCase.running_in_gem?` and `Workarea::TestCase#running_in_gem?` predicate methods to all test case classes. These methods return `true` when a test is run within the engine's embedded dummy app rather than a Workarea application. These methods allow for code branching, such as when configuring the location of [vcr](https://github.com/vcr/vcr) cassettes.
|
137
|
+
|
138
|
+
```
|
139
|
+
# workarea-testing/lib/workarea/test_case.rb
|
140
|
+
|
141
|
+
module Workarea
|
142
|
+
class TestCase < ActiveSupport::TestCase
|
143
|
+
# ...
|
144
|
+
|
145
|
+
delegate :running_in_gem?, to: :class
|
146
|
+
|
147
|
+
def self.running_in_gem?
|
148
|
+
Rails.root.to_s.include?('test/dummy')
|
149
|
+
end
|
150
|
+
end
|
151
|
+
end
|
152
|
+
```
|
153
|
+
|
154
|
+
## Enumerates Configured Card Types in Payment Icon Style Guide
|
155
|
+
|
156
|
+
[Pull Request](https://stash.tools.weblinc.com/projects/WL/repos/workarea/pull-requests/2454/overview)
|
157
|
+
|
158
|
+
The Storefront's _payment icon_ component provides a modifier for each configured credit card type. The style guide for this component displays each modifier, an excerpt of which is shown below.
|
159
|
+
|
160
|
+

|
161
|
+
|
162
|
+
While Workarea 3.0.0 employs static code examples for these modifiers, Workarea 3.0.2 enumerates `Workarea.config.credit_card_issuers`, producing a code example for each member of that collection. This change ensures each accepted card type is represented on the style guide. It also allows plugins and applications to extend the style guide without overriding the partial.
|
163
|
+
|
164
|
+
If your application is overriding this view, you may want to update the copy in your application to ensure your style guide stays in sync with the configured card types.
|
165
|
+
|
166
|
+
## Adds Admin Helper Method for Content Block Icons
|
167
|
+
|
168
|
+
[Pull Request](https://stash.tools.weblinc.com/projects/WL/repos/workarea/pull-requests/2471/overview)
|
169
|
+
|
170
|
+
Workarea 3.0.2 adds the `Workarea::Admin::ContentBlockIconHelper#content_block_icon` helper method to render content block icons in the Admin. The helper mimics the signature of `InlineSvg::ActionView::Helpers#inline_svg`, and uses that method in its implementation. The new helper method is needed to allow for a default icon for custom block types that do not provide their own icon. The default icon file is _workarea/admin/content\_block\_types/custom\_block.svg_.
|
171
|
+
|
172
|
+
Within the following Admin views, `content_block_icon` replaces `inline_svg`.
|
173
|
+
|
174
|
+
- workarea/admin/content/\_form.html.haml
|
175
|
+
- workarea/admin/content\_blocks/index.html.haml
|
176
|
+
|
177
|
+
The change also adds a `type` method to `Workarea::Content::Preset`. The method returns an instance of `Workarea::Content::BlockType` and is needed to provide access to `Workarea::Content::BlockType#icon`, which returns the path to the block type's icon file.
|
178
|
+
|
179
|
+
```
|
180
|
+
# workarea-core/app/models/workarea/content/preset.rb
|
181
|
+
|
182
|
+
module Workarea
|
183
|
+
class Content
|
184
|
+
class Preset
|
185
|
+
include ApplicationDocument
|
186
|
+
|
187
|
+
# ...
|
188
|
+
|
189
|
+
# The {Workarea::Content::BlockType} that this block is. See documentation
|
190
|
+
# for {Content.define_block_types} for info how to define block types.
|
191
|
+
#
|
192
|
+
# @return [Workarea::Content::BlockType]
|
193
|
+
#
|
194
|
+
def type
|
195
|
+
Workarea.config.content_block_types.detect { |bt| bt.id == type_id }
|
196
|
+
end
|
197
|
+
end
|
198
|
+
end
|
199
|
+
end
|
200
|
+
```
|
201
|
+
|
202
|
+
The pull request also updates Workarea's dependency on [inline\_svg](https://rubygems.org/gems/inline_svg) to `'~> 1.2.1'`.
|
203
|
+
|
204
|
+
## Adds Helper Method to Test for Partials to Append
|
205
|
+
|
206
|
+
[Commit](https://stash.tools.weblinc.com/projects/WL/repos/workarea/commits/5d091f991e6cba89926fc1168b9155dca5a63f2e)
|
207
|
+
|
208
|
+
Workarea 3.0.2 adds the `Workarea::PluginsHelper#partials_to_append?` helper method, which returns `true` if any partials are registered to append to a given append point. The example below tests if there are any partials to append to `'admin.fulfillment_show_workflow_bar'` before appending the partials, allowing for conditional markup.
|
209
|
+
|
210
|
+
```
|
211
|
+
/ workarea-admin/app/views/workarea/admin/fulfillments/show.html.haml
|
212
|
+
|
213
|
+
/ ...
|
214
|
+
|
215
|
+
- if partials_to_append?('admin.fulfillment_show_workflow_bar')
|
216
|
+
.workflow-bar
|
217
|
+
.grid
|
218
|
+
.grid __cell.grid__ cell--50
|
219
|
+
.grid __cell.grid__ cell--50.align-right
|
220
|
+
= append_partials('admin.fulfillment_show_workflow_bar', order: @order, fulfillment: @fulfillment)
|
221
|
+
```
|
222
|
+
|