Workarea 3.2.0
Uses Rails' Time Zone to Display all Dates & Times
Displays dates and times in the Storefront and Admin using the time zone specified in Rails.application.config.time_zone
.
Configure this time zone as appropriate for the retailer. If present, use the same value assigned to Workarea.config.analytics_timezone
This change is an expansion of the time zone changes introduced in Workarea 3.0.15, which added Workarea.config.analytics_timezone
.
Dates and times are still stored in UTC, so no database changes are required, however, you must find and replace various Ruby API calls within your application to ensure the configured time zone is used for display. This article describes the necessary changes, but the specific changes listed in the article are also duplicated below.
Don't use:
Time.now
Date.today
Date.today.to_time
Time.parse("2015-07-04 17:05:37")
Time.strptime(string, "%Y-%m-%dT%H:%M:%S%z")
Do use:
Time.current
2.hours.ago
Time.zone.today
Date.current
1.day.from_now
Time.zone.parse("2015-07-04 17:05:37")
Time.strptime(string, "%Y-%m-%dT%H:%M:%S%z").in_time_zone
To summarize, you must set Rails.application.config.time_zone
to the time zone desired by the retailer and also find and replace within your application code according to the rules above.
Issues
Pull Requests
Commits
- 3e79be19e935b96b17058da31a6b76f055423f0d
- 9538e315c6dec3aa0c55cab91875d02eef904f62
- f45b894a1a33af2fd285d43218221363cb9ef8b5
- 15a6d16285921e73597a51362fdb1233d90ead77
- ad2771eedf8719647d7df6ac3967861b0bd81abc
Changes Password Requirements for Admins
In response to a PCI audit, changes password requirements for admin users. Within Workarea::User::Passwords
, changes the required password strength for administrators to :strong
. Updates administrator passwords throughout all seeds and tests to comply.
You will need to update admin passwords within your application code (seeds and tests) to conform to the new requirements. Production users are unaffected until their next password change, at which time the new rules will be enforced.
Issues
Pull Requests
Commits
Updates Ruby Dependencies
Updates various Ruby dependencies, which removes Fixnum
deprecation warnings and provides the benefits of various library fixes and improvements.
- Changes the minimum required Ruby version
- Changes the following library dependencies in Core:
- countries
- easymon
- faker
- geocoder
- image_optim
- image_optim_pack
- inline_svg
- jbuilder
- minitest
- money-rails
- redcarpet
- sidekiq
- sidekiq-unique-jobs
- Changes the following library dependencies in Testing:
- mocha
- webmock
Issues
Commits
- 3297b03a946bf0c0656d498d6b2e590b58c1c21d
- a6c0c13720c61887a9cbebdf34be147c527207bf
- b33301e89801d64b9f84e03f9ad5f17ec0430b53
- 526bd2d5ef27be9207db2a94d22d92b3510f68a9
Converts All Remaining Specs to Tests
Converts all remaining RSpec specs within the platform to Minitest tests.
This change will add a substantial number of tests to your application's test suite. If this is a burden for your application (perhaps due to extensive customization), skip or pass tests as necessary within your app.
- Adds MongoDB indexes as necessary (indexes are programmatically enforced in the Minitest test suite)
- Moves mixin tests from Workarea Testing to their own classes in Workarea Core
- Renames spec to test within some remaining filenames and pathnames (review the changes linked below)
- Removes all code to support and run specs
Issues
Pull Requests
Commits
- f1a6829c9fa9ead257560fd18e2a59c5a41606d3
- 51c8b1923b074b59e2a85ba19d18c575a2771cf5
- e25f1243a7000a3f90d450b55c92dc787e105781
- 61f500f8c636c92cfde083c50fc0251752312640
- 0c9cb85ef60cda4de17a9e884fa12aa7f9dfbad2
- 119af68818c7bee624df228ba9d06c794586105e
- 102d0fa4a2fe22b0d8d37edcf544df14107ac714
- aa14b9210620c1fbb8adbc84d001b335afeb7ca6
- b1d4356b8fb65c1fd86d607f827ba0f60de4ce91
- 5216437b01dcfe03092995ad90c7b875b16fce63
- e132c5c309c51c28f44d28495de4323ecec5d6fb
- 523a1f090681b0464c2616a03623c5fd2c7bb8d9
- e3bae9d73c8b3a1aa1142f6e7c263436f354a640
- 2b6b8e017cbc15bf3dd143e03b6e38a472875e43
- 97ee0620de5b61627474c5caa76e7c758488d380
- 2eb9de0c3117d7572c3ba256d2c75be04877b2bf
- 8eb147df0a6e037e6cc0b1a26d4c6872ecc9b2d6
- 8969b60c24ad5a0224869ad32e2baa4a0d7c4f20
- 280f1367604256f84593ab451b0198822b2fae41
- efeb82e4a49c98403f7bfcafe9afe00fb5076812
- 246cb7cd2fa47ba44d07eddcb3f3291a6448b25b
- 48a8bc4b686e17fe73cded813f0fc8d2a63a0222
- 7dff881050661c21e0dd688af2b4fed182291c77
Adds Support for Split Shipping
Updates the base platform to support multiple shippings more completely, allowing plugins to more easily offer splitting the items of an order across multiple shipping addresses. Supports gifting functionality in plugins.
- Adds Admin index page for shippings
- Adds Admin shipping view model
- Adds shippings to Admin order view model
- Enumerates shippings on the orders Admin screens
- Updates the pricing tax applier to account for multiple shippings
- Adds shippings to Storefront order view model
- Adds Storefront shipping view model
- Adds append points in the Storefront
- Updates packaging service to account for multiple shippings
- Modifies Core and Storefront checkout code to support multiple shippings
- Improves extensibility of checkout to support plugins that support multiple shippings
Issues
Pull Requests
Commits
- d7940aa6912ce420452a99a14121b67d7898a36a
- f70a750ac0ca7f2561031a6c8941f2d5fcf855e9
- 4ae81b7a4998837a8b3fc26bea3801f81ec485e5
- 3d7671e864c48dd35c468b70a0fa8ec4eaf0ccfd
- 2177208b09bbcdc0addfc16783254cdef4386f19
- 53858a5fbc2ff89bbf29b134a09001238ea8edc9
- f620be94b1adb7c87a92d5d7cabbe88b7fed2483
- ce0eb9a1ea96bff2f5d525fe32e44caac0b54726
- 9f27b938a7946677f8b693b2631ad75a853033e8
- 1a5706f32db489e8529b8dfa1030c04464aba410
- 015930f23a9d3f299f4306b701aa22bd6c1e2b9b
- 3bc9166ea1f9d78ed20778d13d987d59e35a0e91
- 6f49764005d60e9fefd078e35cf10b933ba17eb9
- 95181da9e58f21e6505a0a296e767343d60f6fc9
- c5203aca840c3b6bd1a774835fcc1a74c2c2c991
- 7756338f6f7479c2600b6eb159524de08b3f7ee2
- f7b5dd73a62ee1bfe05bcbf2cd05bc0d2a3ba185
- bcd6a537f17a8a12f6af2c998fb842aaacb35bf6
Converts Admin Indexes to Tables
Continuing a change introduced in 3.1, uses tables instead of summaries within all Admin index pages.
- Adds
.index-table
component - Adds
.svg-icon--link-color
component modifier - Adds
.link--no-underline
to the Admin typography layer - Adds helper
Workarea::Admin::IconsHelper
Issues
- ECOMMERCE-5201
- ECOMMERCE-5147
- ECOMMERCE-5303
- ECOMMERCE-5353
- ECOMMERCE-5397
- ECOMMERCE-5398
- ECOMMERCE-5511
- ECOMMERCE-5400
Pull Requests
Commits
- 07259151aebd62e076429c257b1691d041ac0374
- c9554e44bb3be70761d73b37aadfec68660cdf02
- e08cd29f6d50e4c60d0ff4a6cc462651040eec27
- 9af386a05b2669260fb30f30a85300b3b0f5a020
- cad1acf942e7daa68c104608a16d9864854a3c48
- 838487f49bb245e38f6844c45e9196bd45ebf0c5
- 5045ccc96cc1f39c5554dffa6a3f9a730db49317
- ebea67af4f1df9a0aa9103cf15e0bcd190cb88bd
- 1feda8a9ead8f7ca37d2d7bf987cfe361dccfed9
- 94b9c0dca1ba11e75079d363a54b81430f1b4a43
- 03d0fa6cd46f12b2e67d4d91a00c532bc727096c
- 14f4e571f04afd60688d87acfdc341725900003a
- 99a025157a385e97d0e5836aa230b469177cceb0
- d30cf291ba44f50520d52dcb0ba3b378bf99b56d
- 6acb98e8a48768991b336c861dd4e372ff579e21
- 5edbef4816bb24dd86f6f8c0de0b2ba2ea22cd28
- 3dcbd7e3500932fdb9e637e0195164926657ce05
- 0ee0d2ae4edba67d5949371b0dcffd80c8c6ffc4
- ac8d9080be70d980db756387f0fcd36bae07d635
Adds Releases Index Page in Admin
Adds an Admin index page for releases, which takes over as the “landing page” for releases in the Admin (replacing the releases calendar in this role). The releases calendar and index link to each other.
Issues
Pull Requests
Commits
- 84ad2473459f3c51831b47a4a385dbc32845926b
- 3fbaa4032a0a976ca56b5fd72e34f6bb0383a90d
- 92ed3f79d4390853045faab6c6bbf6c948d91bfe
- 4a17251f6c1c482b4adcca07a4d75cb19777f149
- ecb9deabb8c5953bfcf7e7e1aa0c3be45adde441
- df72bd535d4316cd5b96f7a65f1ea741d39a1117
Adds Product Insights Content Block Type
Adds a new content block type, “Product Insights”, which displays a dynamically generated list of “Top Products” or “Trending Products”, derived from Workarea analytics for the application.
- Adds
Workarea.config.product_insights_count
, which defaults to6
- Adds
.product-insights-content-block
component to the Storefront - Adds
Storefront::ContentBlocks::ProductInsightsViewModel
- Adds MongoDB index for
active
onWorkarea::Releasable
Issues
Pull Requests
Commits
- c6bbc38f327b629f7a56f05648680249ca62d594
- 357cf163c82ba98c655bef387d040a58577d78a2
- b23c295fbb4e90108c7243f96c8248dd88b3ddba
- cf11464ccbb4528d3d99ff5eb9fb53f37615f2b7
- d8adcd26cad58377ce5aa3d8b32ca9d753989744
- ee755b74f6a512ff1a9df61879c2e899f57929d5
- 1a730f240fb9896931e10cbd1253e6ff45c22593
- 9a28b27ea3188c8a4f2dae252a261a4cbde4a9a8
Improves Presentation of Orders & User Management in Storefront
Applies various improvements to the Storefront views listed below. These changes improve the default display of these Storefront area so that fewer customizations are required. The changes also support other changes in Workarea 3.2 and various plugins.
In general, the changes improve the use of grids, tables, and headings, and make use of the new .box
component. The following views are those most affected. Some additional changes are noted.
- orders/_summary - supports multiple shippings and refunds
- users/orders/show
- checkouts/confirmation
- carts/show
- users/accounts/show - moves append point for easier extension
Notable API changes:
- Adds
$light-gray
color - Enables
.grid--large
in grid configuration - Improves base
table
styles - Adds
.box
component - Modifies
.button
,.data-card
,.style-guide
,.table
, and.text-box
components
Issues
- ECOMMERCE-5356
- ECOMMERCE-5464
- ECOMMERCE-5506
- ECOMMERCE-5526
- ECOMMERCE-5592
- ECOMMERCE-5623
- ECOMMERCE-5301
- ECOMMERCE-5208
Pull Requests
Commits
- eb7110048b033428a32154c2474059d1dbcf3768
- b49dc4669cb02f9f27a8f78757b9ffc00e3f1449
- 7ee542c920a977730afe122d31d6ea4664dfee3c
- d6bc41b50232867f670b11248b42f4b5d0d92f3f
- 85bd4974542b03b4fc30cf87b7f20cd5873fac51
- efb0087c46cb3c2bde24f9c11b3d8820e21a252b
- c41fa98348753045d94d20367a05ba7a564b7a65
- 40773713a13c0eb3d4990f7602c78e9cca3a0424
- 58c70670954c5086c868e95466b41950196a6a6a
- ffc45bf94690468a9bbf17c5cf0aa5d766abff2a
- a8e4cd6f36bf74fb5d89bc10363c1e98d496dfc8
- e924404ae51b59ed5a0e040ca22012b9e556e04d
- fedcdf67007c20b00727c31b8710b0e46e16993f
- b3f8211bb0c986f5e58daa248a029e4349318a88
- a2556ee0b6670db69de8bd4e28dce2ec2f27fcaa
- 9b03a27191c9dc1067119d61faca3fa032723514
- 08ab849b3bfb77f01d04629f9a5205255c4b9b6d
- 78aa85dd687746ef4a69e7f5229cb41ec72fb28e
- 410edc39205b2c0ede93846ee858f7665d658000
- 7d56aab63f9f40a60c755e5adc422e34f40c0e74
- 7576e03968af7cb88d5416d998218b2c33f24096
Adds More Recommendations in the Storefront
Adds recommendations to Storefront empty cart, added-to-cart dialog, order confirmation, order summary, and account show.
Issues
Pull Requests
Commits
- 27d11e853363dc6ee56652d755558691a1952a98
- 220a687b87d6a3899f5dadadd8f56dd8cdd316cd
- 46192c98df11e2bbec3484b0fa8512708822ee67
- 70f214ed8fd48861731548acc7423b882718b93c
- b1545223c6b16fcaaac20ba4c2af76256587e90f
- 8b1af3f776178dd82989a88920ada565d803a0bf
- 71e16144792842d2098dcef5f901ebe26d7b5022
Improves Storefront & Admin Searches
Applies various improvements to Storefront and Admin searches.
These changes do not require you to re-index your application, but many of the improvements will not take effect until you do.
Summary of Storefront changes:
- Improves spelling corrections
- Improves search suggestions
- Improves exact matching
- Improves redirecting
Summary of Admin changes:
- Improves keyword matching
- Adds searching payment transactions by order ID
Most significant API changes:
- Modifies
Search::QuerySuggestions
- Adds
Weblinc.config.search_suggestion_min_doc_freq
- Adds
Search::StorefrontSearch::ExactMatches
search middleware - Removes
Search::StorefrontSearch::ProductAutoRedirect
search middleware fromWorkarea.config.storefront_search_middleware
(but does not remove the class definition)
Issues
Pull Requests
Commits
- ac600cc3681f2119ed1941730ab253c6f8901447
- f69000a88515304109324f903ec2bf40a1e1db8e
- 99e402b12b3d20a7946058f45376e0e5991444f9
- 16d1fbce75c6e9ffbe100382f71a6695a2d55a52
- 6907dec68b402cd7df8f0e38938231a4b269270e
- 57a6507aec14d23a534cb854b385baafbbab1bca
- 1345ae95eed0e4cdc920757483e1e53985d9777c
- 1d8b5fb919e8383ca1d125f3dc25e780179bfa82
- db0c34d63c95780d4cbf8a2673a4ebda5b138f17
- 3b2bec346f34535ce527f239be43b532e525625c
- e5232655ca4ba95eaa40e143ad1c6444240a2045
Adds Configurations for Sending Emails
Restructures mailer abstractions and adds configurations to allow disabling all emails in unit tests and optionally disabling “transactional” emails when an email service provider is integrated with the application.
- Adds
Workarea::ApplicationMailer
in Core, which encapsulates all shared logic for Workarea mailers - Updates
Admin::ApplicationMailer
andStorefront::ApplicationMailer
to inherit fromWorkarea::ApplicationMailer
- Adds
Workarea.config.send_email
, which defaults totrue
- Adds setup to
Workarea::TestCase
to disable emails in unit tests (setssend_email
tofalse
) - Adds module
Workarea::TestCase::Mail
, which can be mixed into any test case that should send mail - Includes
Workarea::TestCase::Mail
inWorkarea::IntegrationTest
andWorkarea::SystemTest
to enable emails by default in integration and system tests - Adds module
Workarea::Storefront::TransactionalMailer
, which is mixed into mailers that are considered “transactional” and are often replaced with emails from an integrated ESP - Adds
Workarea.config.send_transactional_emails
, which defaults totrue
, but can be used to disable sending of transactional emails if desired
Issues
Pull Requests
Commits
- ea502325b5712844f69b098a8b9a841c059a1098
- 8b41209a831e88d7c6053d193abdb654570ada00
- 0c83b04832b73b275b9238b545fb7108f13270c0
- c81a85befd6bd41a3aeb060e63ebc18ef25a57f4
Adds Taxonomy-Based Slug Generation to Creation Workflows
Generates unique taxonomy-based slugs for categories and content pages created through the corresponding workflows in the Admin.
For example, an administrator uses the “create page” Admin workflow to create a content page named “Locations”, and (during the workflow) places the page under the page “About Us” in the site's taxonomy. The slug stored on the new page will be 'about-us-locations'
, reflecting the page's position in the taxonomy.
Furthermore, the feature removes from those workflows the field to manually set a slug.
Issues
Pull Requests
Commits
- 413715f33b1ec6b2631a3d26660bc109d518648f
- e068bfffc13d3443160522ef6bf54d3fa6a582d7
- 3d6bc31c2575398d5259a55bac29e1ea02fa5d90
- 98bce11b50b9006b619aa53cfdfc2c64f140785a
Improves Mobile Filters UI in Storefront
Changes the mobile filters UI in the Storefront to a “drawer” to be consistent with the mobile navigation.
- Deprecates the
.mobile-filters
component. - Adds the
.mobile-filters-nav
component. - Adds
WORKAREA.mobileFilterButtons
, which duplicates the existing module,WORKAREA.mobileNavButton
. These are planned to be consolidated in Workarea 4.
Issues
Pull Requests
Commits
- 324eaf26e36accf5b857aa7e8c2feef1a1a2b427
- 68b1f90d8b5260be616edc5754d4ad78cc1b5c6d
- 8b2aea2896131378e1f1723345d011e387f23c67
Adds Email Unsubscribing in the Storefront
Adds support for unsubscribing to email in the Storefront account area. This change helps retailers comply with the GDPR.
Issues
Pull Requests
Commits
Adds Storefront “Back to Top” Buttons
Adds “Back to Top” functionality to categories show and searches show in the Storefront.
Issues
Pull Requests
Commits
Adds Rack Attack Protection for Promo Codes & User Accounts
Adds Rack Attack protection for promo code endpoints to prevent brute forcing of promo codes, and user account creation endpoints to prevent leaking email addresses.
Issues
Pull Requests
Commits
- 08c52796913691d49e91f11bffcb0c8e3b37a89a
- 80b85453ee245f2ae81a6468db07ed73dd7d482a
- 4cb20adab9425237a64292420d4c24b4d70f160c
- 1d763146f89da22102e4769851f75088c82f02b0
Improves Performance of Promo Code List Generation
Implements a unique index, allowing the removal of n+1 queries to check if a code exists.
Issues
Pull Requests
Commits
Moves Order Locking to Redis
Moves order locking persistence to Redis (from MongoDB) to improve performance.
- Adds Core model
Lock
- Adds Core model mixin
Lockable
- Modifies Core model
Order
- Modifies Storefront controller
CheckoutsController
- Adds config
Workarea.config.default_lock_expiration
- Deprecates config
Workarea.config.order_lock_period
Issues
Pull Requests
Commits
Improves Performance of Processing Product Recommendations
Modifies the workers that process product recommendations, increasing the number of documents loaded per query. Also makes these values configurable.
Issues
Pull Requests
Commits
Adds Performance Tests
Adds performance tests, which measure the performance of particular platform features and fail when performance drops beyond a given threshold after changes are made. These tests, currently for use by the base platform only, can identify platform changes that negatively impact performance (so they can be rolled back or improved). A future release of the platform will provide this feature for use by applications.
Issues
Pull Requests
Commits
- 6717394f18caee47c1952dcebe7b3456bb10b2d5
- c4becbad175f835f99f5d7a0960a00f2e80549d4
- 248e5843f4d0633bdb979384397d5be218f07b61
- 2261c45b65496ebb96ddee61c70eb86633469103
- b3b06667e2a1ff5bdfb125828d093f0e9637c809
- 882de0228341e4c107c1e2ffe9cae2a018c4b453
Adds Support for Returns & OMS Features
Applies various improvements to support the Returns and OMS plugins.
- Modifies Core model
Payment::Capture
- Modifies Core model
Payment::Processing
- Modifies Core model
Payment::Refund
- Modifies Core model
Payment::Tender
- Modifies Core model
Payment::Transaction
- Modifies Core model
BulkAction
- Adds Storefront controller mixin
OrderLookup
- Modifies Storefront controller
OrdersController
- Modifies Storefront routes
- Adds append points to Storefront
- Adds library
BogusCarrier
(Active Shipping carrier) for testing - Extends external library
GlobalID
to add Mongoid support
Issues
Pull Requests
Commits
- 9cf41a07b2c90eaef3b5bbdc09c2a2ad7de354de
- f528df9d7f2d6da747b254c7b5dafcb79690d1bc
- 30f60c763529ff452bb00e8ebf519c053934352a
- 4ec8efe5f77d6dbe1fcf4a168a2f97b493c8dc84
- dd88d11364e8570182704b83505b3d5b3136e903
- 03519660062ac023e04c3d7fac5621606a07d40c
- e8b8eb8e74da51a96419ffd3836ec1341651e273
- 1e5342528125f7dd0260d17698f077f9c9d406b1
- 3e89e881221a50876847a53d12d3c60a86ac9231
- f540f11dca670a5edd49cdf527dc7635c9694181
- fb6575edcb089c547a58921a1a1fedaeb96f522d
- e216e26ca758047918fd4e8b82fb0d1f85e59572
- 348a9db2c8a80e8a763b8f297dd2fe92bbb954d2
- 97d7d715eb36aaa07b219ef33f2faa00cc23d95a
Adds Inventory Restocking
Adds Core APIs within the Inventory
module to allow restocking of inventory. This change is added primarily to support the OMS plugin.
Issues
Pull Requests
Commits
Adds Low Inventory Alerts in Admin
Improves visibility of low inventory in Admin.
- Adds alert to Admin and Admin toolbar
- Adds section to Admin status report email
- Adds sort to inventory skus
Issues
Pull Requests
Commits
- b4cb46f5d6fe05b6503ae863fbfb9b0628bb2779
- c9736ad9e98ee3076e8e8369eed14c82185bcd6c
- be96ba0cefbbdb2f1d4d0fb4422fa18a93223212
- 331c55e869a9b5dd8296c348729febbbcc115a16
Adds Payment Status for Orders Without Tenders
Adds a NotApplicable
Payment::Status
for use with orders that do not require tenders.
Issues
Pull Requests
Commits
Removes Deprecated Storefront Search Auto Filter Middleware
Removes from Workarea Core the file app/queries/workarea/search/storefront_search/auto_filter.rb, which defines Workarea::Search::StorefrontSearch::AutoFilter
. This search middleware was deprecated in Workarea 3.1.
Pull Requests
Commits
Removes Deprecated Order-Fulfillment Status
Removes OrderFulfillmentStatus
and similar logic within Admin::OrderViewModel
, since the concept of combined order-fulfillment status was removed in Workarea 3.1.
Pull Requests
Commits
- db1a9da4bd71fa536c46d8cf4609f4c8ab059256
- 8a5c5a449ff56731144dca629d05eba1ad174dbb
- f66088711a905a91ff1f7b5ef3723ccaf4bc9ffa
- 7475855f31daa6746fefc6fb64999aed2f69796f
Improves Admin to Support Fulfillment Dashboard
Adds append points, sorts, and configuration to support the order fulfillment dashboard in the OMS plugin.
Issues
Pull Requests
Commits
- 52be2b36f42e8c257cf51b9dc4b48e84d550c558
- 5f44b81b8576624815bc0b541dfa26965ffdde7d
- 01982148b8fbd003e6ed282458a0abc6ab9ddafa
- e1bd2a82f8f0bd7c93386e4a472d5b42596e2a16
Ensures Jobs to Publish & Undo Releases aren't Dropped
Adds the worker Workarea::VerifyScheduledReleases
, which runs on a schedule and inspects the Sidekiq queue to ensure all jobs for publishing and undoing releases are present. If any are found missing, the worker adds the missing jobs to the queue.
Issues
Pull Requests
Commits
Ensures Saved Credit Cards are Stored on the Gateway
Modifies the Core payment models SavedCreditCard
and StoreCreditCard
to ensure saved credit cards are stored on the gateway.
Issues
Pull Requests
Commits
- 65ffc7a02fc3c3387a54e72182b0829d315cf45b
- 2e1947d80dc268a682389ca0ce08ea5bbd4f3b51
- 7a549679620827ad1944ad74903e25d3c4609400
Adds Logic for Saving a Credit Card as the Default Card
Modifies the SaveUserOrderDetails
worker to set the credit card being saved as the default credit card if there are no existing cards saved on the payment profile. The increases the likelihood a user has a default card, which is particularly useful for subscriptions.
Issues
Pull Requests
Commits
Improves Style Guides
Improves navigation and overall presentation of Admin and Storefront style guides.
Issues
Pull Requests
Commits
- dcb342e07fca86895fb4503a613c702cc65ff29a
- 2c0d585d9572eaf1442c1363afde7a267ba0bc80
- bbf21dcbabfef91f147595ddbadcbdedbf49ce49
- 19a43ddc9c2cb0dc94098ffc3e67c056a7d4d5d6
- 381a9aa13c967fd6bd9211fd4cd48f9da96fb70c
- b792395a7560804e64b583ea4a8f55dbdfc796de
- bf485be5f05909ca4d651de1591447f5cc765c1b
- e53f959abbae40d127da9a7b1992d7060a7eb44c
Improves Closing of Storefront Mobile Navigation
Modifies the Storefront mobile navigation to close when a user clicks outside the component.
Issues
Pull Requests
Commits
- 4d86aa0455076afc6560978661e2aca5a84d8935
- 8c547867cf99223526f09c72f288de7cbceb5d80
- 82eb1c8252afc756715c8f424760bd6481b9011d
- 67eddf43e8a31d359de682f16e44540189730e37
Adds Fieldset Renaming to Content Block DSL
Adds to the content block DSL the ability to change the name of a fieldset within an existing block type.
Issues
Pull Requests
Commits
Fixes Rails Generators for Plugins
Modifies the plugin template to fix Rails generators for new plugins. Existing plugins can apply this change manually to fix generators if desired.
Issues
Pull Requests
Commits
Improves Performance & Security of Pages with External Links
Adds a rel="noopener"
attribute to all links that open in a new window. This is a recommendation from Google that improves performance and security.
Issues
Pull Requests
Commits
Adds Tracking & Display of Order “Source”
Adds a field on Order
to save the “source” of a placed order. For example, the Storefront checkout sets the value to 'admin'
when the current user is an administrator, or 'storefront'
otherwise. The Admin displays this value for each order. Other user interfaces may set this field to other values as relevant.
Issues
Pull Requests
Commits
Adds Async Release Creation
Allows administrators to create a new release asynchronously when choosing which release to publish changes with.
- Modifies
WORKAREA.publishWithReleaseMenus
JavaScript module - Adds
.property--no-margin
component modifier
Issues
Pull Requests
Commits
- 0e7123f34889b765b6c57f923cb54ebe9c8730bd
- eb39f48c442ee429cd83e580c8f4fc7b170bfe34
- 30e7b019eb10eca95c3b3abefa97b6a1776adb8d
- 167d1ebdaaef202f46e378ef3d54197c980c2afa
- b2a32366c46f61c4ca79bd14401704ea06a6ba12
- dcb87474f6c9161d822a6b6c8cc89df037ce2041
- 4686139a9770de00eb4eb9cb988da64b77a3f98b
Adds Administration of Product Default Category
Allows administrators to set the default category for each product manually. Also displays the default category for each product in the Admin.
- Adds
default_category_id
field toCatalog::Product
- Modifies the
Workarea::Categorization
query to use the above field when present - Modifies
Admin::ProductViewModel
to present the default category within the Admin
Issues
Pull Requests
Commits
- 462688f0e6f8323868863fb0d7b0a6793b7d0195
- 5f1b06f2e6bd77de337fd0bd4c488f4f0a07e0ef
- dc9c6ffa07841305a2576159805e57aa575b24c1
- 1febee7412ad273d8f40a7799807c6b53b3a004b
Enforces Unique DOM IDs in the Admin
Adds a JavaScript module to enforce unique DOM IDs in the Admin in Test and Development environments. This change was applied to the Storefront in Workarea 3.1.
If this change is burdensome for your application, remove the following line from your Admin JavaScript manifest:
require_asset 'workarea/core/modules/duplicate_id'
Issues
Pull Requests
Commits
Adds Admin User Impersonation Indicator
Modifies Admin header to indicate when an administrator is impersonating another user.
Issues
Pull Requests
Commits
Adds Convenience Methods to Remove Appends
Adds the following methods to the Workarea::Plugin
module for removing appends within your application or plugin configuration code. These methods mirror the existing methods for adding appends.
remove_stylesheets
remove_javascripts
remove_partials
Issues
Pull Requests
Commits
- ff54ae3c39a4950b16e12335a9a7285e50224f0b
- be0b38021e1ec67d8b2013cf65987851a9d21c0d
- 89cbf662063764ed33da748ce8e80346e72e7829
Extracts Changelog Task to Core Library
Extracts the changelog Rake task to the Core library so it can be used by plugins and does not need to be duplicated.
Issues
Pull Requests
Commits
- 83674d520fa7a3d0656deff93a106e81c4c6a480
- 383858a0ae39096ac66d7b7e85413728c4843ece
- 49b5a209232b04ac0c2c001169fdd62dcab9acc7
Adds Per-Plugin Test Runners
Adds an additional test runner for each installed plugin, enabling developers to easily run the tests from a particular plugin (including decorators in the application).
Issues
Pull Requests
Commits
- 23ae328fda7774f29ff639045e8ee9fa5bcde387
- 005534725bb4c4675af2b1c8abebad2cf839fe65
- 05f269f80d2e1a657fab556bf0ab4fc7d2f2931e
- 14148a04e922c3731f78c9a8af7aa20ef30de827
- b7dd440a6e2e267fb9796574d3e16edbc3edc6ef
Updates Statuses within Order Seeds
Updates orders seeds to capture and ship some of the items to provide a greater variety of statuses in the Admin.
Issues
Pull Requests
Commits
- f9fe9c63d2d89edfa42439d7bfeff12dfb213b4f
- c827047a6aea85c192d5399a236cf817b82b271b
- cc9139261530bc33aa30ea7a040a76099a6bd9a7
- 3ad38f9102481d95fe808c1a51df5c3d3621eed6
Adds Seed for “Internal Server Error”
Seeds a system content named “Internal Server Error” within core/app/seeds/workarea/customer_service_pages_seeds.rb. This page will be used when responding with a 500 error.
Issues
Pull Requests
Commits
Fixes create_placed_order
Factory Failing Silently
Raises an exception when the create_placed_order
factory fails to place the order. This change was requested to aid debugging.
Issues
Pull Requests
Commits
Adds Configuration & Setup for Headless Browser Window Size
Adds setup to system tests that resets the headless browser width and height to configured values. This ensures a consistent starting size for all system tests. Adds Workarea.config.capybara_browser_width
and Workarea.config.capybara_browser_height
to configure these values.
Commits
Improves Dialog Module to Allow Chaining
Updates WORKAREA.dialog.create()
within the Storefront to return the jQuery collection representing the dialog. This change allows chaining.
Issues
Pull Requests
Commits
Adds Payment Processing Model Index
Adds a MongoDB index for the payment on payment processing models. This change supports queries performed in plugins.
Issues
Commits
Adds Client-Side Validation of Phone Number Format
Adds client-side validation to the phone number field within Storefront address forms to ensure only digits and dashes are used.
Issues
Pull Requests
Commits
- 11c068f0255b4d9e89b280ba5dbf545021683b2a
- 1a8aa0c8a946b2dbf8e28a2af834f529ddc6b64e
- 6dbc2e13f7c5611ad9354749ea341f41c1e83f68
Adds Email to Order Confirmation
Updates the Storefront order confirmation page to notify the customer a confirmation email was sent to their email address. This reassures customers and helps resolve issues with email typos.
Issues
Pull Requests
Commits
Improves “Disabled” State of Form Controls
Improves the default styling of the “disabled” state for form controls within the Admin and Storefront.
Issues
Pull Requests
Commits
- ba20c30fabc085b184a0415fd5b40cb8407903c6
- 4f4344eaf83da952ef1ec04f5fc6db45db067b55
- 39a4e4a3e2c1c5e52771de462a0c8c2809b6af93
- 1b5dfe1b981855535a585e611220d00220ab0a1c
- 4a0ab2a93be83ba8499c051a252e0cb259771e85
Improves Payment Icons to Allow Issuer-Specific Styling
Adds modifiers for card issuers to the payment-icon components in the Admin and Storefront. This change allows targeting and styling the icon of a particular card issuer.
Issues
Pull Requests
Commits
- d4afcaad71c13674d1fedf9e9dd5c9df5b67d53f
- 6b09cdea94c07f77b7cc1dab54d814b87d7bdc97
- 97cf20ee109c78d301c0ce10ed98e33b94d5c24f
- 02407f7d4f28dbc54ad52a9432717c948beef601
Improves Presentation of Checkout Layout for Medium Viewports
Modifies the grid within the Storefront checkout layout to improve the presentation for medium viewports.
Issues
Pull Requests
Commits
Adds “Full” Text Box to Storefront
Adds a .text-box--full
modifier in the Storefront.
Commits
Adds Storefront Link within Admin
Adds a Storefront link within the Admin for convenient navigation between the two UIs.
Issues
Commits
Adds Helper in Admin for Product Bulk Action Options
Adds the catalog_product_bulk_action_options
helper in the Admin, which cleans up the products index view in the Admin and allows for easier extension of product bulk action options.
Pull Requests
Commits
Improves Generation of IDs for Copied Products
Modifies the “copy product” workflow in the Admin to encourage unique IDs for copied products. The previous implementation generated IDs that were very similar and caused issues with Workarea recommendations.
Issues
Pull Requests
Commits
Prevents Multiple Submissions of Image Upload Forms
Disables the buttons for adding product images and content assets in the Admin to prevent additional, unintentional form submissions.
Issues
Pull Requests
Commits
Improves Presentation of the Current Release “Reminder”
Improves the UI that is shown to remind an admin they have a current release selected in the Admin. Updates the UI to more closely match the overall look and feel of the Admin.
Issues
Pull Requests
Commits
Groups Categories within Product Admin
Improves the listing of categories on product Admin screens by grouping the categories by type (featured or rules-based).
Issues
Pull Requests
Commits
Improves New Block Button in Admin
Improves display of .new-block-button
component in Admin and adds related inline help text.
Issues
Pull Requests
Commits
- 2c04aa0c8b31dd849d2e0b4560e2d5f43b35b8dc
- 035dfbc07601494e924085736d0e245c8f6d0ca9
- 25bc91cda25b7984c76e9d0f960f7d46b93abb53
Adds Field to Refine Admin Searches
Adds a field to the Admin search results UI to refine the search terms.
Issues
Commits
Updates Display Order of Admin Order Items to Match Storefront
Updates the Admin order view model to display the order items “by newest”, which is how they are ordered in the Storefront.
Issues
Pull Requests
Commits
Adds Tracking & Display of User “Created By”
Stores the ID of the creating user on the created user when a user is created through the Admin. Lists “Created By” in the user attributes Admin screens when the ID is present.
Issues
Pull Requests
Commits
Adds Store Credit Field to “Create Customer” Workflow
Allows administrators to add store credit when creating a new customer account through the Admin.
Issues
Pull Requests
Commits
- 197f70e1242e0eb27d6c056ce8f6dd58a4a2fe2d
- 76d07413e4e66f8ae9c54c93335627a193330162
- b3ac46b488bb26b66372c4668faa98e384c1844c
- 1fc45ee8d2db4ccb0b5851fc938659bc12b06825
Adds Featured Products Release Preview Warning Message
Adds a warning message to the featured products Admin screens when there is a current release, because featured products for a release do not show when previewing the release in the Storefront.
Issues
Pull Requests
Commits
Improves Consistency of Admin Cards' “Empty” State
Updates several Admin partials to display an “empty” state consistent with other Admin cards.
Issues
Pull Requests
Commits
Adds Confirmation to Delete Product Images
Adds a confirmation prompt to the delete action within the product images Admin index.
Issues
Pull Requests
Commits
Fixes Display of Pricing within Admin Data Pairs
Modifies styling of table cells within Admin data-pairs so that prices within these components are aligned as expected.
Issues
Commits
Fixes Bulk Action Exports Workflow Bar
Adds missing information to workflow bar for bulk action exports in the Admin.
Issues
Pull Requests
Commits
Fixes Cursor Pointer Style for Links Within Admin Headers
Ensures all links within Admin header components display with a “pointer” cursor style.
Issues
Pull Requests
Commits
Adds Testing of Checkout Price Updating
Adds test assertions to cover the updating of pricing in checkout.
Issues
Pull Requests
Commits
Removes Remaining References to Product Sharing
Removes vestigial references to product sharing, which was moved to a plugin in Workarea 3.0.
Issues
Pull Requests
Commits
Adds Append Points
Adds many append points for platform extension. Other changes listed in these release notes may also include the addition of append points. The changes listed here exist primarily to add append points.
Issues
Pull Requests
Commits
- 97a0145de54cdf60265fb532d615577bafa06e6d
- 8ebda4919fdd3dfd8a927ae3f1ac8d96ae612190
- 974a7c3d3bdd2c3ce0217c560a74d64af9846151
- fa28023a77f8c589782ee9328e7c226fa7c52d5f
- a09f036254f23e9e6da6f0eb80c8cb4f6b7d10b7
- 699545ccb2da519b4a07222c3deecb704e0db51a
- 3b934b516a3d9d915a95ea737ad108d4b27f74bd
- 6c70a308a4e103315dacd78b7d0085366dbf07f3
- c5bac72c748204866c221331d292ed948a821e6e
- ccaae4d8688754303425e05ebe410e3489d6c596
- a13459d6adc8aa27fc607be3bfe44f611693f529
- 4967970ce80dab64fc945b601e9858dcd892aed0
- 45930c48197b133defd9e896db76c8a8799085ff