@almadar/std 14.15.1 → 14.17.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 +72 -76
- 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 +193 -65
- package/behaviors/registry/app/atoms/std-kitchen-display.orb +58 -58
- 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 +49 -49
- 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 +53 -53
- 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 +48 -48
- 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 +217 -217
- package/behaviors/registry/app/organisms/std-field-service.orb +190 -190
- package/behaviors/registry/app/organisms/std-finance-tracker.orb +205 -205
- package/behaviors/registry/app/organisms/std-forum.orb +141 -141
- 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 +157 -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 +134 -134
- package/behaviors/registry/app/organisms/std-social-feed.orb +156 -156
- package/behaviors/registry/app/organisms/std-subscription-billing.orb +183 -183
- package/behaviors/registry/app/organisms/std-survey.orb +122 -122
- package/behaviors/registry/app/organisms/std-trading-dashboard.orb +274 -274
- package/behaviors/registry/app/organisms/std-wiki.orb +144 -144
- 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 +72 -76
- 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 +193 -65
- package/dist/behaviors/registry/app/atoms/std-kitchen-display.orb +58 -58
- 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 +49 -49
- 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 +53 -53
- 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 +48 -48
- 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 +217 -217
- package/dist/behaviors/registry/app/organisms/std-field-service.orb +190 -190
- package/dist/behaviors/registry/app/organisms/std-finance-tracker.orb +205 -205
- package/dist/behaviors/registry/app/organisms/std-forum.orb +141 -141
- 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 +157 -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 +134 -134
- package/dist/behaviors/registry/app/organisms/std-social-feed.orb +156 -156
- package/dist/behaviors/registry/app/organisms/std-subscription-billing.orb +183 -183
- package/dist/behaviors/registry/app/organisms/std-survey.orb +122 -122
- package/dist/behaviors/registry/app/organisms/std-trading-dashboard.orb +274 -274
- package/dist/behaviors/registry/app/organisms/std-wiki.orb +144 -144
- package/dist/behaviors-registry.json +1 -1
- package/package.json +1 -1
|
@@ -119,32 +119,32 @@
|
|
|
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
122
|
"notificationClickEvent": "QUESTION_NOTIFICATIONS_OPEN",
|
|
123
|
+
"searchEvent": "QUESTION_SEARCH",
|
|
124
|
+
"appName": "Forum",
|
|
127
125
|
"navItems": [
|
|
128
126
|
{
|
|
129
|
-
"icon": "help-circle",
|
|
130
127
|
"label": "Questions",
|
|
131
|
-
"href": "/questions"
|
|
128
|
+
"href": "/questions",
|
|
129
|
+
"icon": "help-circle"
|
|
132
130
|
},
|
|
133
131
|
{
|
|
134
|
-
"icon": "tag",
|
|
135
132
|
"href": "/questions",
|
|
133
|
+
"icon": "tag",
|
|
136
134
|
"label": "Categories"
|
|
137
135
|
},
|
|
138
136
|
{
|
|
139
137
|
"label": "Moderation",
|
|
140
|
-
"
|
|
141
|
-
"
|
|
138
|
+
"href": "/moderation",
|
|
139
|
+
"icon": "shield-alert"
|
|
142
140
|
}
|
|
143
|
-
]
|
|
141
|
+
],
|
|
142
|
+
"notifications": [],
|
|
143
|
+
"contentTrait": "@trait.QuestionCatalog"
|
|
144
144
|
},
|
|
145
145
|
"events": {
|
|
146
|
-
"
|
|
147
|
-
"
|
|
146
|
+
"NOTIFY_CLICK": "QUESTION_NOTIFICATIONS_OPEN",
|
|
147
|
+
"SEARCH": "QUESTION_SEARCH"
|
|
148
148
|
}
|
|
149
149
|
},
|
|
150
150
|
{
|
|
@@ -227,18 +227,15 @@
|
|
|
227
227
|
"render-ui",
|
|
228
228
|
"main",
|
|
229
229
|
{
|
|
230
|
-
"gap": "lg",
|
|
231
|
-
"direction": "vertical",
|
|
232
230
|
"type": "stack",
|
|
231
|
+
"direction": "vertical",
|
|
232
|
+
"gap": "lg",
|
|
233
233
|
"children": [
|
|
234
234
|
{
|
|
235
235
|
"align": "center",
|
|
236
|
+
"justify": "between",
|
|
236
237
|
"children": [
|
|
237
238
|
{
|
|
238
|
-
"type": "stack",
|
|
239
|
-
"direction": "horizontal",
|
|
240
|
-
"align": "center",
|
|
241
|
-
"gap": "sm",
|
|
242
239
|
"children": [
|
|
243
240
|
{
|
|
244
241
|
"type": "icon",
|
|
@@ -246,43 +243,46 @@
|
|
|
246
243
|
},
|
|
247
244
|
{
|
|
248
245
|
"variant": "h2",
|
|
249
|
-
"
|
|
250
|
-
"
|
|
246
|
+
"content": "Questions",
|
|
247
|
+
"type": "typography"
|
|
251
248
|
}
|
|
252
|
-
]
|
|
249
|
+
],
|
|
250
|
+
"type": "stack",
|
|
251
|
+
"gap": "sm",
|
|
252
|
+
"direction": "horizontal",
|
|
253
|
+
"align": "center"
|
|
253
254
|
},
|
|
254
255
|
{
|
|
256
|
+
"gap": "sm",
|
|
257
|
+
"direction": "horizontal",
|
|
258
|
+
"type": "stack",
|
|
255
259
|
"children": [
|
|
256
260
|
{
|
|
257
|
-
"
|
|
261
|
+
"variant": "primary",
|
|
258
262
|
"label": "Ask Question",
|
|
259
|
-
"
|
|
263
|
+
"icon": "plus",
|
|
260
264
|
"action": "CREATE",
|
|
261
|
-
"
|
|
265
|
+
"type": "button"
|
|
262
266
|
}
|
|
263
|
-
]
|
|
264
|
-
"type": "stack",
|
|
265
|
-
"direction": "horizontal",
|
|
266
|
-
"gap": "sm"
|
|
267
|
+
]
|
|
267
268
|
}
|
|
268
269
|
],
|
|
269
270
|
"direction": "horizontal",
|
|
270
271
|
"type": "stack",
|
|
271
|
-
"gap": "md"
|
|
272
|
-
"justify": "between"
|
|
272
|
+
"gap": "md"
|
|
273
273
|
},
|
|
274
274
|
{
|
|
275
275
|
"type": "divider"
|
|
276
276
|
},
|
|
277
277
|
{
|
|
278
|
+
"align": "center",
|
|
279
|
+
"type": "stack",
|
|
280
|
+
"direction": "horizontal",
|
|
278
281
|
"children": [
|
|
279
282
|
"@trait.QuestionSearch",
|
|
280
283
|
"@trait.QuestionFilter"
|
|
281
284
|
],
|
|
282
|
-
"gap": "md"
|
|
283
|
-
"type": "stack",
|
|
284
|
-
"align": "center",
|
|
285
|
-
"direction": "horizontal"
|
|
285
|
+
"gap": "md"
|
|
286
286
|
},
|
|
287
287
|
"@trait.QuestionStats",
|
|
288
288
|
{
|
|
@@ -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",
|
|
@@ -321,25 +319,27 @@
|
|
|
321
319
|
},
|
|
322
320
|
{
|
|
323
321
|
"variant": "h3",
|
|
324
|
-
"
|
|
325
|
-
"
|
|
322
|
+
"type": "typography",
|
|
323
|
+
"content": "No notifications"
|
|
326
324
|
},
|
|
327
325
|
{
|
|
328
|
-
"type": "typography",
|
|
329
|
-
"variant": "caption",
|
|
330
326
|
"content": "You're all caught up.",
|
|
327
|
+
"variant": "caption",
|
|
328
|
+
"type": "typography",
|
|
331
329
|
"color": "muted"
|
|
332
330
|
},
|
|
333
331
|
{
|
|
334
|
-
"type": "button",
|
|
335
|
-
"variant": "ghost",
|
|
336
332
|
"label": "Back to questions",
|
|
337
|
-
"action": "INIT"
|
|
333
|
+
"action": "INIT",
|
|
334
|
+
"variant": "ghost",
|
|
335
|
+
"type": "button"
|
|
338
336
|
}
|
|
339
337
|
],
|
|
338
|
+
"align": "center",
|
|
340
339
|
"type": "stack",
|
|
341
|
-
"
|
|
342
|
-
"
|
|
340
|
+
"className": "py-8",
|
|
341
|
+
"direction": "vertical",
|
|
342
|
+
"gap": "md"
|
|
343
343
|
}
|
|
344
344
|
]
|
|
345
345
|
]
|
|
@@ -362,8 +362,8 @@
|
|
|
362
362
|
"config": {
|
|
363
363
|
"filters": [
|
|
364
364
|
{
|
|
365
|
-
"label": "Status",
|
|
366
365
|
"field": "status",
|
|
366
|
+
"label": "Status",
|
|
367
367
|
"filterType": "select",
|
|
368
368
|
"options": [
|
|
369
369
|
"open",
|
|
@@ -372,10 +372,10 @@
|
|
|
372
372
|
]
|
|
373
373
|
},
|
|
374
374
|
{
|
|
375
|
+
"filterType": "select",
|
|
375
376
|
"label": "Tag",
|
|
376
|
-
"field": "tag",
|
|
377
377
|
"options": [],
|
|
378
|
-
"
|
|
378
|
+
"field": "tag"
|
|
379
379
|
}
|
|
380
380
|
],
|
|
381
381
|
"event": "QUESTION_FILTER"
|
|
@@ -385,19 +385,16 @@
|
|
|
385
385
|
"ref": "Stats.traits.StatsItemStats",
|
|
386
386
|
"name": "QuestionStats",
|
|
387
387
|
"config": {
|
|
388
|
+
"title": "Questions",
|
|
388
389
|
"metrics": [
|
|
389
390
|
{
|
|
391
|
+
"aggregation": "count",
|
|
392
|
+
"label": "Total",
|
|
390
393
|
"icon": "help-circle",
|
|
391
394
|
"variant": "primary",
|
|
392
|
-
"format": "number"
|
|
393
|
-
"label": "Total",
|
|
394
|
-
"aggregation": "count"
|
|
395
|
+
"format": "number"
|
|
395
396
|
},
|
|
396
397
|
{
|
|
397
|
-
"format": "number",
|
|
398
|
-
"label": "Open",
|
|
399
|
-
"icon": "circle",
|
|
400
|
-
"aggregation": "count",
|
|
401
398
|
"filter": [
|
|
402
399
|
"fn",
|
|
403
400
|
"row",
|
|
@@ -407,11 +404,13 @@
|
|
|
407
404
|
"open"
|
|
408
405
|
]
|
|
409
406
|
],
|
|
410
|
-
"
|
|
407
|
+
"label": "Open",
|
|
408
|
+
"icon": "circle",
|
|
409
|
+
"aggregation": "count",
|
|
410
|
+
"variant": "warning",
|
|
411
|
+
"format": "number"
|
|
411
412
|
},
|
|
412
413
|
{
|
|
413
|
-
"aggregation": "count",
|
|
414
|
-
"label": "Answered",
|
|
415
414
|
"filter": [
|
|
416
415
|
"fn",
|
|
417
416
|
"row",
|
|
@@ -421,20 +420,21 @@
|
|
|
421
420
|
"answered"
|
|
422
421
|
]
|
|
423
422
|
],
|
|
424
|
-
"
|
|
423
|
+
"label": "Answered",
|
|
424
|
+
"aggregation": "count",
|
|
425
425
|
"variant": "success",
|
|
426
|
+
"icon": "check-circle",
|
|
426
427
|
"format": "number"
|
|
427
428
|
},
|
|
428
429
|
{
|
|
429
|
-
"
|
|
430
|
+
"format": "text",
|
|
430
431
|
"field": "tag",
|
|
432
|
+
"aggregation": "mode",
|
|
431
433
|
"label": "Top Tag",
|
|
432
|
-
"variant": "info",
|
|
433
434
|
"icon": "hash",
|
|
434
|
-
"
|
|
435
|
+
"variant": "info"
|
|
435
436
|
}
|
|
436
|
-
]
|
|
437
|
-
"title": "Questions"
|
|
437
|
+
]
|
|
438
438
|
},
|
|
439
439
|
"listens": [
|
|
440
440
|
{
|
|
@@ -462,53 +462,53 @@
|
|
|
462
462
|
"config": {
|
|
463
463
|
"fields": [
|
|
464
464
|
{
|
|
465
|
-
"variant": "h3",
|
|
466
465
|
"icon": "help-circle",
|
|
466
|
+
"variant": "h3",
|
|
467
467
|
"name": "title"
|
|
468
468
|
},
|
|
469
469
|
{
|
|
470
|
-
"
|
|
471
|
-
"
|
|
470
|
+
"name": "authorName",
|
|
471
|
+
"variant": "body"
|
|
472
472
|
},
|
|
473
473
|
{
|
|
474
474
|
"name": "tag",
|
|
475
475
|
"variant": "badge"
|
|
476
476
|
},
|
|
477
477
|
{
|
|
478
|
-
"
|
|
479
|
-
"
|
|
478
|
+
"variant": "badge",
|
|
479
|
+
"name": "status"
|
|
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
|
+
"variant": "caption",
|
|
488
488
|
"format": "number",
|
|
489
|
-
"
|
|
489
|
+
"name": "replyCount"
|
|
490
490
|
}
|
|
491
491
|
],
|
|
492
492
|
"itemActions": [
|
|
493
493
|
{
|
|
494
|
-
"event": "VIEW",
|
|
495
494
|
"label": "View",
|
|
495
|
+
"event": "VIEW",
|
|
496
496
|
"variant": "ghost"
|
|
497
497
|
},
|
|
498
498
|
{
|
|
499
|
-
"event": "EDIT",
|
|
500
499
|
"label": "Edit",
|
|
500
|
+
"event": "EDIT",
|
|
501
501
|
"variant": "ghost"
|
|
502
502
|
},
|
|
503
503
|
{
|
|
504
|
-
"label": "Delete",
|
|
505
504
|
"event": "DELETE",
|
|
506
|
-
"variant": "danger"
|
|
505
|
+
"variant": "danger",
|
|
506
|
+
"label": "Delete"
|
|
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,6 +573,7 @@
|
|
|
573
573
|
"name": "QuestionCreate",
|
|
574
574
|
"linkedEntity": "Question",
|
|
575
575
|
"config": {
|
|
576
|
+
"mode": "create",
|
|
576
577
|
"fields": [
|
|
577
578
|
"title",
|
|
578
579
|
"body",
|
|
@@ -580,9 +581,8 @@
|
|
|
580
581
|
"tag",
|
|
581
582
|
"status"
|
|
582
583
|
],
|
|
583
|
-
"
|
|
584
|
-
"title": "Ask Question"
|
|
585
|
-
"icon": "plus-circle"
|
|
584
|
+
"icon": "plus-circle",
|
|
585
|
+
"title": "Ask Question"
|
|
586
586
|
},
|
|
587
587
|
"events": {
|
|
588
588
|
"OPEN": "CREATE"
|
|
@@ -604,15 +604,15 @@
|
|
|
604
604
|
"linkedEntity": "Question",
|
|
605
605
|
"config": {
|
|
606
606
|
"mode": "edit",
|
|
607
|
-
"icon": "edit",
|
|
608
|
-
"title": "Edit Question",
|
|
609
607
|
"fields": [
|
|
610
608
|
"title",
|
|
611
609
|
"body",
|
|
612
610
|
"authorName",
|
|
613
611
|
"tag",
|
|
614
612
|
"status"
|
|
615
|
-
]
|
|
613
|
+
],
|
|
614
|
+
"icon": "edit",
|
|
615
|
+
"title": "Edit Question"
|
|
616
616
|
},
|
|
617
617
|
"events": {
|
|
618
618
|
"OPEN": "EDIT"
|
|
@@ -634,8 +634,6 @@
|
|
|
634
634
|
"linkedEntity": "Question",
|
|
635
635
|
"config": {
|
|
636
636
|
"title": "View Question",
|
|
637
|
-
"icon": "eye",
|
|
638
|
-
"mode": "edit",
|
|
639
637
|
"fields": [
|
|
640
638
|
"title",
|
|
641
639
|
"body",
|
|
@@ -644,7 +642,9 @@
|
|
|
644
642
|
"status",
|
|
645
643
|
"voteCount",
|
|
646
644
|
"replyCount"
|
|
647
|
-
]
|
|
645
|
+
],
|
|
646
|
+
"icon": "eye",
|
|
647
|
+
"mode": "edit"
|
|
648
648
|
},
|
|
649
649
|
"events": {
|
|
650
650
|
"OPEN": "VIEW"
|
|
@@ -665,10 +665,10 @@
|
|
|
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.",
|
|
670
|
-
"
|
|
671
|
-
"
|
|
669
|
+
"confirmLabel": "Delete",
|
|
670
|
+
"icon": "alert-triangle",
|
|
671
|
+
"title": "Delete Question"
|
|
672
672
|
},
|
|
673
673
|
"events": {
|
|
674
674
|
"REQUEST": "DELETE",
|
|
@@ -1003,31 +1003,31 @@
|
|
|
1003
1003
|
"linkedEntity": "ModerationDecision",
|
|
1004
1004
|
"config": {
|
|
1005
1005
|
"notifications": [],
|
|
1006
|
+
"notificationClickEvent": "MODERATION_NOTIFICATIONS_OPEN",
|
|
1007
|
+
"contentTrait": "@trait.ModerationDisplay",
|
|
1006
1008
|
"navItems": [
|
|
1007
1009
|
{
|
|
1008
|
-
"icon": "help-circle",
|
|
1009
1010
|
"href": "/questions",
|
|
1011
|
+
"icon": "help-circle",
|
|
1010
1012
|
"label": "Questions"
|
|
1011
1013
|
},
|
|
1012
1014
|
{
|
|
1015
|
+
"href": "/questions",
|
|
1013
1016
|
"icon": "tag",
|
|
1014
|
-
"label": "Categories"
|
|
1015
|
-
"href": "/questions"
|
|
1017
|
+
"label": "Categories"
|
|
1016
1018
|
},
|
|
1017
1019
|
{
|
|
1018
|
-
"label": "Moderation",
|
|
1019
1020
|
"href": "/moderation",
|
|
1020
|
-
"icon": "shield-alert"
|
|
1021
|
+
"icon": "shield-alert",
|
|
1022
|
+
"label": "Moderation"
|
|
1021
1023
|
}
|
|
1022
1024
|
],
|
|
1023
1025
|
"searchEvent": "MODERATION_SEARCH",
|
|
1024
|
-
"contentTrait": "@trait.ModerationDisplay",
|
|
1025
|
-
"notificationClickEvent": "MODERATION_NOTIFICATIONS_OPEN",
|
|
1026
1026
|
"appName": "Forum"
|
|
1027
1027
|
},
|
|
1028
1028
|
"events": {
|
|
1029
|
-
"
|
|
1030
|
-
"
|
|
1029
|
+
"NOTIFY_CLICK": "MODERATION_NOTIFICATIONS_OPEN",
|
|
1030
|
+
"SEARCH": "MODERATION_SEARCH"
|
|
1031
1031
|
}
|
|
1032
1032
|
},
|
|
1033
1033
|
{
|
|
@@ -1094,27 +1094,23 @@
|
|
|
1094
1094
|
"render-ui",
|
|
1095
1095
|
"main",
|
|
1096
1096
|
{
|
|
1097
|
-
"direction": "vertical",
|
|
1098
|
-
"type": "stack",
|
|
1099
|
-
"gap": "lg",
|
|
1100
|
-
"className": "max-w-6xl mx-auto w-full p-4",
|
|
1101
1097
|
"children": [
|
|
1102
1098
|
{
|
|
1103
|
-
"
|
|
1099
|
+
"type": "stack",
|
|
1100
|
+
"gap": "sm",
|
|
1101
|
+
"align": "center",
|
|
1104
1102
|
"children": [
|
|
1105
1103
|
{
|
|
1106
|
-
"
|
|
1107
|
-
"
|
|
1104
|
+
"name": "shield-alert",
|
|
1105
|
+
"type": "icon"
|
|
1108
1106
|
},
|
|
1109
1107
|
{
|
|
1110
1108
|
"type": "typography",
|
|
1111
|
-
"
|
|
1112
|
-
"
|
|
1109
|
+
"variant": "h2",
|
|
1110
|
+
"content": "Moderation Queue"
|
|
1113
1111
|
}
|
|
1114
1112
|
],
|
|
1115
|
-
"
|
|
1116
|
-
"type": "stack",
|
|
1117
|
-
"gap": "sm"
|
|
1113
|
+
"direction": "horizontal"
|
|
1118
1114
|
},
|
|
1119
1115
|
{
|
|
1120
1116
|
"type": "divider"
|
|
@@ -1133,12 +1129,16 @@
|
|
|
1133
1129
|
"type": "divider"
|
|
1134
1130
|
},
|
|
1135
1131
|
{
|
|
1136
|
-
"type": "typography",
|
|
1137
1132
|
"variant": "h3",
|
|
1133
|
+
"type": "typography",
|
|
1138
1134
|
"content": "Recorded Decisions"
|
|
1139
1135
|
},
|
|
1140
1136
|
"@trait.ModerationDecisionBrowse"
|
|
1141
|
-
]
|
|
1137
|
+
],
|
|
1138
|
+
"direction": "vertical",
|
|
1139
|
+
"className": "max-w-6xl mx-auto w-full p-4",
|
|
1140
|
+
"type": "stack",
|
|
1141
|
+
"gap": "lg"
|
|
1142
1142
|
}
|
|
1143
1143
|
]
|
|
1144
1144
|
]
|
|
@@ -1157,11 +1157,11 @@
|
|
|
1157
1157
|
"render-ui",
|
|
1158
1158
|
"main",
|
|
1159
1159
|
{
|
|
1160
|
-
"align": "center",
|
|
1161
|
-
"direction": "vertical",
|
|
1162
|
-
"className": "py-8",
|
|
1163
1160
|
"type": "stack",
|
|
1161
|
+
"className": "py-8",
|
|
1162
|
+
"direction": "vertical",
|
|
1164
1163
|
"gap": "md",
|
|
1164
|
+
"align": "center",
|
|
1165
1165
|
"children": [
|
|
1166
1166
|
{
|
|
1167
1167
|
"type": "icon",
|
|
@@ -1173,16 +1173,16 @@
|
|
|
1173
1173
|
"content": "No notifications"
|
|
1174
1174
|
},
|
|
1175
1175
|
{
|
|
1176
|
+
"variant": "caption",
|
|
1176
1177
|
"type": "typography",
|
|
1177
|
-
"content": "You're all caught up.",
|
|
1178
1178
|
"color": "muted",
|
|
1179
|
-
"
|
|
1179
|
+
"content": "You're all caught up."
|
|
1180
1180
|
},
|
|
1181
1181
|
{
|
|
1182
|
-
"type": "button",
|
|
1183
|
-
"variant": "ghost",
|
|
1184
1182
|
"label": "Back to moderation",
|
|
1185
|
-
"action": "INIT"
|
|
1183
|
+
"action": "INIT",
|
|
1184
|
+
"variant": "ghost",
|
|
1185
|
+
"type": "button"
|
|
1186
1186
|
}
|
|
1187
1187
|
]
|
|
1188
1188
|
}
|
|
@@ -1197,14 +1197,15 @@
|
|
|
1197
1197
|
"ref": "ModQueue.traits.ModQueueItemReview",
|
|
1198
1198
|
"name": "ModerationQueue",
|
|
1199
1199
|
"config": {
|
|
1200
|
-
"
|
|
1201
|
-
"
|
|
1200
|
+
"title": "Pending Reports",
|
|
1201
|
+
"autoEscalateThreshold": 5.0
|
|
1202
1202
|
}
|
|
1203
1203
|
},
|
|
1204
1204
|
{
|
|
1205
1205
|
"ref": "Flag.traits.FlagReport",
|
|
1206
1206
|
"name": "ModerationFlagBrowse",
|
|
1207
1207
|
"config": {
|
|
1208
|
+
"title": "Latest reports",
|
|
1208
1209
|
"reasons": [
|
|
1209
1210
|
"spam",
|
|
1210
1211
|
"abuse",
|
|
@@ -1212,8 +1213,7 @@
|
|
|
1212
1213
|
"misinformation",
|
|
1213
1214
|
"nsfw",
|
|
1214
1215
|
"other"
|
|
1215
|
-
]
|
|
1216
|
-
"title": "Latest reports"
|
|
1216
|
+
]
|
|
1217
1217
|
}
|
|
1218
1218
|
},
|
|
1219
1219
|
{
|
|
@@ -1224,32 +1224,31 @@
|
|
|
1224
1224
|
"fields": [
|
|
1225
1225
|
{
|
|
1226
1226
|
"name": "targetType",
|
|
1227
|
-
"
|
|
1228
|
-
"
|
|
1227
|
+
"label": "Target",
|
|
1228
|
+
"variant": "badge"
|
|
1229
1229
|
},
|
|
1230
1230
|
{
|
|
1231
1231
|
"variant": "badge",
|
|
1232
|
-
"
|
|
1233
|
-
"
|
|
1232
|
+
"name": "verdict",
|
|
1233
|
+
"label": "Verdict"
|
|
1234
1234
|
},
|
|
1235
1235
|
{
|
|
1236
|
+
"variant": "caption",
|
|
1236
1237
|
"name": "reviewerId",
|
|
1237
|
-
"label": "Reviewer"
|
|
1238
|
-
"variant": "caption"
|
|
1238
|
+
"label": "Reviewer"
|
|
1239
1239
|
},
|
|
1240
1240
|
{
|
|
1241
|
+
"name": "notes",
|
|
1241
1242
|
"label": "Notes",
|
|
1242
|
-
"variant": "body"
|
|
1243
|
-
"name": "notes"
|
|
1243
|
+
"variant": "body"
|
|
1244
1244
|
},
|
|
1245
1245
|
{
|
|
1246
|
-
"label": "When",
|
|
1247
|
-
"format": "date",
|
|
1248
1246
|
"variant": "caption",
|
|
1249
|
-
"
|
|
1247
|
+
"label": "When",
|
|
1248
|
+
"name": "createdAt",
|
|
1249
|
+
"format": "date"
|
|
1250
1250
|
}
|
|
1251
1251
|
],
|
|
1252
|
-
"cols": 1.0,
|
|
1253
1252
|
"gap": "sm",
|
|
1254
1253
|
"itemActions": [
|
|
1255
1254
|
{
|
|
@@ -1257,7 +1256,8 @@
|
|
|
1257
1256
|
"event": "DELETE",
|
|
1258
1257
|
"variant": "danger"
|
|
1259
1258
|
}
|
|
1260
|
-
]
|
|
1259
|
+
],
|
|
1260
|
+
"cols": 1.0
|
|
1261
1261
|
},
|
|
1262
1262
|
"listens": [
|
|
1263
1263
|
{
|
|
@@ -1283,10 +1283,10 @@
|
|
|
1283
1283
|
"name": "ModerationRevertConfirm",
|
|
1284
1284
|
"linkedEntity": "ModerationDecision",
|
|
1285
1285
|
"config": {
|
|
1286
|
-
"title": "Revert Decision",
|
|
1287
1286
|
"confirmLabel": "Revert",
|
|
1287
|
+
"alertMessage": "This will undo the recorded moderation verdict.",
|
|
1288
1288
|
"icon": "rotate-ccw",
|
|
1289
|
-
"
|
|
1289
|
+
"title": "Revert Decision"
|
|
1290
1290
|
},
|
|
1291
1291
|
"events": {
|
|
1292
1292
|
"REQUEST": "REVERT",
|