workarea 3.5.17 → 3.5.22

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +432 -0
  3. metadata +10 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3a8cace53094c2ac105388ab7f3c4bbf854143b5db054146db26676d93b43c7e
4
- data.tar.gz: 2b4ec90d8cf33f5032e8968c2000bd861ff7e12fec510cdda5e36f556b198958
3
+ metadata.gz: b2c0f56cccaf60f9b13b1b967b85827bf5cf296a55fd8a110b302d5e2762d2b9
4
+ data.tar.gz: 413fbff8139c784676bf66210053e5f08e0700da8b34d0241cc1ba0eaf1b44ba
5
5
  SHA512:
6
- metadata.gz: 40ce2e17562d044f89d5fbad27e5d612e3920dce129bdc7a184dc6ce6eab8638d3698e2fc1379e97fb5bb1d57005fb0d830d1aad2f536f114c1722fb5f66fc83
7
- data.tar.gz: 335b5fbd76fe7483b283b52be962d04f862f112eb3c8cbc75c90141af6d900ec9c3b852f0aec44caffaa9b91a76d852c58193e0b23e02c3ed58fe4cd39f7a1a4
6
+ metadata.gz: 5ec9fbdcdaee5d691f6150788a6c03ccd15bcc3504657f16c6025bc3b8f46c963d153e79fb7a93b354c4e6c9875aea28e7cad2227fc188691211df4522afdb41
7
+ data.tar.gz: c6bdf6685116c185654dc63e643d54c6e291ff69e835e02d2e2b388196ea935cf15e18148791a8b03ff4022e074a9fcc14b91f6b9f73f3d2a38ba889c4feeea9
@@ -1,3 +1,435 @@
1
+ Workarea 3.5.22 (2020-11-03)
2
+ --------------------------------------------------------------------------------
3
+
4
+ * Only merge recent views on tracking updates
5
+
6
+ Merging all metrics has caused a lot of confusion in testing, and the
7
+ only core use-case this matters for is recent views. So this change only
8
+ merges recent views when metrics are updated.
9
+
10
+ Ben Crouse
11
+
12
+ * Delete old user metrics after merging
13
+
14
+ This will ensure the consistency of user-based reports.
15
+
16
+ Ben Crouse
17
+
18
+ * Be more specific when matching reverts in changelogs
19
+
20
+ This change will allow starting commit messages with the word Revert
21
+ without the changelog task ignoring the commit.
22
+
23
+ Ben Crouse
24
+
25
+ * Add metrics explanation for users
26
+
27
+ This additional explanation is meant to communicate why customer
28
+ insights may occasionally mismatch with the orders card.
29
+
30
+ Ben Crouse
31
+
32
+ * Include Guest Orders In Admin For Users
33
+
34
+ When looking up recent orders for a user in the admin, also include any
35
+ guest orders placed with the same email address. This fixes a
36
+ discrepancy between the amount of orders seen in admin for a given user,
37
+ and the amount of orders attributed to a user within insights, as
38
+ insights treat all orders with the same email address as coming from the
39
+ same user.
40
+
41
+ WORKAREA-283
42
+
43
+ Tom Scott
44
+
45
+ * Add Note To Category Default Sort Edit
46
+
47
+ The selected `default_sort` of a category will be always used in the
48
+ storefront. If the category contains featured products, this sort will
49
+ be labelled "Featured", and this might prove confusing to some admins.
50
+ To resolve this, add a note just below the dropdown indicating what will
51
+ occur when products are featured in the category.
52
+
53
+ WORKAREA-289
54
+
55
+ Tom Scott
56
+
57
+ * Include referrer in ending impersonation redirect fallbacks
58
+
59
+ When ending an impersonation, this changes to allow redirecting to the referrer
60
+ if the return_to parameter isn't present. Better UX for ending
61
+ impersonations while working in the admin.
62
+
63
+ WORKAREA-293
64
+
65
+ Ben Crouse
66
+
67
+ * Merge metrics when a user's email is updated
68
+
69
+ This ensures the old metrics info stays around after the email change.
70
+
71
+ WORKAREA-294
72
+
73
+ Ben Crouse
74
+
75
+ * Fix release changeset indexing code duplication
76
+
77
+ Cleanup duplicate logic so decoration for product indexes can happen in
78
+ a single place.
79
+
80
+ WORKAREA-292
81
+
82
+ Ben Crouse
83
+
84
+
85
+
86
+ Workarea 3.5.21 (2020-10-14)
87
+ --------------------------------------------------------------------------------
88
+
89
+ * Prevent Clearing Out Navigable When Saving Taxons
90
+
91
+ The `WORKAREA.newNavigationTaxons` module was looking in the wrong place
92
+ for the selected navigable item, therefore the `selected` var would
93
+ always return `undefined`, causing the `navigable_id` param to be
94
+ blank every time. Fix this by querying for the correct DOM node (the
95
+ `[data-new-navigation-taxon]` element) and pulling the selected ID from
96
+ its data.
97
+
98
+ WORKAREA-297
99
+ Fixes #534
100
+
101
+ Tom Scott
102
+
103
+ * Make CSV test more robust to decorations
104
+
105
+ Improve this test so decorating ApplicationDocument to add a field won't
106
+ cause the test to break.
107
+
108
+ Ben Crouse
109
+
110
+ * Refactor product entries to allow accessing logic per-product
111
+
112
+ This allows easier reuse of this logic, specifically for the site
113
+ builder plugin we're working on.
114
+
115
+ Ben Crouse
116
+
117
+ * Fix Test That Will Never Fail
118
+
119
+ This test for the `StatusReporter` worker asserted `2`, which will never
120
+ fail because `2` will never be falsy. Updated the assertion to use the
121
+ intended `assert_equals`
122
+
123
+ Tom Scott
124
+
125
+ * Fix skip services
126
+
127
+ This was broken due to the admin-based configuration looking for a Mongo
128
+ connection.
129
+
130
+ Ben Crouse
131
+
132
+ * Try to clarify how to use search synonyms
133
+
134
+ There has been repeated confusion around why/how to use synonyms, so this is an attempt to clarify.
135
+
136
+ Ben Crouse
137
+
138
+
139
+
140
+ Workarea 3.5.20 (2020-09-30)
141
+ --------------------------------------------------------------------------------
142
+
143
+ * Rename Admin::ProductViewModel#options to avoid conflict with normal options method
144
+
145
+
146
+ Matt Duffy
147
+
148
+ * Improve UX of default search filter sizes
149
+
150
+
151
+ Ben Crouse
152
+
153
+ * Improve clarity of discount verbiage
154
+
155
+ This hopes to address some recent confusion around how the discount
156
+ works.
157
+
158
+ Ben Crouse
159
+
160
+ * Fix safe navigation method calls
161
+
162
+ This will raise if the menu content is nil.
163
+
164
+ Ben Crouse
165
+
166
+ * Update preconfigured session length to match recommendations
167
+
168
+
169
+ Ben Crouse
170
+
171
+ * Remove unnecessary Capybara blocking when testing content is not present
172
+
173
+ Capybara's `page.has_content?` and similar methods block until a timeout
174
+ is reached if they can't find the content. This is not what we want if
175
+ we're checking that the content does *not* exist, switch to using
176
+ `refute_text` in these scenarios.
177
+
178
+ The timeout is equal to the number of installed plugins and we have
179
+ client apps with 30+, which means that the 38 instances removed in this
180
+ commit could represent twenty minutes of unnecessary blocking in some
181
+ scenarios.
182
+
183
+ Thanks to James Anaipakos in
184
+ https://discourse.workarea.com/t/capybara-refute-assertions-waiting-full-default-wait-time/1610
185
+ for alerting me to the issue.
186
+
187
+ Jonathan Mast
188
+
189
+ * Handle `nil` Percentages in Tax Rates UI
190
+
191
+ The `TaxApplication` module already handles percentages that are not
192
+ present, but the tax rates UI expects values there. This results in some
193
+ avoidable 500 errors within admin when you blank out a tax rate
194
+ percentage field. To resolve this, Workarea now makes sure that all
195
+ percentages are of type `Float`, so they can be displayed as "0%" in
196
+ the admin whenever a `nil` value is encountered.
197
+
198
+ WORKAREA-278
199
+
200
+ Tom Scott
201
+
202
+ * Fix Precision of Tax Rates UI
203
+
204
+ The `:step` values of the new/edit forms and precision configuration for
205
+ `#number_to_percentage` were not only rounding certain tax rates to an
206
+ incorrect number, but were also showing a bunch of insignificant zeroes
207
+ in the admin for tax rates. To resolve this, configure
208
+ `#number_to_percentage` to have 3-decimal precision, and strip all
209
+ insignificant zeroes from the display, leaving the admin with a much
210
+ nicer percentage display than what was presented before.
211
+
212
+ WORKAREA-278
213
+
214
+ Tom Scott
215
+
216
+ * Redirect back to the previous page after stopping impersonation
217
+
218
+ Currently we redirect to the user's show page, which can be pretty
219
+ disorienting.
220
+
221
+ Ben Crouse
222
+
223
+
224
+
225
+ Workarea 3.5.19 (2020-09-16)
226
+ --------------------------------------------------------------------------------
227
+
228
+ * Fix Editing Product Images in Admin
229
+
230
+ When an image does not include an option, the edit page errors because
231
+ `#parameterize` cannot be called on `@image.option` since that is
232
+ returning `nil`. Additionally, the line of code in which this is called
233
+ is meant to set an ID attribute on the element for which an image is
234
+ rendered. There doesn't seem to be anything in our codebase that uses
235
+ this, and furthermore since there's no validation for unique options per
236
+ set of product images, this could cause a duplicate ID error in certain
237
+ scenarios. To resolve this, the ID attribute has been removed from this
238
+ `<img>` tag.
239
+
240
+ WORKAREA-254
241
+
242
+ Tom Scott
243
+
244
+ * Improve display of disabled toggles
245
+
246
+ When a toggle button is disabled, it should reflect that visually
247
+ instead of just looking like it should be functional.
248
+
249
+ Ben Crouse
250
+
251
+ * Add config to allow defining a default tax code for shipping services
252
+
253
+ WORKAREA-256
254
+
255
+ Matt Duffy
256
+
257
+ * Fix incorrect tracking and metrics after impersonation
258
+
259
+ Not managing the email cookie and unintentional merging of metrics leads
260
+ to incorrect values in the admin.
261
+
262
+ Ben Crouse
263
+
264
+ * Remove CSV Messaging For Options Fields
265
+
266
+ This removes the "Comma separated: just, like, this" messaging and
267
+ tooltip that explains more about comma-separated fields for filters and
268
+ details. Options do not have these same constraints, and this help
269
+ bubble just serves as a point of confusion for admins.
270
+
271
+ WORKAREA-266
272
+
273
+ Tom Scott
274
+
275
+ * Update inventory sku jump to text
276
+
277
+ Co-authored-by: Ben Crouse <bcrouse@workarea.com>
278
+
279
+ Matt Duffy
280
+
281
+ * Make Order::Item#fulfilled_by? the canonical check of item's fulfillment
282
+
283
+ Methods such as #shipping? and #download? defined from available
284
+ fulfillment policies now call #fulfilled_by rather than being called
285
+ by it. This allows #fulfilled_by? to be modified to support more
286
+ complex scenarios like bundled items from kits.
287
+
288
+ WORKAREA-273
289
+
290
+ Matt Duffy
291
+
292
+ * Update admin views for consistent display of inventory availability
293
+
294
+ WORKAREA-262
295
+
296
+ Matt Duffy
297
+
298
+
299
+
300
+ Workarea 3.5.18 (2020-09-01)
301
+ --------------------------------------------------------------------------------
302
+
303
+ * Set Default Inventory Policy to "Standard" in Create Product Workflow
304
+
305
+ When creating a new product through the workflow, setting the
306
+ "Inventory" on a particular SKU would still cause the `Inventory::Sku`
307
+ to be created with the "Ignore" policy rather than "Standard". Setting
308
+ inventory on a SKU now automatically causes the `Inventory::Sku` record
309
+ to be created with a policy of "Standard" so as to deduct the given
310
+ inventory to the varaint. When no inventory is given, Workarea will fall
311
+ back to the default of "Ignore".
312
+
313
+ WORKAREA-265
314
+
315
+ Tom Scott
316
+
317
+ * Fix Admin Configuration for Email Addresses
318
+
319
+ The hard-coded `config.email_from` and `config.email_to` settings
320
+ conflict with the out-of-box administrable configuration for the "Email
321
+ From" and "Email To" settings. This causes a warning for admins that
322
+ explain why the settings on "Email To" and "Email From" won't take
323
+ effect. Since the whole purpose of moving these settings to admin
324
+ configuration was to let admins actually change them, the
325
+ `config.email_from` and `config.email_to` settings have been removed
326
+ from both default configuration and the `workarea:install` generator.
327
+
328
+ WORKAREA-270
329
+
330
+ Tom Scott
331
+
332
+ * Add Permissions To Admin::ConfigurationsController
333
+
334
+ Admins without "Settings" access are no longer able to access the
335
+ administrable configuration settings defined in a Workarea application's
336
+ initializer.
337
+
338
+ WORKAREA-261
339
+
340
+ Tom Scott
341
+
342
+ * Handle missing or invalid current impersonation
343
+
344
+ This surfaced as a random failing test, this should make the feature more robust.
345
+
346
+ Ben Crouse
347
+
348
+ * Fix wrong sorting on default admin index pages
349
+
350
+ The query for an admin index page can end up inadvertantly introduce a
351
+ scoring variation, which can cause results to not match the `updated_at`
352
+ default sort.
353
+
354
+ This makes `updated_at` the true default sort, and allows the general
355
+ admin search to override, where `_score` is still the desired default
356
+ sort.
357
+
358
+ Ben Crouse
359
+
360
+ * Visually improve changesets card when no changesets
361
+
362
+
363
+ Ben Crouse
364
+
365
+ * Add modifier for better disabled workflow button display
366
+
367
+ This makes it visually clearer that a workflow button is disabled.
368
+
369
+ Ben Crouse
370
+
371
+ * Add asset index view heading append point
372
+
373
+
374
+ Ben Crouse
375
+
376
+ * Pass user into append point
377
+
378
+
379
+ Ben Crouse
380
+
381
+ * Add append point for storefront admin toolbar
382
+
383
+
384
+ Ben Crouse
385
+
386
+ * Add Rack env key for checking whether it's an asset request
387
+
388
+ This is useful for plugins like site builder. This also reduces
389
+ allocations by moving the regex into a constant and consolidates the
390
+ check from multiple spots.
391
+
392
+ This also skips force passing Rack::Cache for asset requests if you're
393
+ an admin (minor performance improvement).
394
+
395
+ Ben Crouse
396
+
397
+ * Add param to allow disabling the admin toolbar in the storefront
398
+
399
+ Used in the site builder plugin. Add disable_admin_toolbar=true to the
400
+ query string to turn off the admin toolbar for that page.
401
+
402
+ Ben Crouse
403
+
404
+ * Add minor remote selects features to support site builder
405
+
406
+ This includes an option for the dropdown parent, and an option to allow
407
+ autosubmitting a remote select upon selection.
408
+
409
+ Ben Crouse
410
+
411
+ * Fix constant loading error related to metrics
412
+
413
+ Sometimes an error will be raised when Workarea middleware is doing
414
+ segmentation logic around `Metrics::User`.
415
+
416
+ Ben Crouse
417
+
418
+ * Move rake task logic into modules
419
+
420
+ This will allow decorating this logic for plugins or builds that need
421
+ to. For example, site builder needs to search-index resources that are
422
+ unique per-site.
423
+
424
+ Ben Crouse
425
+
426
+ * Add append point for admin top of page
427
+
428
+
429
+ Ben Crouse
430
+
431
+
432
+
1
433
  Workarea 3.5.17 (2020-08-19)
2
434
  --------------------------------------------------------------------------------
3
435
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workarea
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.17
4
+ version: 3.5.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Crouse
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-08-19 00:00:00.000000000 Z
11
+ date: 2020-11-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: workarea-core
@@ -16,56 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.5.17
19
+ version: 3.5.22
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 3.5.17
26
+ version: 3.5.22
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: workarea-storefront
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.5.17
33
+ version: 3.5.22
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 3.5.17
40
+ version: 3.5.22
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: workarea-admin
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 3.5.17
47
+ version: 3.5.22
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 3.5.17
54
+ version: 3.5.22
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: workarea-testing
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 3.5.17
61
+ version: 3.5.22
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 3.5.17
68
+ version: 3.5.22
69
69
  description: Workarea is an enterprise-grade Ruby on Rails commerce platform.
70
70
  email:
71
71
  - bcrouse@workarea.com