@almadar/std 14.26.0 → 14.27.0
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.
- package/behaviors/registry/app/atoms/std-applicant.orb +496 -42
- package/behaviors/registry/app/atoms/std-approval-request.orb +433 -593
- package/behaviors/registry/app/atoms/std-campaign-goal.orb +438 -228
- package/behaviors/registry/app/atoms/std-change-order.orb +565 -307
- package/behaviors/registry/app/atoms/std-chart-of-accounts.orb +434 -97
- package/behaviors/registry/app/atoms/std-checkin.orb +434 -270
- package/behaviors/registry/app/atoms/std-class-roster.orb +495 -61
- package/behaviors/registry/app/atoms/std-class-session.orb +485 -104
- package/behaviors/registry/app/atoms/std-court-deadline.orb +519 -88
- package/behaviors/registry/app/atoms/std-customer-account.orb +577 -97
- package/behaviors/registry/app/atoms/std-donation-receipt.orb +498 -55
- package/behaviors/registry/app/atoms/std-donor.orb +445 -135
- package/behaviors/registry/app/atoms/std-drip-sequence.orb +445 -62
- package/behaviors/registry/app/atoms/std-driver.orb +465 -480
- package/behaviors/registry/app/atoms/std-dunning.orb +450 -512
- package/behaviors/registry/app/atoms/std-email-broadcast.orb +517 -64
- package/behaviors/registry/app/atoms/std-event.orb +465 -667
- package/behaviors/registry/app/atoms/std-health-score.orb +368 -371
- package/behaviors/registry/app/atoms/std-help-article.orb +373 -506
- package/behaviors/registry/app/atoms/std-help-category.orb +344 -359
- package/behaviors/registry/app/atoms/std-interview-slot.orb +490 -48
- package/behaviors/registry/app/atoms/std-invoice.orb +494 -291
- package/behaviors/registry/app/atoms/std-kitchen-display.orb +588 -96
- package/behaviors/registry/app/atoms/std-lease.orb +506 -190
- package/behaviors/registry/app/atoms/std-ledger-entry.orb +483 -154
- package/behaviors/registry/app/atoms/std-maintenance-request.orb +642 -192
- package/behaviors/registry/app/atoms/std-matter.orb +486 -318
- package/behaviors/registry/app/atoms/std-membership.orb +512 -102
- package/behaviors/registry/app/atoms/std-menu.orb +775 -183
- package/behaviors/registry/app/atoms/std-modifier-group.orb +522 -104
- package/behaviors/registry/app/atoms/std-nps-survey.orb +319 -327
- package/behaviors/registry/app/atoms/std-offer-letter.orb +497 -47
- package/behaviors/registry/app/atoms/std-payout-ledger.orb +378 -362
- package/behaviors/registry/app/atoms/std-question-bank.orb +379 -346
- package/behaviors/registry/app/atoms/std-receipt.orb +553 -44
- package/behaviors/registry/app/atoms/std-recurring-charge.orb +419 -832
- package/behaviors/registry/app/atoms/std-renewal-risk.orb +370 -421
- package/behaviors/registry/app/atoms/std-rent-charge.orb +657 -55
- package/behaviors/registry/app/atoms/std-reorder-rule.orb +510 -59
- package/behaviors/registry/app/atoms/std-response-collector.orb +451 -144
- package/behaviors/registry/app/atoms/std-rfi.orb +502 -461
- package/behaviors/registry/app/atoms/std-route-optimize.orb +448 -158
- package/behaviors/registry/app/atoms/std-segment.orb +360 -98
- package/behaviors/registry/app/atoms/std-stock-level.orb +486 -103
- package/behaviors/registry/app/atoms/std-submittal.orb +538 -526
- package/behaviors/registry/app/atoms/std-table-map.orb +88 -51
- package/behaviors/registry/app/atoms/std-technician-dispatch.orb +653 -71
- package/behaviors/registry/app/atoms/std-telematics-event.orb +310 -215
- package/behaviors/registry/app/atoms/std-template-editor.orb +513 -90
- package/behaviors/registry/app/atoms/std-tenant.orb +525 -66
- package/behaviors/registry/app/atoms/std-ticket-tier.orb +472 -460
- package/behaviors/registry/app/atoms/std-time-entry.orb +354 -317
- package/behaviors/registry/app/atoms/std-timesheet.orb +551 -284
- package/behaviors/registry/app/atoms/std-trial.orb +410 -317
- package/behaviors/registry/app/atoms/std-vehicle.orb +398 -563
- package/behaviors/registry/app/atoms/std-waitlist.orb +372 -283
- package/behaviors/registry/app/atoms/std-warehouse.orb +273 -214
- package/behaviors/registry/app/atoms/std-work-order.orb +628 -240
- package/behaviors/registry/app/molecules/std-applicant-form.orb +89 -83
- package/behaviors/registry/app/molecules/std-application.orb +178 -263
- package/behaviors/registry/app/molecules/std-broadcast-builder.orb +67 -176
- package/behaviors/registry/app/molecules/std-cart.orb +78 -72
- package/behaviors/registry/app/molecules/std-form-builder.orb +437 -176
- package/behaviors/registry/app/molecules/std-ledger-entry-form.orb +608 -89
- package/behaviors/registry/app/molecules/std-stock-adjustment.orb +501 -102
- package/behaviors/registry/app/molecules/std-vendor-onboarding.orb +383 -469
- package/behaviors/registry/core/atoms/std-billable-hour.orb +495 -91
- package/behaviors/registry/core/atoms/std-branching-logic.orb +271 -600
- package/behaviors/registry/core/atoms/std-file-store.orb +534 -164
- package/behaviors/registry/core/atoms/std-gallery.orb +118 -101
- package/behaviors/registry/core/atoms/std-image-upload-multi.orb +87 -57
- package/behaviors/registry/core/atoms/std-page-tree.orb +342 -484
- package/behaviors/registry/core/atoms/std-rich-editor.orb +288 -416
- package/behaviors/registry/core/atoms/std-version-history.orb +454 -430
- package/behaviors/registry/core/molecules/std-wizard-form.orb +222 -147
- package/dist/behaviors/registry/app/atoms/std-applicant.orb +496 -42
- package/dist/behaviors/registry/app/atoms/std-approval-request.orb +433 -593
- package/dist/behaviors/registry/app/atoms/std-campaign-goal.orb +438 -228
- package/dist/behaviors/registry/app/atoms/std-change-order.orb +565 -307
- package/dist/behaviors/registry/app/atoms/std-chart-of-accounts.orb +434 -97
- package/dist/behaviors/registry/app/atoms/std-checkin.orb +434 -270
- package/dist/behaviors/registry/app/atoms/std-class-roster.orb +495 -61
- package/dist/behaviors/registry/app/atoms/std-class-session.orb +485 -104
- package/dist/behaviors/registry/app/atoms/std-court-deadline.orb +519 -88
- package/dist/behaviors/registry/app/atoms/std-customer-account.orb +577 -97
- package/dist/behaviors/registry/app/atoms/std-donation-receipt.orb +498 -55
- package/dist/behaviors/registry/app/atoms/std-donor.orb +445 -135
- package/dist/behaviors/registry/app/atoms/std-drip-sequence.orb +445 -62
- package/dist/behaviors/registry/app/atoms/std-driver.orb +465 -480
- package/dist/behaviors/registry/app/atoms/std-dunning.orb +450 -512
- package/dist/behaviors/registry/app/atoms/std-email-broadcast.orb +517 -64
- package/dist/behaviors/registry/app/atoms/std-event.orb +465 -667
- package/dist/behaviors/registry/app/atoms/std-health-score.orb +368 -371
- package/dist/behaviors/registry/app/atoms/std-help-article.orb +373 -506
- package/dist/behaviors/registry/app/atoms/std-help-category.orb +344 -359
- package/dist/behaviors/registry/app/atoms/std-interview-slot.orb +490 -48
- package/dist/behaviors/registry/app/atoms/std-invoice.orb +494 -291
- package/dist/behaviors/registry/app/atoms/std-kitchen-display.orb +588 -96
- package/dist/behaviors/registry/app/atoms/std-lease.orb +506 -190
- package/dist/behaviors/registry/app/atoms/std-ledger-entry.orb +483 -154
- package/dist/behaviors/registry/app/atoms/std-maintenance-request.orb +642 -192
- package/dist/behaviors/registry/app/atoms/std-matter.orb +486 -318
- package/dist/behaviors/registry/app/atoms/std-membership.orb +512 -102
- package/dist/behaviors/registry/app/atoms/std-menu.orb +775 -183
- package/dist/behaviors/registry/app/atoms/std-modifier-group.orb +522 -104
- package/dist/behaviors/registry/app/atoms/std-nps-survey.orb +319 -327
- package/dist/behaviors/registry/app/atoms/std-offer-letter.orb +497 -47
- package/dist/behaviors/registry/app/atoms/std-payout-ledger.orb +378 -362
- package/dist/behaviors/registry/app/atoms/std-question-bank.orb +379 -346
- package/dist/behaviors/registry/app/atoms/std-receipt.orb +553 -44
- package/dist/behaviors/registry/app/atoms/std-recurring-charge.orb +419 -832
- package/dist/behaviors/registry/app/atoms/std-renewal-risk.orb +370 -421
- package/dist/behaviors/registry/app/atoms/std-rent-charge.orb +657 -55
- package/dist/behaviors/registry/app/atoms/std-reorder-rule.orb +510 -59
- package/dist/behaviors/registry/app/atoms/std-response-collector.orb +451 -144
- package/dist/behaviors/registry/app/atoms/std-rfi.orb +502 -461
- package/dist/behaviors/registry/app/atoms/std-route-optimize.orb +448 -158
- package/dist/behaviors/registry/app/atoms/std-segment.orb +360 -98
- package/dist/behaviors/registry/app/atoms/std-stock-level.orb +486 -103
- package/dist/behaviors/registry/app/atoms/std-submittal.orb +538 -526
- package/dist/behaviors/registry/app/atoms/std-table-map.orb +88 -51
- package/dist/behaviors/registry/app/atoms/std-technician-dispatch.orb +653 -71
- package/dist/behaviors/registry/app/atoms/std-telematics-event.orb +310 -215
- package/dist/behaviors/registry/app/atoms/std-template-editor.orb +513 -90
- package/dist/behaviors/registry/app/atoms/std-tenant.orb +525 -66
- package/dist/behaviors/registry/app/atoms/std-ticket-tier.orb +472 -460
- package/dist/behaviors/registry/app/atoms/std-time-entry.orb +354 -317
- package/dist/behaviors/registry/app/atoms/std-timesheet.orb +551 -284
- package/dist/behaviors/registry/app/atoms/std-trial.orb +410 -317
- package/dist/behaviors/registry/app/atoms/std-vehicle.orb +398 -563
- package/dist/behaviors/registry/app/atoms/std-waitlist.orb +372 -283
- package/dist/behaviors/registry/app/atoms/std-warehouse.orb +273 -214
- package/dist/behaviors/registry/app/atoms/std-work-order.orb +628 -240
- package/dist/behaviors/registry/app/molecules/std-applicant-form.orb +89 -83
- package/dist/behaviors/registry/app/molecules/std-application.orb +178 -263
- package/dist/behaviors/registry/app/molecules/std-broadcast-builder.orb +67 -176
- package/dist/behaviors/registry/app/molecules/std-cart.orb +78 -72
- package/dist/behaviors/registry/app/molecules/std-form-builder.orb +437 -176
- package/dist/behaviors/registry/app/molecules/std-ledger-entry-form.orb +608 -89
- package/dist/behaviors/registry/app/molecules/std-stock-adjustment.orb +501 -102
- package/dist/behaviors/registry/app/molecules/std-vendor-onboarding.orb +383 -469
- package/dist/behaviors/registry/core/atoms/std-billable-hour.orb +495 -91
- package/dist/behaviors/registry/core/atoms/std-branching-logic.orb +271 -600
- package/dist/behaviors/registry/core/atoms/std-file-store.orb +534 -164
- package/dist/behaviors/registry/core/atoms/std-gallery.orb +118 -101
- package/dist/behaviors/registry/core/atoms/std-image-upload-multi.orb +87 -57
- package/dist/behaviors/registry/core/atoms/std-page-tree.orb +342 -484
- package/dist/behaviors/registry/core/atoms/std-rich-editor.orb +288 -416
- package/dist/behaviors/registry/core/atoms/std-version-history.orb +454 -430
- package/dist/behaviors/registry/core/molecules/std-wizard-form.orb +222 -147
- package/package.json +1 -1
|
@@ -100,58 +100,7 @@
|
|
|
100
100
|
"linkedEntity": "HelpArticle",
|
|
101
101
|
"emits": [
|
|
102
102
|
{
|
|
103
|
-
"event": "
|
|
104
|
-
"payloadSchema": [
|
|
105
|
-
{
|
|
106
|
-
"name": "id",
|
|
107
|
-
"type": "string",
|
|
108
|
-
"required": true
|
|
109
|
-
},
|
|
110
|
-
{
|
|
111
|
-
"name": "source",
|
|
112
|
-
"type": "string"
|
|
113
|
-
}
|
|
114
|
-
]
|
|
115
|
-
},
|
|
116
|
-
{
|
|
117
|
-
"event": "EDIT",
|
|
118
|
-
"payloadSchema": [
|
|
119
|
-
{
|
|
120
|
-
"name": "id",
|
|
121
|
-
"type": "string",
|
|
122
|
-
"required": true
|
|
123
|
-
},
|
|
124
|
-
{
|
|
125
|
-
"name": "source",
|
|
126
|
-
"type": "string"
|
|
127
|
-
}
|
|
128
|
-
]
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
"event": "CREATE",
|
|
132
|
-
"payloadSchema": [
|
|
133
|
-
{
|
|
134
|
-
"name": "source",
|
|
135
|
-
"type": "string"
|
|
136
|
-
}
|
|
137
|
-
]
|
|
138
|
-
},
|
|
139
|
-
{
|
|
140
|
-
"event": "REQUEST_DELETE",
|
|
141
|
-
"payloadSchema": [
|
|
142
|
-
{
|
|
143
|
-
"name": "id",
|
|
144
|
-
"type": "string",
|
|
145
|
-
"required": true
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
"name": "source",
|
|
149
|
-
"type": "string"
|
|
150
|
-
}
|
|
151
|
-
]
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
"event": "PUBLISH",
|
|
103
|
+
"event": "OPEN_ARTICLE",
|
|
155
104
|
"payloadSchema": [
|
|
156
105
|
{
|
|
157
106
|
"name": "id",
|
|
@@ -224,75 +173,25 @@
|
|
|
224
173
|
]
|
|
225
174
|
},
|
|
226
175
|
{
|
|
227
|
-
"event": "
|
|
176
|
+
"event": "CLOSE_VIEW"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"event": "PUBLISH",
|
|
228
180
|
"payloadSchema": [
|
|
229
181
|
{
|
|
230
182
|
"name": "id",
|
|
231
183
|
"type": "string",
|
|
232
184
|
"required": true
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
{
|
|
240
|
-
"name": "row.title",
|
|
241
|
-
"type": "string",
|
|
242
|
-
"required": true
|
|
243
|
-
},
|
|
185
|
+
}
|
|
186
|
+
]
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"event": "ARCHIVE",
|
|
190
|
+
"payloadSchema": [
|
|
244
191
|
{
|
|
245
|
-
"name": "
|
|
192
|
+
"name": "id",
|
|
246
193
|
"type": "string",
|
|
247
194
|
"required": true
|
|
248
|
-
},
|
|
249
|
-
{
|
|
250
|
-
"name": "row.body",
|
|
251
|
-
"type": "string"
|
|
252
|
-
},
|
|
253
|
-
{
|
|
254
|
-
"name": "row.summary",
|
|
255
|
-
"type": "string"
|
|
256
|
-
},
|
|
257
|
-
{
|
|
258
|
-
"name": "row.categoryId",
|
|
259
|
-
"type": "string"
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
"name": "row.categoryName",
|
|
263
|
-
"type": "string"
|
|
264
|
-
},
|
|
265
|
-
{
|
|
266
|
-
"name": "row.author",
|
|
267
|
-
"type": "string"
|
|
268
|
-
},
|
|
269
|
-
{
|
|
270
|
-
"name": "row.status",
|
|
271
|
-
"type": "string"
|
|
272
|
-
},
|
|
273
|
-
{
|
|
274
|
-
"name": "row.viewCount",
|
|
275
|
-
"type": "number"
|
|
276
|
-
},
|
|
277
|
-
{
|
|
278
|
-
"name": "row.helpfulCount",
|
|
279
|
-
"type": "number"
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
"name": "row.notHelpfulCount",
|
|
283
|
-
"type": "number"
|
|
284
|
-
},
|
|
285
|
-
{
|
|
286
|
-
"name": "row.publishedAt",
|
|
287
|
-
"type": "string"
|
|
288
|
-
},
|
|
289
|
-
{
|
|
290
|
-
"name": "row.updatedAt",
|
|
291
|
-
"type": "string"
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
"name": "row.pendingId",
|
|
295
|
-
"type": "string"
|
|
296
195
|
}
|
|
297
196
|
]
|
|
298
197
|
},
|
|
@@ -326,7 +225,10 @@
|
|
|
326
225
|
"isInitial": true
|
|
327
226
|
},
|
|
328
227
|
{
|
|
329
|
-
"name": "
|
|
228
|
+
"name": "browsing"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"name": "viewing_single"
|
|
330
232
|
},
|
|
331
233
|
{
|
|
332
234
|
"name": "error"
|
|
@@ -362,85 +264,17 @@
|
|
|
362
264
|
]
|
|
363
265
|
},
|
|
364
266
|
{
|
|
365
|
-
"key": "
|
|
366
|
-
"name": "
|
|
367
|
-
"payloadSchema": [
|
|
368
|
-
{
|
|
369
|
-
"name": "source",
|
|
370
|
-
"type": "string"
|
|
371
|
-
}
|
|
372
|
-
]
|
|
373
|
-
},
|
|
374
|
-
{
|
|
375
|
-
"key": "SEARCH",
|
|
376
|
-
"name": "Search",
|
|
377
|
-
"payloadSchema": [
|
|
378
|
-
{
|
|
379
|
-
"name": "query",
|
|
380
|
-
"type": "string"
|
|
381
|
-
}
|
|
382
|
-
]
|
|
383
|
-
},
|
|
384
|
-
{
|
|
385
|
-
"key": "FILTER_STATUS",
|
|
386
|
-
"name": "Filter Status",
|
|
387
|
-
"payloadSchema": [
|
|
388
|
-
{
|
|
389
|
-
"name": "status",
|
|
390
|
-
"type": "string"
|
|
391
|
-
}
|
|
392
|
-
]
|
|
393
|
-
},
|
|
394
|
-
{
|
|
395
|
-
"key": "FILTER_CATEGORY",
|
|
396
|
-
"name": "Filter Category",
|
|
397
|
-
"payloadSchema": [
|
|
398
|
-
{
|
|
399
|
-
"name": "categoryId",
|
|
400
|
-
"type": "string"
|
|
401
|
-
}
|
|
402
|
-
]
|
|
403
|
-
},
|
|
404
|
-
{
|
|
405
|
-
"key": "CREATE",
|
|
406
|
-
"name": "Create",
|
|
407
|
-
"payloadSchema": [
|
|
408
|
-
{
|
|
409
|
-
"name": "source",
|
|
410
|
-
"type": "string"
|
|
411
|
-
}
|
|
412
|
-
]
|
|
413
|
-
},
|
|
414
|
-
{
|
|
415
|
-
"key": "VIEW",
|
|
416
|
-
"name": "View",
|
|
417
|
-
"payloadSchema": [
|
|
418
|
-
{
|
|
419
|
-
"name": "id",
|
|
420
|
-
"type": "string",
|
|
421
|
-
"required": true
|
|
422
|
-
}
|
|
423
|
-
]
|
|
424
|
-
},
|
|
425
|
-
{
|
|
426
|
-
"key": "EDIT",
|
|
427
|
-
"name": "Edit",
|
|
267
|
+
"key": "OPEN_ARTICLE",
|
|
268
|
+
"name": "Open Article",
|
|
428
269
|
"payloadSchema": [
|
|
429
270
|
{
|
|
430
271
|
"name": "id",
|
|
431
272
|
"type": "string",
|
|
432
273
|
"required": true
|
|
433
|
-
}
|
|
434
|
-
]
|
|
435
|
-
},
|
|
436
|
-
{
|
|
437
|
-
"key": "PUBLISH",
|
|
438
|
-
"name": "Publish",
|
|
439
|
-
"payloadSchema": [
|
|
274
|
+
},
|
|
440
275
|
{
|
|
441
|
-
"name": "
|
|
442
|
-
"type": "
|
|
443
|
-
"required": true
|
|
276
|
+
"name": "row",
|
|
277
|
+
"type": "HelpArticle"
|
|
444
278
|
}
|
|
445
279
|
]
|
|
446
280
|
},
|
|
@@ -456,8 +290,12 @@
|
|
|
456
290
|
]
|
|
457
291
|
},
|
|
458
292
|
{
|
|
459
|
-
"key": "
|
|
460
|
-
"name": "
|
|
293
|
+
"key": "CLOSE_VIEW",
|
|
294
|
+
"name": "Close View"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"key": "PUBLISH",
|
|
298
|
+
"name": "Publish",
|
|
461
299
|
"payloadSchema": [
|
|
462
300
|
{
|
|
463
301
|
"name": "id",
|
|
@@ -478,8 +316,8 @@
|
|
|
478
316
|
"HelpArticle",
|
|
479
317
|
{
|
|
480
318
|
"emit": {
|
|
481
|
-
"
|
|
482
|
-
"
|
|
319
|
+
"success": "HelpArticleLoaded",
|
|
320
|
+
"failure": "HelpArticleLoadFailed"
|
|
483
321
|
}
|
|
484
322
|
}
|
|
485
323
|
],
|
|
@@ -488,28 +326,28 @@
|
|
|
488
326
|
"main",
|
|
489
327
|
{
|
|
490
328
|
"className": "py-12",
|
|
491
|
-
"gap": "md",
|
|
492
|
-
"align": "center",
|
|
493
329
|
"children": [
|
|
494
330
|
{
|
|
495
331
|
"type": "spinner"
|
|
496
332
|
},
|
|
497
333
|
{
|
|
498
|
-
"content": "Loading help articles…",
|
|
499
334
|
"color": "muted",
|
|
500
335
|
"variant": "caption",
|
|
336
|
+
"content": "Loading help articles…",
|
|
501
337
|
"type": "typography"
|
|
502
338
|
}
|
|
503
339
|
],
|
|
340
|
+
"direction": "vertical",
|
|
504
341
|
"type": "stack",
|
|
505
|
-
"
|
|
342
|
+
"align": "center",
|
|
343
|
+
"gap": "md"
|
|
506
344
|
}
|
|
507
345
|
]
|
|
508
346
|
]
|
|
509
347
|
},
|
|
510
348
|
{
|
|
511
349
|
"from": "loading",
|
|
512
|
-
"to": "
|
|
350
|
+
"to": "browsing",
|
|
513
351
|
"event": "HelpArticleLoaded",
|
|
514
352
|
"effects": [
|
|
515
353
|
[
|
|
@@ -517,203 +355,96 @@
|
|
|
517
355
|
"main",
|
|
518
356
|
{
|
|
519
357
|
"type": "stack",
|
|
520
|
-
"
|
|
358
|
+
"gap": "md",
|
|
521
359
|
"children": [
|
|
522
360
|
{
|
|
523
|
-
"align": "center",
|
|
524
|
-
"direction": "horizontal",
|
|
525
361
|
"type": "stack",
|
|
362
|
+
"align": "center",
|
|
526
363
|
"children": [
|
|
527
364
|
{
|
|
528
365
|
"type": "icon",
|
|
529
366
|
"name": "book-open"
|
|
530
367
|
},
|
|
531
368
|
{
|
|
532
|
-
"
|
|
369
|
+
"variant": "h3",
|
|
533
370
|
"content": "@config.title",
|
|
534
|
-
"
|
|
535
|
-
},
|
|
536
|
-
{
|
|
537
|
-
"variant": "primary",
|
|
538
|
-
"action": "CREATE",
|
|
539
|
-
"type": "button",
|
|
540
|
-
"label": "New Article"
|
|
371
|
+
"type": "typography"
|
|
541
372
|
}
|
|
542
373
|
],
|
|
543
|
-
"gap": "sm"
|
|
374
|
+
"gap": "sm",
|
|
375
|
+
"direction": "horizontal"
|
|
544
376
|
},
|
|
545
377
|
{
|
|
546
|
-
"
|
|
378
|
+
"children": [
|
|
547
379
|
{
|
|
548
|
-
"
|
|
380
|
+
"icon": "book-open",
|
|
381
|
+
"type": "stat-display",
|
|
382
|
+
"value": "@payload.data.length",
|
|
383
|
+
"label": "Total articles"
|
|
549
384
|
},
|
|
550
385
|
{
|
|
551
|
-
"
|
|
386
|
+
"value": "184",
|
|
387
|
+
"label": "Published",
|
|
388
|
+
"icon": "check-circle",
|
|
389
|
+
"type": "stat-display"
|
|
552
390
|
},
|
|
553
391
|
{
|
|
554
|
-
"
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
},
|
|
559
|
-
{
|
|
560
|
-
"type": "doc-search",
|
|
561
|
-
"placeholder": "Search articles…"
|
|
562
|
-
},
|
|
563
|
-
{
|
|
564
|
-
"type": "stack",
|
|
565
|
-
"children": [
|
|
566
|
-
{
|
|
567
|
-
"items": [
|
|
568
|
-
{
|
|
569
|
-
"label": "Getting Started",
|
|
570
|
-
"href": "#getting-started"
|
|
571
|
-
},
|
|
572
|
-
{
|
|
573
|
-
"label": "Billing",
|
|
574
|
-
"href": "#billing"
|
|
575
|
-
},
|
|
576
|
-
{
|
|
577
|
-
"label": "API Reference",
|
|
578
|
-
"href": "#api"
|
|
579
|
-
},
|
|
580
|
-
{
|
|
581
|
-
"href": "#troubleshooting",
|
|
582
|
-
"label": "Troubleshooting"
|
|
583
|
-
}
|
|
584
|
-
],
|
|
585
|
-
"type": "doc-sidebar"
|
|
392
|
+
"type": "stat-display",
|
|
393
|
+
"label": "Drafts",
|
|
394
|
+
"value": "12",
|
|
395
|
+
"icon": "edit"
|
|
586
396
|
},
|
|
587
397
|
{
|
|
588
|
-
"
|
|
589
|
-
"
|
|
590
|
-
"type": "
|
|
591
|
-
"
|
|
592
|
-
{
|
|
593
|
-
"children": [
|
|
594
|
-
{
|
|
595
|
-
"direction": "ltr",
|
|
596
|
-
"content": "These articles cover everything from setup to advanced workflows.",
|
|
597
|
-
"type": "content-renderer"
|
|
598
|
-
}
|
|
599
|
-
],
|
|
600
|
-
"title": "Overview",
|
|
601
|
-
"type": "article-section"
|
|
602
|
-
},
|
|
603
|
-
{
|
|
604
|
-
"tabs": [
|
|
605
|
-
{
|
|
606
|
-
"id": "popular",
|
|
607
|
-
"label": "Popular",
|
|
608
|
-
"content": "Most-viewed help articles this week."
|
|
609
|
-
},
|
|
610
|
-
{
|
|
611
|
-
"label": "Recently Updated",
|
|
612
|
-
"id": "recent",
|
|
613
|
-
"content": "Freshly revised guidance."
|
|
614
|
-
},
|
|
615
|
-
{
|
|
616
|
-
"label": "Drafts",
|
|
617
|
-
"content": "Articles still in review.",
|
|
618
|
-
"id": "drafts"
|
|
619
|
-
}
|
|
620
|
-
],
|
|
621
|
-
"type": "tabbed-container",
|
|
622
|
-
"defaultTab": "popular"
|
|
623
|
-
},
|
|
624
|
-
{
|
|
625
|
-
"type": "book-viewer",
|
|
626
|
-
"entity": "@payload.data"
|
|
627
|
-
},
|
|
628
|
-
{
|
|
629
|
-
"description": "A walkthrough of the self-serve content strategy that cut inbound tickets.",
|
|
630
|
-
"category": "Customer Story",
|
|
631
|
-
"href": "/help-articles/case-study-acme",
|
|
632
|
-
"type": "case-study-card",
|
|
633
|
-
"title": "How Acme reduced support volume 40%",
|
|
634
|
-
"linkLabel": "Read case study"
|
|
635
|
-
},
|
|
636
|
-
{
|
|
637
|
-
"features": [
|
|
638
|
-
{
|
|
639
|
-
"type": "feature",
|
|
640
|
-
"id": "search",
|
|
641
|
-
"label": "Smart Search"
|
|
642
|
-
},
|
|
643
|
-
{
|
|
644
|
-
"type": "feature",
|
|
645
|
-
"id": "tags",
|
|
646
|
-
"label": "Tag Index"
|
|
647
|
-
},
|
|
648
|
-
{
|
|
649
|
-
"type": "feature",
|
|
650
|
-
"label": "Helpfulness Voting",
|
|
651
|
-
"id": "feedback"
|
|
652
|
-
}
|
|
653
|
-
],
|
|
654
|
-
"type": "feature-renderer-3d"
|
|
655
|
-
}
|
|
656
|
-
]
|
|
398
|
+
"icon": "thumbs-up",
|
|
399
|
+
"value": "87%",
|
|
400
|
+
"type": "stat-display",
|
|
401
|
+
"label": "Avg helpful rate"
|
|
657
402
|
}
|
|
658
403
|
],
|
|
659
|
-
"
|
|
660
|
-
"
|
|
404
|
+
"cols": 4.0,
|
|
405
|
+
"type": "simple-grid"
|
|
661
406
|
},
|
|
662
407
|
{
|
|
663
408
|
"type": "divider"
|
|
664
409
|
},
|
|
665
410
|
{
|
|
411
|
+
"type": "data-grid",
|
|
666
412
|
"entity": "@payload.data",
|
|
667
413
|
"itemActions": [
|
|
668
414
|
{
|
|
669
|
-
"
|
|
670
|
-
"
|
|
671
|
-
"
|
|
672
|
-
|
|
673
|
-
{
|
|
674
|
-
"label": "Edit",
|
|
675
|
-
"event": "EDIT",
|
|
676
|
-
"variant": "secondary"
|
|
677
|
-
},
|
|
678
|
-
{
|
|
679
|
-
"event": "PUBLISH",
|
|
680
|
-
"variant": "primary",
|
|
681
|
-
"label": "Publish"
|
|
415
|
+
"label": "Open",
|
|
416
|
+
"icon": "arrow-right",
|
|
417
|
+
"event": "OPEN_ARTICLE",
|
|
418
|
+
"variant": "primary"
|
|
682
419
|
},
|
|
683
420
|
{
|
|
684
|
-
"
|
|
421
|
+
"label": "Archive",
|
|
685
422
|
"event": "ARCHIVE",
|
|
686
|
-
"label": "Archive"
|
|
687
|
-
},
|
|
688
|
-
{
|
|
689
|
-
"label": "Delete",
|
|
690
|
-
"event": "REQUEST_DELETE",
|
|
691
423
|
"variant": "danger"
|
|
692
424
|
}
|
|
693
425
|
],
|
|
694
|
-
"gap": "sm",
|
|
695
426
|
"cols": 1.0,
|
|
696
|
-
"
|
|
427
|
+
"gap": "sm",
|
|
697
428
|
"fields": [
|
|
698
429
|
{
|
|
699
|
-
"name": "title",
|
|
700
430
|
"label": "Title",
|
|
701
|
-
"variant": "caption"
|
|
431
|
+
"variant": "caption",
|
|
432
|
+
"name": "title"
|
|
702
433
|
},
|
|
703
434
|
{
|
|
704
|
-
"label": "Slug",
|
|
705
435
|
"variant": "caption",
|
|
436
|
+
"label": "Slug",
|
|
706
437
|
"name": "slug"
|
|
707
438
|
},
|
|
708
439
|
{
|
|
709
|
-
"name": "categoryName",
|
|
710
440
|
"label": "Category",
|
|
711
|
-
"variant": "caption"
|
|
441
|
+
"variant": "caption",
|
|
442
|
+
"name": "categoryName"
|
|
712
443
|
},
|
|
713
444
|
{
|
|
714
|
-
"label": "Author",
|
|
715
445
|
"name": "author",
|
|
716
|
-
"variant": "caption"
|
|
446
|
+
"variant": "caption",
|
|
447
|
+
"label": "Author"
|
|
717
448
|
},
|
|
718
449
|
{
|
|
719
450
|
"name": "status",
|
|
@@ -721,24 +452,19 @@
|
|
|
721
452
|
"variant": "badge"
|
|
722
453
|
},
|
|
723
454
|
{
|
|
724
|
-
"variant": "caption",
|
|
725
455
|
"name": "viewCount",
|
|
456
|
+
"variant": "caption",
|
|
726
457
|
"label": "Views"
|
|
727
458
|
},
|
|
728
459
|
{
|
|
729
460
|
"variant": "caption",
|
|
730
|
-
"name": "
|
|
731
|
-
"label": "
|
|
732
|
-
},
|
|
733
|
-
{
|
|
734
|
-
"label": "Published",
|
|
735
|
-
"variant": "caption",
|
|
736
|
-
"name": "publishedAt"
|
|
461
|
+
"name": "publishedAt",
|
|
462
|
+
"label": "Published"
|
|
737
463
|
}
|
|
738
464
|
]
|
|
739
465
|
}
|
|
740
466
|
],
|
|
741
|
-
"
|
|
467
|
+
"direction": "vertical"
|
|
742
468
|
}
|
|
743
469
|
]
|
|
744
470
|
]
|
|
@@ -752,46 +478,254 @@
|
|
|
752
478
|
"render-ui",
|
|
753
479
|
"main",
|
|
754
480
|
{
|
|
755
|
-
"type": "alert",
|
|
756
481
|
"message": "@payload.message",
|
|
482
|
+
"type": "alert",
|
|
757
483
|
"variant": "error"
|
|
758
484
|
}
|
|
759
485
|
]
|
|
760
486
|
]
|
|
761
487
|
},
|
|
762
488
|
{
|
|
763
|
-
"from": "
|
|
764
|
-
"to": "
|
|
765
|
-
"event": "
|
|
489
|
+
"from": "browsing",
|
|
490
|
+
"to": "viewing_single",
|
|
491
|
+
"event": "OPEN_ARTICLE",
|
|
766
492
|
"effects": [
|
|
767
493
|
[
|
|
768
|
-
"
|
|
769
|
-
"
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
494
|
+
"set",
|
|
495
|
+
"@entity.id",
|
|
496
|
+
"@payload.row.id"
|
|
497
|
+
],
|
|
498
|
+
[
|
|
499
|
+
"set",
|
|
500
|
+
"@entity.title",
|
|
501
|
+
"@payload.row.title"
|
|
502
|
+
],
|
|
503
|
+
[
|
|
504
|
+
"set",
|
|
505
|
+
"@entity.slug",
|
|
506
|
+
"@payload.row.slug"
|
|
507
|
+
],
|
|
508
|
+
[
|
|
509
|
+
"set",
|
|
510
|
+
"@entity.summary",
|
|
511
|
+
"@payload.row.summary"
|
|
512
|
+
],
|
|
513
|
+
[
|
|
514
|
+
"set",
|
|
515
|
+
"@entity.categoryName",
|
|
516
|
+
"@payload.row.categoryName"
|
|
517
|
+
],
|
|
518
|
+
[
|
|
519
|
+
"set",
|
|
520
|
+
"@entity.author",
|
|
521
|
+
"@payload.row.author"
|
|
522
|
+
],
|
|
523
|
+
[
|
|
524
|
+
"set",
|
|
525
|
+
"@entity.status",
|
|
526
|
+
"@payload.row.status"
|
|
527
|
+
],
|
|
528
|
+
[
|
|
529
|
+
"set",
|
|
530
|
+
"@entity.viewCount",
|
|
531
|
+
"@payload.row.viewCount"
|
|
532
|
+
],
|
|
533
|
+
[
|
|
534
|
+
"set",
|
|
535
|
+
"@entity.helpfulCount",
|
|
536
|
+
"@payload.row.helpfulCount"
|
|
537
|
+
],
|
|
538
|
+
[
|
|
539
|
+
"set",
|
|
540
|
+
"@entity.notHelpfulCount",
|
|
541
|
+
"@payload.row.notHelpfulCount"
|
|
542
|
+
],
|
|
543
|
+
[
|
|
544
|
+
"set",
|
|
545
|
+
"@entity.publishedAt",
|
|
546
|
+
"@payload.row.publishedAt"
|
|
547
|
+
],
|
|
548
|
+
[
|
|
549
|
+
"set",
|
|
550
|
+
"@entity.updatedAt",
|
|
551
|
+
"@payload.row.updatedAt"
|
|
776
552
|
],
|
|
777
553
|
[
|
|
778
554
|
"render-ui",
|
|
779
555
|
"main",
|
|
780
556
|
{
|
|
781
557
|
"direction": "vertical",
|
|
782
|
-
"align": "center",
|
|
783
|
-
"className": "py-12",
|
|
784
|
-
"type": "stack",
|
|
785
558
|
"gap": "md",
|
|
559
|
+
"type": "stack",
|
|
786
560
|
"children": [
|
|
787
561
|
{
|
|
788
|
-
"
|
|
562
|
+
"direction": "horizontal",
|
|
563
|
+
"align": "center",
|
|
564
|
+
"gap": "sm",
|
|
565
|
+
"type": "stack",
|
|
566
|
+
"children": [
|
|
567
|
+
{
|
|
568
|
+
"action": "CLOSE_VIEW",
|
|
569
|
+
"type": "button",
|
|
570
|
+
"label": "Back",
|
|
571
|
+
"variant": "ghost"
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"type": "icon",
|
|
575
|
+
"name": "book-open"
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"type": "typography",
|
|
579
|
+
"content": "@entity.title",
|
|
580
|
+
"variant": "h3"
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"type": "badge",
|
|
584
|
+
"label": "@entity.status",
|
|
585
|
+
"variant": "default"
|
|
586
|
+
}
|
|
587
|
+
]
|
|
789
588
|
},
|
|
790
589
|
{
|
|
791
|
-
"
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
"
|
|
590
|
+
"type": "divider"
|
|
591
|
+
},
|
|
592
|
+
{
|
|
593
|
+
"type": "stack",
|
|
594
|
+
"children": [
|
|
595
|
+
{
|
|
596
|
+
"direction": "horizontal",
|
|
597
|
+
"type": "stack",
|
|
598
|
+
"gap": "md",
|
|
599
|
+
"children": [
|
|
600
|
+
{
|
|
601
|
+
"color": "muted",
|
|
602
|
+
"content": "Slug",
|
|
603
|
+
"variant": "caption",
|
|
604
|
+
"type": "typography"
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
"variant": "body",
|
|
608
|
+
"content": "@entity.slug",
|
|
609
|
+
"type": "typography"
|
|
610
|
+
}
|
|
611
|
+
]
|
|
612
|
+
},
|
|
613
|
+
{
|
|
614
|
+
"direction": "horizontal",
|
|
615
|
+
"gap": "md",
|
|
616
|
+
"children": [
|
|
617
|
+
{
|
|
618
|
+
"variant": "caption",
|
|
619
|
+
"type": "typography",
|
|
620
|
+
"color": "muted",
|
|
621
|
+
"content": "Category"
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
"type": "typography",
|
|
625
|
+
"variant": "body",
|
|
626
|
+
"content": "@entity.categoryName"
|
|
627
|
+
}
|
|
628
|
+
],
|
|
629
|
+
"type": "stack"
|
|
630
|
+
},
|
|
631
|
+
{
|
|
632
|
+
"direction": "horizontal",
|
|
633
|
+
"type": "stack",
|
|
634
|
+
"children": [
|
|
635
|
+
{
|
|
636
|
+
"type": "typography",
|
|
637
|
+
"color": "muted",
|
|
638
|
+
"content": "Author",
|
|
639
|
+
"variant": "caption"
|
|
640
|
+
},
|
|
641
|
+
{
|
|
642
|
+
"content": "@entity.author",
|
|
643
|
+
"type": "typography",
|
|
644
|
+
"variant": "body"
|
|
645
|
+
}
|
|
646
|
+
],
|
|
647
|
+
"gap": "md"
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"type": "stack",
|
|
651
|
+
"direction": "horizontal",
|
|
652
|
+
"gap": "md",
|
|
653
|
+
"children": [
|
|
654
|
+
{
|
|
655
|
+
"variant": "caption",
|
|
656
|
+
"type": "typography",
|
|
657
|
+
"color": "muted",
|
|
658
|
+
"content": "Summary"
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"variant": "body",
|
|
662
|
+
"content": "@entity.summary",
|
|
663
|
+
"type": "typography"
|
|
664
|
+
}
|
|
665
|
+
]
|
|
666
|
+
}
|
|
667
|
+
],
|
|
668
|
+
"gap": "sm",
|
|
669
|
+
"direction": "vertical"
|
|
670
|
+
},
|
|
671
|
+
{
|
|
672
|
+
"type": "divider"
|
|
673
|
+
},
|
|
674
|
+
{
|
|
675
|
+
"type": "simple-grid",
|
|
676
|
+
"cols": 4.0,
|
|
677
|
+
"children": [
|
|
678
|
+
{
|
|
679
|
+
"value": "@entity.viewCount",
|
|
680
|
+
"label": "Views",
|
|
681
|
+
"type": "stat-display",
|
|
682
|
+
"icon": "eye"
|
|
683
|
+
},
|
|
684
|
+
{
|
|
685
|
+
"value": "@entity.helpfulCount",
|
|
686
|
+
"type": "stat-display",
|
|
687
|
+
"label": "Helpful",
|
|
688
|
+
"icon": "thumbs-up"
|
|
689
|
+
},
|
|
690
|
+
{
|
|
691
|
+
"label": "Not helpful",
|
|
692
|
+
"icon": "thumbs-down",
|
|
693
|
+
"type": "stat-display",
|
|
694
|
+
"value": "@entity.notHelpfulCount"
|
|
695
|
+
},
|
|
696
|
+
{
|
|
697
|
+
"label": "Published",
|
|
698
|
+
"icon": "calendar",
|
|
699
|
+
"type": "stat-display",
|
|
700
|
+
"value": "@entity.publishedAt"
|
|
701
|
+
}
|
|
702
|
+
]
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"type": "stack",
|
|
706
|
+
"align": "center",
|
|
707
|
+
"children": [
|
|
708
|
+
{
|
|
709
|
+
"actionPayload": {
|
|
710
|
+
"id": "@entity.id"
|
|
711
|
+
},
|
|
712
|
+
"variant": "primary",
|
|
713
|
+
"action": "PUBLISH",
|
|
714
|
+
"label": "Publish",
|
|
715
|
+
"type": "button"
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
"variant": "danger",
|
|
719
|
+
"action": "ARCHIVE",
|
|
720
|
+
"actionPayload": {
|
|
721
|
+
"id": "@entity.id"
|
|
722
|
+
},
|
|
723
|
+
"label": "Archive",
|
|
724
|
+
"type": "button"
|
|
725
|
+
}
|
|
726
|
+
],
|
|
727
|
+
"gap": "sm",
|
|
728
|
+
"direction": "horizontal"
|
|
795
729
|
}
|
|
796
730
|
]
|
|
797
731
|
}
|
|
@@ -799,10 +733,15 @@
|
|
|
799
733
|
]
|
|
800
734
|
},
|
|
801
735
|
{
|
|
802
|
-
"from": "
|
|
736
|
+
"from": "browsing",
|
|
803
737
|
"to": "loading",
|
|
804
|
-
"event": "
|
|
738
|
+
"event": "ARCHIVE",
|
|
805
739
|
"effects": [
|
|
740
|
+
[
|
|
741
|
+
"set",
|
|
742
|
+
"@entity.id",
|
|
743
|
+
"@payload.id"
|
|
744
|
+
],
|
|
806
745
|
[
|
|
807
746
|
"fetch",
|
|
808
747
|
"HelpArticle",
|
|
@@ -817,30 +756,30 @@
|
|
|
817
756
|
"render-ui",
|
|
818
757
|
"main",
|
|
819
758
|
{
|
|
820
|
-
"gap": "md",
|
|
821
|
-
"type": "stack",
|
|
822
|
-
"direction": "vertical",
|
|
823
|
-
"align": "center",
|
|
824
|
-
"className": "py-12",
|
|
825
759
|
"children": [
|
|
826
760
|
{
|
|
827
761
|
"type": "spinner"
|
|
828
762
|
},
|
|
829
763
|
{
|
|
830
|
-
"
|
|
831
|
-
"content": "Searching help articles…",
|
|
764
|
+
"type": "typography",
|
|
832
765
|
"color": "muted",
|
|
833
|
-
"
|
|
766
|
+
"variant": "caption",
|
|
767
|
+
"content": "Archiving article…"
|
|
834
768
|
}
|
|
835
|
-
]
|
|
769
|
+
],
|
|
770
|
+
"className": "py-12",
|
|
771
|
+
"type": "stack",
|
|
772
|
+
"direction": "vertical",
|
|
773
|
+
"gap": "md",
|
|
774
|
+
"align": "center"
|
|
836
775
|
}
|
|
837
776
|
]
|
|
838
777
|
]
|
|
839
778
|
},
|
|
840
779
|
{
|
|
841
|
-
"from": "
|
|
780
|
+
"from": "viewing_single",
|
|
842
781
|
"to": "loading",
|
|
843
|
-
"event": "
|
|
782
|
+
"event": "CLOSE_VIEW",
|
|
844
783
|
"effects": [
|
|
845
784
|
[
|
|
846
785
|
"fetch",
|
|
@@ -856,38 +795,43 @@
|
|
|
856
795
|
"render-ui",
|
|
857
796
|
"main",
|
|
858
797
|
{
|
|
859
|
-
"type": "stack",
|
|
860
|
-
"className": "py-12",
|
|
861
|
-
"gap": "md",
|
|
862
|
-
"direction": "vertical",
|
|
863
798
|
"children": [
|
|
864
799
|
{
|
|
865
800
|
"type": "spinner"
|
|
866
801
|
},
|
|
867
802
|
{
|
|
868
803
|
"variant": "caption",
|
|
869
|
-
"content": "Filtering help articles…",
|
|
870
804
|
"color": "muted",
|
|
805
|
+
"content": "Loading help articles…",
|
|
871
806
|
"type": "typography"
|
|
872
807
|
}
|
|
873
808
|
],
|
|
874
|
-
"
|
|
809
|
+
"direction": "vertical",
|
|
810
|
+
"type": "stack",
|
|
811
|
+
"align": "center",
|
|
812
|
+
"className": "py-12",
|
|
813
|
+
"gap": "md"
|
|
875
814
|
}
|
|
876
815
|
]
|
|
877
816
|
]
|
|
878
817
|
},
|
|
879
818
|
{
|
|
880
|
-
"from": "
|
|
819
|
+
"from": "viewing_single",
|
|
881
820
|
"to": "loading",
|
|
882
|
-
"event": "
|
|
821
|
+
"event": "PUBLISH",
|
|
883
822
|
"effects": [
|
|
823
|
+
[
|
|
824
|
+
"set",
|
|
825
|
+
"@entity.id",
|
|
826
|
+
"@payload.id"
|
|
827
|
+
],
|
|
884
828
|
[
|
|
885
829
|
"fetch",
|
|
886
830
|
"HelpArticle",
|
|
887
831
|
{
|
|
888
832
|
"emit": {
|
|
889
|
-
"
|
|
890
|
-
"
|
|
833
|
+
"failure": "HelpArticleLoadFailed",
|
|
834
|
+
"success": "HelpArticleLoaded"
|
|
891
835
|
}
|
|
892
836
|
}
|
|
893
837
|
],
|
|
@@ -895,108 +839,29 @@
|
|
|
895
839
|
"render-ui",
|
|
896
840
|
"main",
|
|
897
841
|
{
|
|
842
|
+
"type": "stack",
|
|
843
|
+
"gap": "md",
|
|
844
|
+
"align": "center",
|
|
845
|
+
"className": "py-12",
|
|
898
846
|
"children": [
|
|
899
847
|
{
|
|
900
848
|
"type": "spinner"
|
|
901
849
|
},
|
|
902
850
|
{
|
|
903
|
-
"
|
|
851
|
+
"type": "typography",
|
|
904
852
|
"variant": "caption",
|
|
905
|
-
"content": "
|
|
906
|
-
"
|
|
853
|
+
"content": "Publishing article…",
|
|
854
|
+
"color": "muted"
|
|
907
855
|
}
|
|
908
856
|
],
|
|
909
|
-
"type": "stack",
|
|
910
|
-
"gap": "md",
|
|
911
|
-
"className": "py-12",
|
|
912
|
-
"align": "center",
|
|
913
857
|
"direction": "vertical"
|
|
914
858
|
}
|
|
915
859
|
]
|
|
916
860
|
]
|
|
917
861
|
},
|
|
918
862
|
{
|
|
919
|
-
"from": "
|
|
920
|
-
"to": "
|
|
921
|
-
"event": "CREATE",
|
|
922
|
-
"effects": [
|
|
923
|
-
[
|
|
924
|
-
"render-ui",
|
|
925
|
-
"main",
|
|
926
|
-
{
|
|
927
|
-
"variant": "info",
|
|
928
|
-
"message": "Creating new help article",
|
|
929
|
-
"type": "alert"
|
|
930
|
-
}
|
|
931
|
-
]
|
|
932
|
-
]
|
|
933
|
-
},
|
|
934
|
-
{
|
|
935
|
-
"from": "viewing",
|
|
936
|
-
"to": "viewing",
|
|
937
|
-
"event": "VIEW",
|
|
938
|
-
"effects": [
|
|
939
|
-
[
|
|
940
|
-
"set",
|
|
941
|
-
"@entity.id",
|
|
942
|
-
"@payload.id"
|
|
943
|
-
],
|
|
944
|
-
[
|
|
945
|
-
"render-ui",
|
|
946
|
-
"main",
|
|
947
|
-
{
|
|
948
|
-
"variant": "info",
|
|
949
|
-
"type": "alert",
|
|
950
|
-
"message": "Viewing help article"
|
|
951
|
-
}
|
|
952
|
-
]
|
|
953
|
-
]
|
|
954
|
-
},
|
|
955
|
-
{
|
|
956
|
-
"from": "viewing",
|
|
957
|
-
"to": "viewing",
|
|
958
|
-
"event": "EDIT",
|
|
959
|
-
"effects": [
|
|
960
|
-
[
|
|
961
|
-
"set",
|
|
962
|
-
"@entity.id",
|
|
963
|
-
"@payload.id"
|
|
964
|
-
],
|
|
965
|
-
[
|
|
966
|
-
"render-ui",
|
|
967
|
-
"main",
|
|
968
|
-
{
|
|
969
|
-
"type": "alert",
|
|
970
|
-
"variant": "info",
|
|
971
|
-
"message": "Editing help article"
|
|
972
|
-
}
|
|
973
|
-
]
|
|
974
|
-
]
|
|
975
|
-
},
|
|
976
|
-
{
|
|
977
|
-
"from": "viewing",
|
|
978
|
-
"to": "viewing",
|
|
979
|
-
"event": "PUBLISH",
|
|
980
|
-
"effects": [
|
|
981
|
-
[
|
|
982
|
-
"set",
|
|
983
|
-
"@entity.id",
|
|
984
|
-
"@payload.id"
|
|
985
|
-
],
|
|
986
|
-
[
|
|
987
|
-
"render-ui",
|
|
988
|
-
"main",
|
|
989
|
-
{
|
|
990
|
-
"variant": "success",
|
|
991
|
-
"message": "Article published",
|
|
992
|
-
"type": "alert"
|
|
993
|
-
}
|
|
994
|
-
]
|
|
995
|
-
]
|
|
996
|
-
},
|
|
997
|
-
{
|
|
998
|
-
"from": "viewing",
|
|
999
|
-
"to": "viewing",
|
|
863
|
+
"from": "viewing_single",
|
|
864
|
+
"to": "loading",
|
|
1000
865
|
"event": "ARCHIVE",
|
|
1001
866
|
"effects": [
|
|
1002
867
|
[
|
|
@@ -1005,33 +870,35 @@
|
|
|
1005
870
|
"@payload.id"
|
|
1006
871
|
],
|
|
1007
872
|
[
|
|
1008
|
-
"
|
|
1009
|
-
"
|
|
873
|
+
"fetch",
|
|
874
|
+
"HelpArticle",
|
|
1010
875
|
{
|
|
1011
|
-
"
|
|
1012
|
-
|
|
1013
|
-
|
|
876
|
+
"emit": {
|
|
877
|
+
"failure": "HelpArticleLoadFailed",
|
|
878
|
+
"success": "HelpArticleLoaded"
|
|
879
|
+
}
|
|
1014
880
|
}
|
|
1015
|
-
]
|
|
1016
|
-
]
|
|
1017
|
-
},
|
|
1018
|
-
{
|
|
1019
|
-
"from": "viewing",
|
|
1020
|
-
"to": "viewing",
|
|
1021
|
-
"event": "REQUEST_DELETE",
|
|
1022
|
-
"effects": [
|
|
1023
|
-
[
|
|
1024
|
-
"set",
|
|
1025
|
-
"@entity.id",
|
|
1026
|
-
"@payload.id"
|
|
1027
881
|
],
|
|
1028
882
|
[
|
|
1029
883
|
"render-ui",
|
|
1030
884
|
"main",
|
|
1031
885
|
{
|
|
1032
|
-
"
|
|
1033
|
-
"
|
|
1034
|
-
"
|
|
886
|
+
"className": "py-12",
|
|
887
|
+
"direction": "vertical",
|
|
888
|
+
"type": "stack",
|
|
889
|
+
"align": "center",
|
|
890
|
+
"children": [
|
|
891
|
+
{
|
|
892
|
+
"type": "spinner"
|
|
893
|
+
},
|
|
894
|
+
{
|
|
895
|
+
"variant": "caption",
|
|
896
|
+
"type": "typography",
|
|
897
|
+
"content": "Archiving article…",
|
|
898
|
+
"color": "muted"
|
|
899
|
+
}
|
|
900
|
+
],
|
|
901
|
+
"gap": "md"
|
|
1035
902
|
}
|
|
1036
903
|
]
|
|
1037
904
|
]
|
|
@@ -1046,8 +913,8 @@
|
|
|
1046
913
|
"HelpArticle",
|
|
1047
914
|
{
|
|
1048
915
|
"emit": {
|
|
1049
|
-
"
|
|
1050
|
-
"
|
|
916
|
+
"success": "HelpArticleLoaded",
|
|
917
|
+
"failure": "HelpArticleLoadFailed"
|
|
1051
918
|
}
|
|
1052
919
|
}
|
|
1053
920
|
],
|
|
@@ -1055,8 +922,8 @@
|
|
|
1055
922
|
"render-ui",
|
|
1056
923
|
"main",
|
|
1057
924
|
{
|
|
1058
|
-
"
|
|
1059
|
-
"
|
|
925
|
+
"type": "spinner",
|
|
926
|
+
"size": "sm"
|
|
1060
927
|
}
|
|
1061
928
|
]
|
|
1062
929
|
]
|