@almadar/std 14.16.0 → 14.18.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-branching-logic.orb +84 -84
- package/behaviors/registry/app/atoms/std-checkin.orb +60 -60
- package/behaviors/registry/app/atoms/std-dunning.orb +44 -44
- package/behaviors/registry/app/atoms/std-event.orb +62 -62
- package/behaviors/registry/app/atoms/std-flag.orb +72 -72
- package/behaviors/registry/app/atoms/std-geosearch.orb +29 -29
- package/behaviors/registry/app/atoms/std-image-upload-multi.orb +54 -56
- package/behaviors/registry/app/atoms/std-invoice.orb +124 -124
- package/behaviors/registry/app/atoms/std-kitchen-display.orb +45 -45
- package/behaviors/registry/app/atoms/std-menu.orb +44 -44
- package/behaviors/registry/app/atoms/std-mod-queue.orb +38 -38
- package/behaviors/registry/app/atoms/std-modifier-group.orb +56 -56
- package/behaviors/registry/app/atoms/std-page-tree.orb +55 -55
- package/behaviors/registry/app/atoms/std-payout-ledger.orb +66 -66
- package/behaviors/registry/app/atoms/std-question-bank.orb +62 -62
- package/behaviors/registry/app/atoms/std-rating-review.orb +67 -67
- package/behaviors/registry/app/atoms/std-recurring-charge.orb +74 -74
- package/behaviors/registry/app/atoms/std-response-collector.orb +44 -44
- package/behaviors/registry/app/atoms/std-rich-editor.orb +68 -68
- package/behaviors/registry/app/atoms/std-route-optimize.orb +48 -46
- package/behaviors/registry/app/atoms/std-saved-search.orb +72 -72
- package/behaviors/registry/app/atoms/std-signature-capture.orb +86 -86
- package/behaviors/registry/app/atoms/std-table-map.orb +46 -46
- package/behaviors/registry/app/atoms/std-tag-taxonomy.orb +73 -92
- package/behaviors/registry/app/atoms/std-technician-dispatch.orb +42 -42
- package/behaviors/registry/app/atoms/std-thread.orb +59 -59
- package/behaviors/registry/app/atoms/std-ticket-tier.orb +72 -56
- package/behaviors/registry/app/atoms/std-trial.orb +67 -67
- package/behaviors/registry/app/atoms/std-version-history.orb +93 -93
- package/behaviors/registry/app/atoms/std-vote.orb +40 -40
- package/behaviors/registry/app/atoms/std-waitlist.orb +50 -50
- package/behaviors/registry/app/atoms/std-work-order.orb +61 -61
- package/behaviors/registry/app/organisms/std-api-gateway.orb +201 -201
- package/behaviors/registry/app/organisms/std-booking-system.orb +676 -676
- package/behaviors/registry/app/organisms/std-cicd-pipeline.orb +285 -285
- package/behaviors/registry/app/organisms/std-cms.orb +265 -265
- package/behaviors/registry/app/organisms/std-coding-academy.orb +179 -179
- package/behaviors/registry/app/organisms/std-crm.orb +258 -258
- package/behaviors/registry/app/organisms/std-devops-dashboard.orb +403 -403
- package/behaviors/registry/app/organisms/std-ecommerce.orb +681 -681
- package/behaviors/registry/app/organisms/std-event-ticketing.orb +193 -201
- package/behaviors/registry/app/organisms/std-field-service.orb +170 -174
- package/behaviors/registry/app/organisms/std-finance-tracker.orb +205 -205
- package/behaviors/registry/app/organisms/std-forum.orb +127 -128
- package/behaviors/registry/app/organisms/std-healthcare.orb +540 -540
- package/behaviors/registry/app/organisms/std-helpdesk.orb +175 -175
- package/behaviors/registry/app/organisms/std-hr-portal.orb +444 -444
- package/behaviors/registry/app/organisms/std-iot-dashboard.orb +344 -344
- package/behaviors/registry/app/organisms/std-listings.orb +152 -157
- package/behaviors/registry/app/organisms/std-lms.orb +422 -422
- package/behaviors/registry/app/organisms/std-marketplace.orb +232 -234
- package/behaviors/registry/app/organisms/std-project-manager.orb +193 -193
- package/behaviors/registry/app/organisms/std-realtime-chat.orb +248 -248
- package/behaviors/registry/app/organisms/std-restaurant-pos.orb +142 -142
- package/behaviors/registry/app/organisms/std-social-feed.orb +156 -156
- package/behaviors/registry/app/organisms/std-subscription-billing.orb +210 -212
- package/behaviors/registry/app/organisms/std-survey.orb +148 -149
- package/behaviors/registry/app/organisms/std-trading-dashboard.orb +274 -274
- package/behaviors/registry/app/organisms/std-wiki.orb +131 -132
- package/behaviors/registry/core/molecules/std-form-advanced.orb +124 -124
- package/dist/behaviors/behaviors-registry.json +1 -1
- package/dist/behaviors/registry/app/atoms/std-branching-logic.orb +84 -84
- package/dist/behaviors/registry/app/atoms/std-checkin.orb +60 -60
- package/dist/behaviors/registry/app/atoms/std-dunning.orb +44 -44
- package/dist/behaviors/registry/app/atoms/std-event.orb +62 -62
- package/dist/behaviors/registry/app/atoms/std-flag.orb +72 -72
- package/dist/behaviors/registry/app/atoms/std-geosearch.orb +29 -29
- package/dist/behaviors/registry/app/atoms/std-image-upload-multi.orb +54 -56
- package/dist/behaviors/registry/app/atoms/std-invoice.orb +124 -124
- package/dist/behaviors/registry/app/atoms/std-kitchen-display.orb +45 -45
- package/dist/behaviors/registry/app/atoms/std-menu.orb +44 -44
- package/dist/behaviors/registry/app/atoms/std-mod-queue.orb +38 -38
- package/dist/behaviors/registry/app/atoms/std-modifier-group.orb +56 -56
- package/dist/behaviors/registry/app/atoms/std-page-tree.orb +55 -55
- package/dist/behaviors/registry/app/atoms/std-payout-ledger.orb +66 -66
- package/dist/behaviors/registry/app/atoms/std-question-bank.orb +62 -62
- package/dist/behaviors/registry/app/atoms/std-rating-review.orb +67 -67
- package/dist/behaviors/registry/app/atoms/std-recurring-charge.orb +74 -74
- package/dist/behaviors/registry/app/atoms/std-response-collector.orb +44 -44
- package/dist/behaviors/registry/app/atoms/std-rich-editor.orb +68 -68
- package/dist/behaviors/registry/app/atoms/std-route-optimize.orb +48 -46
- package/dist/behaviors/registry/app/atoms/std-saved-search.orb +72 -72
- package/dist/behaviors/registry/app/atoms/std-signature-capture.orb +86 -86
- package/dist/behaviors/registry/app/atoms/std-table-map.orb +46 -46
- package/dist/behaviors/registry/app/atoms/std-tag-taxonomy.orb +73 -92
- package/dist/behaviors/registry/app/atoms/std-technician-dispatch.orb +42 -42
- package/dist/behaviors/registry/app/atoms/std-thread.orb +59 -59
- package/dist/behaviors/registry/app/atoms/std-ticket-tier.orb +72 -56
- package/dist/behaviors/registry/app/atoms/std-trial.orb +67 -67
- package/dist/behaviors/registry/app/atoms/std-version-history.orb +93 -93
- package/dist/behaviors/registry/app/atoms/std-vote.orb +40 -40
- package/dist/behaviors/registry/app/atoms/std-waitlist.orb +50 -50
- package/dist/behaviors/registry/app/atoms/std-work-order.orb +61 -61
- package/dist/behaviors/registry/app/organisms/std-api-gateway.orb +201 -201
- package/dist/behaviors/registry/app/organisms/std-booking-system.orb +676 -676
- package/dist/behaviors/registry/app/organisms/std-cicd-pipeline.orb +285 -285
- package/dist/behaviors/registry/app/organisms/std-cms.orb +265 -265
- package/dist/behaviors/registry/app/organisms/std-coding-academy.orb +179 -179
- package/dist/behaviors/registry/app/organisms/std-crm.orb +258 -258
- package/dist/behaviors/registry/app/organisms/std-devops-dashboard.orb +403 -403
- package/dist/behaviors/registry/app/organisms/std-ecommerce.orb +681 -681
- package/dist/behaviors/registry/app/organisms/std-event-ticketing.orb +193 -201
- package/dist/behaviors/registry/app/organisms/std-field-service.orb +170 -174
- package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +205 -205
- package/dist/behaviors/registry/app/organisms/std-forum.orb +127 -128
- package/dist/behaviors/registry/app/organisms/std-healthcare.orb +540 -540
- package/dist/behaviors/registry/app/organisms/std-helpdesk.orb +175 -175
- package/dist/behaviors/registry/app/organisms/std-hr-portal.orb +444 -444
- package/dist/behaviors/registry/app/organisms/std-iot-dashboard.orb +344 -344
- package/dist/behaviors/registry/app/organisms/std-listings.orb +152 -157
- package/dist/behaviors/registry/app/organisms/std-lms.orb +422 -422
- package/dist/behaviors/registry/app/organisms/std-marketplace.orb +232 -234
- package/dist/behaviors/registry/app/organisms/std-project-manager.orb +193 -193
- package/dist/behaviors/registry/app/organisms/std-realtime-chat.orb +248 -248
- package/dist/behaviors/registry/app/organisms/std-restaurant-pos.orb +142 -142
- package/dist/behaviors/registry/app/organisms/std-social-feed.orb +156 -156
- package/dist/behaviors/registry/app/organisms/std-subscription-billing.orb +210 -212
- package/dist/behaviors/registry/app/organisms/std-survey.orb +148 -149
- package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +274 -274
- package/dist/behaviors/registry/app/organisms/std-wiki.orb +131 -132
- package/dist/behaviors/registry/core/molecules/std-form-advanced.orb +124 -124
- package/dist/behaviors-registry.json +1 -1
- package/package.json +7 -14
|
@@ -119,28 +119,28 @@
|
|
|
119
119
|
"ref": "AppShell.traits.AppLayout",
|
|
120
120
|
"name": "QuestionAppLayout",
|
|
121
121
|
"config": {
|
|
122
|
-
"appName": "Forum",
|
|
123
|
-
"contentTrait": "@trait.QuestionCatalog",
|
|
124
|
-
"searchEvent": "QUESTION_SEARCH",
|
|
125
|
-
"notifications": [],
|
|
126
|
-
"notificationClickEvent": "QUESTION_NOTIFICATIONS_OPEN",
|
|
127
122
|
"navItems": [
|
|
128
123
|
{
|
|
124
|
+
"href": "/questions",
|
|
129
125
|
"icon": "help-circle",
|
|
130
|
-
"label": "Questions"
|
|
131
|
-
"href": "/questions"
|
|
126
|
+
"label": "Questions"
|
|
132
127
|
},
|
|
133
128
|
{
|
|
134
129
|
"icon": "tag",
|
|
135
|
-
"
|
|
136
|
-
"
|
|
130
|
+
"label": "Categories",
|
|
131
|
+
"href": "/questions"
|
|
137
132
|
},
|
|
138
133
|
{
|
|
139
134
|
"label": "Moderation",
|
|
140
|
-
"
|
|
141
|
-
"
|
|
135
|
+
"href": "/moderation",
|
|
136
|
+
"icon": "shield-alert"
|
|
142
137
|
}
|
|
143
|
-
]
|
|
138
|
+
],
|
|
139
|
+
"notificationClickEvent": "QUESTION_NOTIFICATIONS_OPEN",
|
|
140
|
+
"searchEvent": "QUESTION_SEARCH",
|
|
141
|
+
"contentTrait": "@trait.QuestionCatalog",
|
|
142
|
+
"appName": "Forum",
|
|
143
|
+
"notifications": []
|
|
144
144
|
},
|
|
145
145
|
"events": {
|
|
146
146
|
"SEARCH": "QUESTION_SEARCH",
|
|
@@ -227,17 +227,13 @@
|
|
|
227
227
|
"render-ui",
|
|
228
228
|
"main",
|
|
229
229
|
{
|
|
230
|
-
"gap": "lg",
|
|
231
|
-
"direction": "vertical",
|
|
232
|
-
"type": "stack",
|
|
233
230
|
"children": [
|
|
234
231
|
{
|
|
232
|
+
"gap": "md",
|
|
233
|
+
"type": "stack",
|
|
235
234
|
"align": "center",
|
|
236
235
|
"children": [
|
|
237
236
|
{
|
|
238
|
-
"type": "stack",
|
|
239
|
-
"direction": "horizontal",
|
|
240
|
-
"align": "center",
|
|
241
237
|
"gap": "sm",
|
|
242
238
|
"children": [
|
|
243
239
|
{
|
|
@@ -249,40 +245,41 @@
|
|
|
249
245
|
"type": "typography",
|
|
250
246
|
"content": "Questions"
|
|
251
247
|
}
|
|
252
|
-
]
|
|
248
|
+
],
|
|
249
|
+
"align": "center",
|
|
250
|
+
"type": "stack",
|
|
251
|
+
"direction": "horizontal"
|
|
253
252
|
},
|
|
254
253
|
{
|
|
254
|
+
"direction": "horizontal",
|
|
255
|
+
"gap": "sm",
|
|
255
256
|
"children": [
|
|
256
257
|
{
|
|
257
|
-
"icon": "plus",
|
|
258
258
|
"label": "Ask Question",
|
|
259
259
|
"type": "button",
|
|
260
260
|
"action": "CREATE",
|
|
261
|
+
"icon": "plus",
|
|
261
262
|
"variant": "primary"
|
|
262
263
|
}
|
|
263
264
|
],
|
|
264
|
-
"type": "stack"
|
|
265
|
-
"direction": "horizontal",
|
|
266
|
-
"gap": "sm"
|
|
265
|
+
"type": "stack"
|
|
267
266
|
}
|
|
268
267
|
],
|
|
269
|
-
"
|
|
270
|
-
"
|
|
271
|
-
"gap": "md",
|
|
272
|
-
"justify": "between"
|
|
268
|
+
"justify": "between",
|
|
269
|
+
"direction": "horizontal"
|
|
273
270
|
},
|
|
274
271
|
{
|
|
275
272
|
"type": "divider"
|
|
276
273
|
},
|
|
277
274
|
{
|
|
275
|
+
"type": "stack",
|
|
276
|
+
"direction": "horizontal",
|
|
277
|
+
"gap": "md",
|
|
278
|
+
"align": "center",
|
|
278
279
|
"children": [
|
|
279
280
|
"@trait.QuestionSearch",
|
|
280
281
|
"@trait.QuestionFilter"
|
|
281
|
-
]
|
|
282
|
-
"gap": "md",
|
|
283
|
-
"type": "stack",
|
|
284
|
-
"align": "center",
|
|
285
|
-
"direction": "horizontal"
|
|
282
|
+
]
|
|
286
283
|
},
|
|
287
284
|
"@trait.QuestionStats",
|
|
288
285
|
{
|
|
@@ -293,7 +290,10 @@
|
|
|
293
290
|
"type": "divider"
|
|
294
291
|
},
|
|
295
292
|
"@trait.QuestionBrowseList"
|
|
296
|
-
]
|
|
293
|
+
],
|
|
294
|
+
"gap": "lg",
|
|
295
|
+
"direction": "vertical",
|
|
296
|
+
"type": "stack"
|
|
297
297
|
}
|
|
298
298
|
]
|
|
299
299
|
]
|
|
@@ -312,8 +312,6 @@
|
|
|
312
312
|
"render-ui",
|
|
313
313
|
"main",
|
|
314
314
|
{
|
|
315
|
-
"className": "py-8",
|
|
316
|
-
"direction": "vertical",
|
|
317
315
|
"children": [
|
|
318
316
|
{
|
|
319
317
|
"type": "icon",
|
|
@@ -325,21 +323,23 @@
|
|
|
325
323
|
"type": "typography"
|
|
326
324
|
},
|
|
327
325
|
{
|
|
326
|
+
"color": "muted",
|
|
328
327
|
"type": "typography",
|
|
329
328
|
"variant": "caption",
|
|
330
|
-
"content": "You're all caught up."
|
|
331
|
-
"color": "muted"
|
|
329
|
+
"content": "You're all caught up."
|
|
332
330
|
},
|
|
333
331
|
{
|
|
334
332
|
"type": "button",
|
|
335
|
-
"variant": "ghost",
|
|
336
333
|
"label": "Back to questions",
|
|
337
|
-
"action": "INIT"
|
|
334
|
+
"action": "INIT",
|
|
335
|
+
"variant": "ghost"
|
|
338
336
|
}
|
|
339
337
|
],
|
|
338
|
+
"align": "center",
|
|
340
339
|
"type": "stack",
|
|
340
|
+
"direction": "vertical",
|
|
341
341
|
"gap": "md",
|
|
342
|
-
"
|
|
342
|
+
"className": "py-8"
|
|
343
343
|
}
|
|
344
344
|
]
|
|
345
345
|
]
|
|
@@ -360,11 +360,12 @@
|
|
|
360
360
|
"ref": "Filter.traits.FilterTargetFilter",
|
|
361
361
|
"name": "QuestionFilter",
|
|
362
362
|
"config": {
|
|
363
|
+
"event": "QUESTION_FILTER",
|
|
363
364
|
"filters": [
|
|
364
365
|
{
|
|
365
366
|
"label": "Status",
|
|
366
|
-
"field": "status",
|
|
367
367
|
"filterType": "select",
|
|
368
|
+
"field": "status",
|
|
368
369
|
"options": [
|
|
369
370
|
"open",
|
|
370
371
|
"answered",
|
|
@@ -372,13 +373,12 @@
|
|
|
372
373
|
]
|
|
373
374
|
},
|
|
374
375
|
{
|
|
376
|
+
"filterType": "select",
|
|
375
377
|
"label": "Tag",
|
|
376
378
|
"field": "tag",
|
|
377
|
-
"options": []
|
|
378
|
-
"filterType": "select"
|
|
379
|
+
"options": []
|
|
379
380
|
}
|
|
380
|
-
]
|
|
381
|
-
"event": "QUESTION_FILTER"
|
|
381
|
+
]
|
|
382
382
|
}
|
|
383
383
|
},
|
|
384
384
|
{
|
|
@@ -387,17 +387,17 @@
|
|
|
387
387
|
"config": {
|
|
388
388
|
"metrics": [
|
|
389
389
|
{
|
|
390
|
-
"icon": "help-circle",
|
|
391
390
|
"variant": "primary",
|
|
392
391
|
"format": "number",
|
|
392
|
+
"icon": "help-circle",
|
|
393
393
|
"label": "Total",
|
|
394
394
|
"aggregation": "count"
|
|
395
395
|
},
|
|
396
396
|
{
|
|
397
|
-
"
|
|
398
|
-
"label": "Open",
|
|
397
|
+
"variant": "warning",
|
|
399
398
|
"icon": "circle",
|
|
400
|
-
"
|
|
399
|
+
"label": "Open",
|
|
400
|
+
"format": "number",
|
|
401
401
|
"filter": [
|
|
402
402
|
"fn",
|
|
403
403
|
"row",
|
|
@@ -407,11 +407,9 @@
|
|
|
407
407
|
"open"
|
|
408
408
|
]
|
|
409
409
|
],
|
|
410
|
-
"
|
|
410
|
+
"aggregation": "count"
|
|
411
411
|
},
|
|
412
412
|
{
|
|
413
|
-
"aggregation": "count",
|
|
414
|
-
"label": "Answered",
|
|
415
413
|
"filter": [
|
|
416
414
|
"fn",
|
|
417
415
|
"row",
|
|
@@ -421,17 +419,19 @@
|
|
|
421
419
|
"answered"
|
|
422
420
|
]
|
|
423
421
|
],
|
|
424
|
-
"
|
|
422
|
+
"format": "number",
|
|
423
|
+
"label": "Answered",
|
|
425
424
|
"variant": "success",
|
|
426
|
-
"
|
|
425
|
+
"icon": "check-circle",
|
|
426
|
+
"aggregation": "count"
|
|
427
427
|
},
|
|
428
428
|
{
|
|
429
|
-
"
|
|
430
|
-
"field": "tag",
|
|
429
|
+
"format": "text",
|
|
431
430
|
"label": "Top Tag",
|
|
432
|
-
"variant": "info",
|
|
433
431
|
"icon": "hash",
|
|
434
|
-
"
|
|
432
|
+
"variant": "info",
|
|
433
|
+
"aggregation": "mode",
|
|
434
|
+
"field": "tag"
|
|
435
435
|
}
|
|
436
436
|
],
|
|
437
437
|
"title": "Questions"
|
|
@@ -451,8 +451,8 @@
|
|
|
451
451
|
"ref": "Tags.traits.TagBrowse",
|
|
452
452
|
"name": "QuestionTagTree",
|
|
453
453
|
"config": {
|
|
454
|
-
"
|
|
455
|
-
"
|
|
454
|
+
"title": "Categories",
|
|
455
|
+
"allowEdit": false
|
|
456
456
|
}
|
|
457
457
|
},
|
|
458
458
|
{
|
|
@@ -479,9 +479,9 @@
|
|
|
479
479
|
"variant": "badge"
|
|
480
480
|
},
|
|
481
481
|
{
|
|
482
|
+
"format": "number",
|
|
482
483
|
"name": "voteCount",
|
|
483
|
-
"variant": "caption"
|
|
484
|
-
"format": "number"
|
|
484
|
+
"variant": "caption"
|
|
485
485
|
},
|
|
486
486
|
{
|
|
487
487
|
"name": "replyCount",
|
|
@@ -491,14 +491,14 @@
|
|
|
491
491
|
],
|
|
492
492
|
"itemActions": [
|
|
493
493
|
{
|
|
494
|
+
"variant": "ghost",
|
|
494
495
|
"event": "VIEW",
|
|
495
|
-
"label": "View"
|
|
496
|
-
"variant": "ghost"
|
|
496
|
+
"label": "View"
|
|
497
497
|
},
|
|
498
498
|
{
|
|
499
499
|
"event": "EDIT",
|
|
500
|
-
"
|
|
501
|
-
"
|
|
500
|
+
"variant": "ghost",
|
|
501
|
+
"label": "Edit"
|
|
502
502
|
},
|
|
503
503
|
{
|
|
504
504
|
"label": "Delete",
|
|
@@ -507,8 +507,8 @@
|
|
|
507
507
|
}
|
|
508
508
|
],
|
|
509
509
|
"gap": "sm",
|
|
510
|
-
"
|
|
511
|
-
"
|
|
510
|
+
"cols": 1.0,
|
|
511
|
+
"variant": "card"
|
|
512
512
|
},
|
|
513
513
|
"listens": [
|
|
514
514
|
{
|
|
@@ -573,16 +573,16 @@
|
|
|
573
573
|
"name": "QuestionCreate",
|
|
574
574
|
"linkedEntity": "Question",
|
|
575
575
|
"config": {
|
|
576
|
+
"icon": "plus-circle",
|
|
577
|
+
"title": "Ask Question",
|
|
578
|
+
"mode": "create",
|
|
576
579
|
"fields": [
|
|
577
580
|
"title",
|
|
578
581
|
"body",
|
|
579
582
|
"authorName",
|
|
580
583
|
"tag",
|
|
581
584
|
"status"
|
|
582
|
-
]
|
|
583
|
-
"mode": "create",
|
|
584
|
-
"title": "Ask Question",
|
|
585
|
-
"icon": "plus-circle"
|
|
585
|
+
]
|
|
586
586
|
},
|
|
587
587
|
"events": {
|
|
588
588
|
"OPEN": "CREATE"
|
|
@@ -604,8 +604,8 @@
|
|
|
604
604
|
"linkedEntity": "Question",
|
|
605
605
|
"config": {
|
|
606
606
|
"mode": "edit",
|
|
607
|
-
"icon": "edit",
|
|
608
607
|
"title": "Edit Question",
|
|
608
|
+
"icon": "edit",
|
|
609
609
|
"fields": [
|
|
610
610
|
"title",
|
|
611
611
|
"body",
|
|
@@ -635,7 +635,6 @@
|
|
|
635
635
|
"config": {
|
|
636
636
|
"title": "View Question",
|
|
637
637
|
"icon": "eye",
|
|
638
|
-
"mode": "edit",
|
|
639
638
|
"fields": [
|
|
640
639
|
"title",
|
|
641
640
|
"body",
|
|
@@ -644,7 +643,8 @@
|
|
|
644
643
|
"status",
|
|
645
644
|
"voteCount",
|
|
646
645
|
"replyCount"
|
|
647
|
-
]
|
|
646
|
+
],
|
|
647
|
+
"mode": "edit"
|
|
648
648
|
},
|
|
649
649
|
"events": {
|
|
650
650
|
"OPEN": "VIEW"
|
|
@@ -665,14 +665,14 @@
|
|
|
665
665
|
"name": "QuestionDeleteConfirm",
|
|
666
666
|
"linkedEntity": "Question",
|
|
667
667
|
"config": {
|
|
668
|
-
"icon": "alert-triangle",
|
|
669
668
|
"alertMessage": "This action cannot be undone. The question and all its replies will be removed.",
|
|
669
|
+
"icon": "alert-triangle",
|
|
670
670
|
"title": "Delete Question",
|
|
671
671
|
"confirmLabel": "Delete"
|
|
672
672
|
},
|
|
673
673
|
"events": {
|
|
674
|
-
"
|
|
675
|
-
"
|
|
674
|
+
"CONFIRM": "CONFIRM_DELETE",
|
|
675
|
+
"REQUEST": "DELETE"
|
|
676
676
|
},
|
|
677
677
|
"listens": [
|
|
678
678
|
{
|
|
@@ -1000,30 +1000,29 @@
|
|
|
1000
1000
|
{
|
|
1001
1001
|
"ref": "AppShell.traits.AppLayout",
|
|
1002
1002
|
"name": "ModerationAppLayout",
|
|
1003
|
-
"linkedEntity": "ModerationDecision",
|
|
1004
1003
|
"config": {
|
|
1004
|
+
"searchEvent": "MODERATION_SEARCH",
|
|
1005
1005
|
"notifications": [],
|
|
1006
|
+
"notificationClickEvent": "MODERATION_NOTIFICATIONS_OPEN",
|
|
1007
|
+
"appName": "Forum",
|
|
1006
1008
|
"navItems": [
|
|
1007
1009
|
{
|
|
1008
1010
|
"icon": "help-circle",
|
|
1009
|
-
"
|
|
1010
|
-
"
|
|
1011
|
+
"label": "Questions",
|
|
1012
|
+
"href": "/questions"
|
|
1011
1013
|
},
|
|
1012
1014
|
{
|
|
1013
|
-
"icon": "tag",
|
|
1014
1015
|
"label": "Categories",
|
|
1016
|
+
"icon": "tag",
|
|
1015
1017
|
"href": "/questions"
|
|
1016
1018
|
},
|
|
1017
1019
|
{
|
|
1018
1020
|
"label": "Moderation",
|
|
1019
|
-
"
|
|
1020
|
-
"
|
|
1021
|
+
"icon": "shield-alert",
|
|
1022
|
+
"href": "/moderation"
|
|
1021
1023
|
}
|
|
1022
1024
|
],
|
|
1023
|
-
"
|
|
1024
|
-
"contentTrait": "@trait.ModerationDisplay",
|
|
1025
|
-
"notificationClickEvent": "MODERATION_NOTIFICATIONS_OPEN",
|
|
1026
|
-
"appName": "Forum"
|
|
1025
|
+
"contentTrait": "@trait.ModerationDisplay"
|
|
1027
1026
|
},
|
|
1028
1027
|
"events": {
|
|
1029
1028
|
"SEARCH": "MODERATION_SEARCH",
|
|
@@ -1094,27 +1093,25 @@
|
|
|
1094
1093
|
"render-ui",
|
|
1095
1094
|
"main",
|
|
1096
1095
|
{
|
|
1097
|
-
"direction": "vertical",
|
|
1098
|
-
"type": "stack",
|
|
1099
1096
|
"gap": "lg",
|
|
1100
|
-
"
|
|
1097
|
+
"type": "stack",
|
|
1101
1098
|
"children": [
|
|
1102
1099
|
{
|
|
1103
|
-
"
|
|
1100
|
+
"gap": "sm",
|
|
1104
1101
|
"children": [
|
|
1105
1102
|
{
|
|
1106
|
-
"
|
|
1107
|
-
"
|
|
1103
|
+
"name": "shield-alert",
|
|
1104
|
+
"type": "icon"
|
|
1108
1105
|
},
|
|
1109
1106
|
{
|
|
1110
|
-
"type": "typography",
|
|
1111
1107
|
"content": "Moderation Queue",
|
|
1112
|
-
"variant": "h2"
|
|
1108
|
+
"variant": "h2",
|
|
1109
|
+
"type": "typography"
|
|
1113
1110
|
}
|
|
1114
1111
|
],
|
|
1115
1112
|
"align": "center",
|
|
1116
1113
|
"type": "stack",
|
|
1117
|
-
"
|
|
1114
|
+
"direction": "horizontal"
|
|
1118
1115
|
},
|
|
1119
1116
|
{
|
|
1120
1117
|
"type": "divider"
|
|
@@ -1124,21 +1121,23 @@
|
|
|
1124
1121
|
"type": "divider"
|
|
1125
1122
|
},
|
|
1126
1123
|
{
|
|
1124
|
+
"type": "typography",
|
|
1127
1125
|
"content": "Recent Flags",
|
|
1128
|
-
"variant": "h3"
|
|
1129
|
-
"type": "typography"
|
|
1126
|
+
"variant": "h3"
|
|
1130
1127
|
},
|
|
1131
1128
|
"@trait.ModerationFlagBrowse",
|
|
1132
1129
|
{
|
|
1133
1130
|
"type": "divider"
|
|
1134
1131
|
},
|
|
1135
1132
|
{
|
|
1136
|
-
"type": "typography",
|
|
1137
1133
|
"variant": "h3",
|
|
1138
|
-
"content": "Recorded Decisions"
|
|
1134
|
+
"content": "Recorded Decisions",
|
|
1135
|
+
"type": "typography"
|
|
1139
1136
|
},
|
|
1140
1137
|
"@trait.ModerationDecisionBrowse"
|
|
1141
|
-
]
|
|
1138
|
+
],
|
|
1139
|
+
"className": "max-w-6xl mx-auto w-full p-4",
|
|
1140
|
+
"direction": "vertical"
|
|
1142
1141
|
}
|
|
1143
1142
|
]
|
|
1144
1143
|
]
|
|
@@ -1157,11 +1156,10 @@
|
|
|
1157
1156
|
"render-ui",
|
|
1158
1157
|
"main",
|
|
1159
1158
|
{
|
|
1160
|
-
"align": "center",
|
|
1161
|
-
"direction": "vertical",
|
|
1162
|
-
"className": "py-8",
|
|
1163
1159
|
"type": "stack",
|
|
1164
1160
|
"gap": "md",
|
|
1161
|
+
"className": "py-8",
|
|
1162
|
+
"align": "center",
|
|
1165
1163
|
"children": [
|
|
1166
1164
|
{
|
|
1167
1165
|
"type": "icon",
|
|
@@ -1169,22 +1167,23 @@
|
|
|
1169
1167
|
},
|
|
1170
1168
|
{
|
|
1171
1169
|
"type": "typography",
|
|
1172
|
-
"
|
|
1173
|
-
"
|
|
1170
|
+
"content": "No notifications",
|
|
1171
|
+
"variant": "h3"
|
|
1174
1172
|
},
|
|
1175
1173
|
{
|
|
1176
1174
|
"type": "typography",
|
|
1175
|
+
"variant": "caption",
|
|
1177
1176
|
"content": "You're all caught up.",
|
|
1178
|
-
"color": "muted"
|
|
1179
|
-
"variant": "caption"
|
|
1177
|
+
"color": "muted"
|
|
1180
1178
|
},
|
|
1181
1179
|
{
|
|
1180
|
+
"label": "Back to moderation",
|
|
1182
1181
|
"type": "button",
|
|
1183
1182
|
"variant": "ghost",
|
|
1184
|
-
"label": "Back to moderation",
|
|
1185
1183
|
"action": "INIT"
|
|
1186
1184
|
}
|
|
1187
|
-
]
|
|
1185
|
+
],
|
|
1186
|
+
"direction": "vertical"
|
|
1188
1187
|
}
|
|
1189
1188
|
]
|
|
1190
1189
|
]
|
|
@@ -1197,8 +1196,8 @@
|
|
|
1197
1196
|
"ref": "ModQueue.traits.ModQueueItemReview",
|
|
1198
1197
|
"name": "ModerationQueue",
|
|
1199
1198
|
"config": {
|
|
1200
|
-
"
|
|
1201
|
-
"
|
|
1199
|
+
"title": "Pending Reports",
|
|
1200
|
+
"autoEscalateThreshold": 5.0
|
|
1202
1201
|
}
|
|
1203
1202
|
},
|
|
1204
1203
|
{
|
|
@@ -1223,41 +1222,41 @@
|
|
|
1223
1222
|
"config": {
|
|
1224
1223
|
"fields": [
|
|
1225
1224
|
{
|
|
1226
|
-
"name": "targetType",
|
|
1227
1225
|
"variant": "badge",
|
|
1226
|
+
"name": "targetType",
|
|
1228
1227
|
"label": "Target"
|
|
1229
1228
|
},
|
|
1230
1229
|
{
|
|
1231
1230
|
"variant": "badge",
|
|
1232
|
-
"
|
|
1233
|
-
"
|
|
1231
|
+
"name": "verdict",
|
|
1232
|
+
"label": "Verdict"
|
|
1234
1233
|
},
|
|
1235
1234
|
{
|
|
1235
|
+
"variant": "caption",
|
|
1236
1236
|
"name": "reviewerId",
|
|
1237
|
-
"label": "Reviewer"
|
|
1238
|
-
"variant": "caption"
|
|
1237
|
+
"label": "Reviewer"
|
|
1239
1238
|
},
|
|
1240
1239
|
{
|
|
1240
|
+
"name": "notes",
|
|
1241
1241
|
"label": "Notes",
|
|
1242
|
-
"variant": "body"
|
|
1243
|
-
"name": "notes"
|
|
1242
|
+
"variant": "body"
|
|
1244
1243
|
},
|
|
1245
1244
|
{
|
|
1246
|
-
"label": "When",
|
|
1247
1245
|
"format": "date",
|
|
1248
1246
|
"variant": "caption",
|
|
1249
|
-
"name": "createdAt"
|
|
1247
|
+
"name": "createdAt",
|
|
1248
|
+
"label": "When"
|
|
1250
1249
|
}
|
|
1251
1250
|
],
|
|
1252
|
-
"cols": 1.0,
|
|
1253
1251
|
"gap": "sm",
|
|
1254
1252
|
"itemActions": [
|
|
1255
1253
|
{
|
|
1254
|
+
"variant": "danger",
|
|
1256
1255
|
"label": "Revert",
|
|
1257
|
-
"event": "DELETE"
|
|
1258
|
-
"variant": "danger"
|
|
1256
|
+
"event": "DELETE"
|
|
1259
1257
|
}
|
|
1260
|
-
]
|
|
1258
|
+
],
|
|
1259
|
+
"cols": 1.0
|
|
1261
1260
|
},
|
|
1262
1261
|
"listens": [
|
|
1263
1262
|
{
|
|
@@ -1284,9 +1283,9 @@
|
|
|
1284
1283
|
"linkedEntity": "ModerationDecision",
|
|
1285
1284
|
"config": {
|
|
1286
1285
|
"title": "Revert Decision",
|
|
1287
|
-
"
|
|
1286
|
+
"alertMessage": "This will undo the recorded moderation verdict.",
|
|
1288
1287
|
"icon": "rotate-ccw",
|
|
1289
|
-
"
|
|
1288
|
+
"confirmLabel": "Revert"
|
|
1290
1289
|
},
|
|
1291
1290
|
"events": {
|
|
1292
1291
|
"REQUEST": "REVERT",
|