-
Notifications
You must be signed in to change notification settings - Fork 355
/
classes.ts
982 lines (869 loc) · 28.8 KB
/
classes.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
const CLASSES = {
/**
* app is the container of the app.
*/
app: "coral coral-stream",
/**
* guidlines represents the box containing the guidlines.
*/
guidelines: "coral coral-guidelines",
/**
* guidlines represents the box containing the guidlines.
*/
announcement: "coral coral-announcement",
/**
* closedSitewide represents the box containing the message when comments
* are closed sitewide.
*/
closedSitewide: "coral coral-closedSitewide",
/**
* sortMenu contains the dropdown to sort the comments.
*/
sortMenu: "coral coral-sortMenu",
/**
* counter to show e.g. the amount of comments.
*/
counter: "coral coral-counter",
/**
* rte represents the rich-text-editor
*/
rte: {
$root: "coral coral-rte",
content: "coral coral-rte-content",
placeholder: "coral coral-rte-placeholder",
toolbar: "coral coral-rte-toolbar",
container: "coral coral-rte-container",
},
/**
* tabBar is all the components in the top tab bar selector.
*/
tabBar: {
/**
* $root represents the container for the tab buttons.
*/
$root: "coral coral-tabBar",
/**
* comments is the button for the "Comments" tab.
*/
comments: "coral coral-tabBar-tab coral-tabBar-comments",
/**
* myProfile is the button for the "My Profile" tab.
*/
myProfile: "coral coral-tabBar-tab coral-tabBar-myProfile",
/**
* configure is the button for the "Configure" tab.
*/
configure: "coral coral-tabBar-tab coral-tabBar-configure",
activeTab: "coral-tabBar-tab-active",
},
/**
* tabBarComments is all the components in the comments secondary tab bar selector.
*/
tabBarComments: {
/**
* $root represents the container for the tab buttons.
*/
$root: "coral coral-tabBarSecondary coral-tabBarComments",
/**
* allComments is the button for the "All Comments" tab.
*/
allComments:
"coral coral-tabBarSecondary-tab coral-tabBarComments-allComments",
/**
* featured is the button for the "Featured Comments" tab.
*/
featured: "coral coral-tabBarSecondary-tab coral-tabBarComments-featured",
/**
* featuredTooltip is the tooltip next to the featured tab.
*/
featuredTooltip: "coral coral-tabBarComments-featuredTooltip",
activeTab: "coral-tabBarSecondary-tab-active",
},
/**
* tabBarMyProfile is all the components in the my profile secondary tab bar selector.
*/
tabBarMyProfile: {
/**
* $root represents the container for the tab buttons.
*/
$root: "coral coral-tabBarSecondary coral-tabBarMyProfile",
/**
* myComments is the button for the "My Comments" tab.
*/
myComments:
"coral coral-tabBarSecondary-tab coral-tabBarMyProfile-myComments",
/**
* preferences is the button for the "Preferences" tab.
*/
preferences:
"coral coral-tabBarSecondary-tab coral-tabBarMyProfile-preferences",
/**
* notifications is the button for the "Notifications" tab.
*/
notifications:
"coral coral-tabBarSecondary-tab coral-tabBarMyProfile-notifications",
active: "coral-tabBarSecondary-tab-active",
/**
* settings is the button for the "Settings" tab.
*/
settings: "coral coral-tabBarSecondary-tab coral-tabBarMyProfile-settings",
},
/**
* createComment is the comment creation box where a user can write a comment.
*/
createComment: {
/**
* $root represents the container for the new comments box.
*/
$root: "coral coral-createComment",
/**
* message is the box containing the messages configured in the story.
*/
message: "coral coral-createComment-message",
/**
* closed is the box containing the message when the story is closed.
*/
closed: "coral coral-createComment-closed",
/**
* submit is the button for submitting a new comment.
*/
submit: "coral coral-createComment-submit",
/**
* signIn is the button for submitting a new comment and signing in.
*/
signIn: "coral coral-createComment-signIn",
/**
* inReview is the message notifying the user that the posted comment is
* in review.
*/
inReview: "coral coral-createComment-inReview",
/**
* rejected is the message notifying the user that the posted comment is
* rejected.
*/
rejected: "coral coral-createComment-rejected",
/**
* dismissButton is the button to dismiss the in review message.
*/
dismissButton: "coral coral-createComment-dismissButton",
},
/**
* replyComment is the comment creation box where a user can write a reply on
* a specific comment.
*/
createReplyComment: {
/**
* $root represents the container for the new reply box.
*/
$root: "coral coral-createReplyComment",
/**
* inReview is the message notifying the user that the posted comment is
* in review.
*/
inReview: "coral coral-createReplyComment-inReview",
/**
* submit is the button for submitting a new reply.
*/
submit: "coral coral-createReplyComment-submit",
/**
* cancel is the button for cancelling the reply.
*/
cancel: "coral coral-createReplyComment-cancel",
/**
* dimiss is the button to dismiss the message after submit.
*/
dismiss: "coral coral-createReplyComment-dismiss",
/**
* replyTo shows the author of the parent comment.
*/
replyTo: {
$root: "coral coral-createReplyComment-replyTo",
text: "coral coral-createReplyComment-replyToText",
username: "coral coral-createReplyComment-replyToUsername",
},
},
/**
* editComment is the comment edit box where a user can edit his comment.
*/
editComment: {
/**
* $root represents the container for the edit box.
*/
$root: "coral coral-editComment",
/**
* inReview is the message notifying the user that the edited comment is
* in review.
*/
inReview: "coral coral-editComment-inReview",
/**
* remainingTime is the message telling the user the remaining time.
*/
remainingTime: "coral coral-editComment-remainingTime",
/**
* expiredTime appears when the comment can no longer be edited.
*/
expiredTime: "coral coral-editComment-expiredTime",
/**
* submit is the button for submitting the edit.
*/
submit: "coral coral-editComment-submit",
/**
* close is the button for closing the edit after it expired.
*/
close: "coral coral-editComment-close",
/**
* cancel is the button for cancelling the edit.
*/
cancel: "coral coral-editComment-cancel",
/**
* dimiss is the button to dismiss the message after submit.
*/
dismiss: "coral coral-editComment-dismiss",
},
/**
* comment is the visual representation of a Comment.
*/
comment: {
/**
* $root represents the container containing a given Comment.
*/
$root: "coral coral-comment",
/**
* reacted signifies the number of reactions of the comment.
* The no of reactions is appended: e.g. `coral-reacted-1`.
*/
reacted: "coral coral-reacted",
/**
* collapseToggle is the button to collapse and expand the display of a comment.
*/
collapseToggle: {
$root: "coral coral-comment-collapse-toggle",
icon: "coral coral-comment-collapse-toggle-icon",
indent: "coral coral-comment-collapse-toggle-indent",
collapsed: "coral coral-comment-collapse-toggle-collapsed",
},
/**
* topBar is the uppper bar of the comment.
*/
topBar: {
/**
* $root represents the container of the top bar.
*/
$root: "coral coral-comment-topBar",
/**
* username is the text display for any given Username in the system.
*/
username: "coral coral-username coral-comment-username",
/**
* timestamp is the text that contains the time since the comment was
* published.
*/
timestamp: "coral coral-timestamp coral-comment-timestamp",
/**
* edited is the text that indicated that a comment was edited.
*/
edited: "coral coral-comment-edited",
/**
* userTag can be used to target a tag associated with a User.
*/
userTag: "coral coral-userTag coral-comment-userTag",
/**
* userBadge can be used to target a badge associated with a User.
*/
userBadge: "coral coral-userBadge coral-comment-userBadge",
/**
* commentTag can be used to target a tag associated with a Comment.
*/
commentTag: "coral coral-commentTag coral-comment-commentTag",
featuredTag:
"coral coral-commentTag coral-comment-commentTag coral-featuredTag coral-comment-featuredTag",
/**
* caretButton can be used to target the caret that opens the moderation dropdown.
*/
caretButton: "coral coral-comment-caret",
/**
* editButton can be used to target the edit button.
*/
editButton: "coral coral-comment-editButton",
},
/**
* content is the html text body of the comment.
*/
content: "coral coral-content coral-comment-content",
/**
* readMoreOfConversation is the link that continues the
* thread of the conversation on a deeper level.
*/
readMoreOfConversation: "coral coral-comment-readMoreOfConveration",
/**
* inReplyTo shows the author of the parent comment.
*/
inReplyTo: {
$root: "coral coral-comment-inReplyTo",
text: "coral coral-comment-inReplyToText",
username: "coral coral-comment-inReplyToUsername",
},
/**
* actionBar is the lower bar of the comment.
*/
actionBar: {
/**
* $root represents the container of action bar.
*/
$root: "coral coral-comment-actionBar",
/**
* reactButton is the reaction button.
*/
reactButton: "coral coral-reactButton coral-comment-reactButton",
/**
* reactedButton is the class added to the reaction button
* when the viewer has already reacted to the comment.
*/
reactedButton: "coral-reactedButton coral-comment-reactedButton",
/**
* replyButton is button that triggers the reply form.
*/
replyButton: "coral coral-comment-replyButton",
/**
* shareButton is the button that will show the permalink popover.
*/
shareButton: "coral coral-comment-shareButton",
/**
* reportButton is the button that triggers the report feature.
*/
reportButton: "coral coral-reportButton coral-comment-reportButton",
/**
* reportedButton is added to report button when the viewer
* has already reported the comment.
*/
reportedButton: "coral-reportedButton coral-comment-reportedButton",
},
/**
* indentation classes for the different levels.
*/
indent: [
"coral coral-indent coral-indent-0",
"coral coral-indent coral-indent-1",
"coral coral-indent coral-indent-2",
"coral coral-indent coral-indent-3",
"coral coral-indent coral-indent-4",
"coral coral-indent coral-indent-5",
"coral coral-indent coral-indent-6",
],
},
/**
* rejectedTombstone is shown when a comment got rejected.
*/
rejectedTombstone: {
$root: "coral coral-rejectedtombstone",
goToModerateButton: "coral coral-rejectedtombstone-goToModerateButton",
},
/**
* deletedTombstone is shown when a comment has been deleted.
*/
deletedTombstone: "coral coral-rejectedtombstone",
/**
* ignoredTombstown is shown when a comment got ignored.
*/
ignoredTombstone: "coral coral-ignoredTombstone",
/**
* replyList represents the list of replies to a comment.
*/
replyList: {
/**
* showAllButton is the button to show all replies.
*/
showAllButton: "coral coral-replyList-showAllButton",
/**
* showAllButton is the button to show incoming live replies.
*/
showMoreReplies: "coral coral-replyList-showMoreButton",
},
/**
* comment is the visual representation of a featured comment.
*/
featuredComment: {
/**
* $root represents the container containing a featured comment.
*/
$root: "coral coral-featuredComment",
/**
* authorBar is the uppper bar of the comment.
*/
authorBar: {
$root: "coral coral-featuredComment-authorBar",
/**
* username is the text display for any given Username in the system.
*/
username: "coral coral-username coral-comment-username",
/**
* timestamp is the text that contains the time since the comment was
* published.
*/
timestamp: "coral coral-timestamp coral-comment-timestamp",
/**
* userTag can be used to target a tag associated with a User.
*/
userTag: "coral coral-userTag coral-comment-userTag",
},
/**
* content is the html text body of the featured comment.
*/
content: "coral coral-content coral-featuredComment-content",
/**
* actionBar is the lower bar of the featured comment.
*/
actionBar: {
/**
* $root represents the container of action bar.
*/
$root: "coral coral-featuredComment-actionBar",
/**
* replies indicates the amount of replies this comment has.
*/
replies: "coral coral-featuredComment-replies",
/**
* replies indicates the amount of replies this comment has.
*/
repliesDivider: "coral coral-featuredComment-replies-divider",
/**
* reactButton is the reaction button.
*/
reactButton: "coral coral-reactButton coral-featuredComment-reactButton",
/**
* reactedButton is the class added to the reaction button
* when the viewer has already reacted to the comment.
*/
reactedButton: "coral-reactedButton coral-featuredComment-reactedButton",
/**
* goToConversation is the link that leads to the whole conversation.
*/
goToConversation: "coral coral-featuredComment-goToConversationButton",
},
},
/**
* userPopover is the popover that appears when clicking on the username.
*/
userPopover: {
/**
* $root is the container of the user popover.
*/
$root: "coral coral-userPopover",
/**
* username that is rendeed inside the user popover.
*/
username: "coral coral-username coral-userPopover-username",
/**
* ignoreButton that will trigger the ignore user popover.
*/
ignoreButton: "coral coral-userPopover-ignoreButton",
},
/**
* ignoreUserPopover is the popover that allow the
* viewer to ignore a user.
*/
ignoreUserPopover: {
/**
* $root is the container of the ignore user popover.
*/
$root: "coral coral-ignoreUserPopover",
cancelButton: "coral coral-ignoreUserPopover-cancelButton",
ignoreButton: "coral coral-ignoreUserPopover-ignoreButton",
},
/**
* sharePopover is the popover that shows the permalink of the comment.
*/
sharePopover: {
$root: "coral coral-sharePopover",
copyButton: "coral coral-sharePopover-copyButotn",
},
/**
* reportPopover is the popover that appears when the viewer clicks on the
* report button.
*/
reportPopover: {
$root: "coral coral-reportPopover",
closeButton: "coral coral-reportPopover-closeButton",
cancelButton: "coral coral-reportPopover-cancelButton",
submitButton: "coral coral-reportPopover-submitButton",
},
/**
* moderationDropdown is the dropdown that appears when clicking on the
* caret as a priviledged user (at least moderator).
*/
moderationDropdown: {
$root: "coral coral-moderationDropdown",
approveButton:
"coral coral-dropdownButton coral-moderationDropdown-approveButton",
approvedButton:
"coral coral-dropdownButton coral-moderationDropdown-approveedButton",
rejectButton:
"coral coral-dropdownButton coral-moderationDropdown-rejectButton",
rejectedButton:
"coral coral-dropdownButton coral-moderationDropdown-rejectedButton",
featureButton:
"coral coral-dropdownButton coral-moderationDropdown-featureButton",
unfeatureButton:
"coral coral-dropdownButton coral-moderationDropdown-unfeatureButton",
banUserButton:
"coral coral-dropdownButton coral-moderationDropdown-banUserButton",
bannedButton:
"coral coral-dropdownButton coral-moderationDropdown-bannedButton",
goToModerateButton:
"coral coral-dropdownButton coral-moderationDropdown-goToModerateButton",
},
/**
* banUserPopover is the popover that allows the viewer to ban users.
*/
banUserPopover: {
$root: "coral coral-banUserPopover",
cancelButton: "coral coral-banUserPopover-cancelButton",
banButton: "coral coral-banUserPopover-banButton",
},
/**
* viewerBox is the box that indicates which user is logged in and
* provides login, signout or register functionality.
*/
viewerBox: {
$root: "coral coral-viewerBox",
logoutButton: "coral coral-viewerBox-logoutButton",
signInButton: "coral coral-viewerBox-signInButton",
registerButton: "coral coral-viewerBox-registerButton",
},
/**
* comments tab pane is the default tab pane.
*/
commentsTabPane: {
/**
* $root is the container for the comments tab pane.
*/
$root: "coral coral-comments",
/**
* authenticated will indicate that the user is logged in.
*/
authenticated: "coral coral-authenticated",
/**
* unauthenticated will indicate that the user hasn't logged in yet.
*/
unauthenticated: "coral coral-unauthenticated",
},
/**
* allCommentsTabPane is the tab pane that shows all comments.
*/
allCommentsTabPane: {
$root: "coral coral-allComments",
/**
* loadMoreButton is the button to paginate.
*/
loadMoreButton:
"coral coral-loadMoreButton coral-allComments-loadMoreButton",
/**
* viewNewButton is the button that reveals newer comments.
*/
viewNewButton: "coral coral-allComments-viewNewButton",
},
/**
* featuredCommentsTabPane is the tab pane that shows featured comments.
*/
featuredCommentsTabPane: {
$root: "coral coral-featuredComments",
loadMoreButton:
"coral coral-loadMoreButton coral-featuredComments-loadMoreButton",
},
/**
* permalinkView is the tab pane that shows the conversation of a comment.
*/
permalinkView: {
/**
* $root is the container for the permalink tab pane.
*/
$root: "coral coral-permalink",
/**
* authenticated will be applied to the container when the user is logged in.
*/
authenticated: "coral-authenticated",
/**
* unauthenticated will be applied to the container when the user has not logged in yet.
*/
unauthenticated: "coral-unauthenticated",
/**
* viewFullDiscussionButton is the button that leads to the full comment stream.
*/
viewFullDiscussionButton: "coral coral-permalink-viewFullDiscussionButton",
},
/**
* conversationThread shows the thread of comments that lead to the permalinked comment.
*/
conversationThread: {
$root: "coral coral-conversationThread",
/**
* rootParent is the root comment that is shown in the thread before it has been
* expanded.
*/
rootParent: {
$root: "coral coral-rootParent",
username: "coral coral-username coral-rootParent-username",
timestamp: "coral coral-timestamp coral-rootParent-timestamp",
userTag: "coral coral-userTag coral-rootParent-userTag",
},
/**
* showMore is the button that reveals all comments between root parent and highlighted comment.
*/
showMore: "coral coral-conversationThread-showMore",
/**
* highlighted is the comment that is targeted by the permalink.
*/
hightlighted: "coral coral-conversationThread-highlighted",
},
/**
* myProfileTabPane is the tab pane that shows the profile of the viewer.
*/
myProfileTabPane: {
$root: "coral coral-myProfile",
},
/**
* myUsername is the username part of my profile.
*/
myUsername: {
title: "coral coral-myUsername-title",
username: "coral coral-myUsername",
editButton: "coral coral-myUsername-editButton",
change: "coral coral-myUsername-change",
tooSoon: "coral-myUsername-tooSoon",
form: {
$root: "coral coral-changeMyUsername",
heading: "coral coral-changeMyUsername-heading",
description: "coral coral-changeMyUsername-description",
label: "coral coral-changeMyUsername-label",
username: "coral coral-changeMyUsername-username",
cancelButton: "coral coral-changeMyUsername-cancelButton",
saveButton: "coral coral-changeMyUsername-saveButton",
closeButton: "coral coral-changeMyUsername-closeButton",
footer: "coral coral-changeMyUsername-footer",
errorMessage:
"coral coral-changeMyUsername-errorMessage coral-changeMyEmail-errorMessage",
successMessage: "coral coral-changeMyUsername-successMessage",
successCallOut: "coral coral-changeMyUsername-successCallOut",
},
},
/**
* myUsername is the email part of my profile.
*/
myEmail: {
email: "coral coral-myEmail",
title: "coral coral-myEmail-title",
unverified: "coral coral-myEmail-unverified",
editButton: "coral coral-myEmail-editButton",
form: {
$root: "coral coral-changeMyEmail",
header: "coral coral-changeMyEmail-header",
footer: "coral coral-changeMyEmail-footer",
currentEmail: "coral coral-myEmail-currentEmail",
desc: "coral coral-changeMyEmail-desc",
cancelButton: "coral coral-changeMyEmail-cancelButton",
saveButton: "coral coral-changeMyEmail-saveButton",
errorMessage: "coral coral-changeMyEmail-errorMessage",
},
},
/**
* myUsername is the verify email part of my profile.
*/
verifyEmail: {
$root: "coral coral-verifyEmail",
container: "coral coral-verifyEmail-container",
content: "coral coral-verifyEmail-content",
title: "coral coral-verifyEmail-title",
resendButton: "coral coral-verifyEmail-resendButton",
resentMessage: "coral coral-verifyEmail-resentMessage",
},
/**
* myCommentsTabPane is the tab pane that shows viewers comments.
*/
myCommentsTabPane: {
$root: "coral coral-myComments",
loadMoreButton:
"coral coral-loadMoreButton coral-myComments-loadMoreButton",
},
/**
* myComment is the comment that shows up in the viewers comment history.
*/
myComment: {
$root: "coral coral-myComment",
story: "coral coral-myComment-story",
timestamp: "coral coral-myComment-timestamp",
content: "coral coral-myComment-content",
replies: "coral coral-myComment-replies",
reactions: "coral coral-myComment-reactions",
viewConversationButton: "coral coral-myComment-viewConversationButton",
commentOn: "coral coral-myComment-commentOn",
},
/**
* notificationsTabPane is the tab pane that shows notifications settings.
*/
notificationsTabPane: {
$root: "coral coral-notifications",
},
preferencesTabPane: {
$root: "coral coral-preferences",
},
/**
* accountTabPane is the tab pane that shows account settings.
*/
accountTabPane: {
$root: "coral coral-account",
},
/**
* ignoredCommenters is ignored commenters settings.
*/
ignoredCommenters: {
$root: "coral coral-ignoredCommenters",
list: "coral coral-ignoredCommenters-list",
manageButton: "coral coral-ignoredComments-manageButton",
username: "coral coral-ignoredCommenters-username",
stopIgnoreButton: "coral coral-ignoredCommenters-stopIgnoreButton",
},
/**
* myPassword allows the viewer to change password in settings.
*/
myPassword: {
$root: "coral coral-myPassword",
title: "coral coral-myPassword-title",
editButton: "coral coral-myPassword-editButton",
form: {
$root: "coral coral-changePassword",
footer: "coral coral-changePassword-footer",
cancelButton: "coral coral-changePassword-cancelButton",
forgotButton: "coral coral-changePassword-forgotButton",
changeButton: "coral coral-changePassword-changeButton",
successMessageContainer: "coral coral-changePassword-successContainer",
successMessage: "coral coral-changePassword-successMessage",
errorMessage: "coral coral-changePassword-errorMessage",
},
},
/**
* downloadCommentHistory allows the viewer to download the comment
* history in settings.
*/
downloadCommentHistory: {
$root: "coral coral-downloadCommentHistory",
requestButton: "coral coral-downloadCommentHistory-requestButton",
recentRequest: "coral coral-downloadCommentHistory-recentRequest",
requestLater: "coral coral-downloadCommentHistory-requestLater",
requestError: "coral coral-downloadCommentHistory-requestError",
},
/**
* deleteMyAccount allows the viewer to delete their account.
*/
deleteMyAccount: {
$root: "coral coral-deleteMyAccount",
title: "coral coral-deleteMyAccount-title",
section: "coral coral-deleteMyAccount-section",
content: "coral coral-deleteMyAccount-content",
requestButton: "coral coral-deleteMyAccount-requestButton",
cancelRequestButton: "coral coral-deleteMyAccount-cancelRequestButton",
},
/**
* pendingAccountDeletion is the message box informing the viewer
* about a pending account deletion.
*/
pendingAccountDeletion: {
$root: "coral coral-pendingAccountDeletion",
container: "coral coral-pendingAccountDeletion-container",
cancelRequestButton:
"coral coral-pendingAccountDeletion-cancelRequestButton",
icon: "coral coral-pendingAccountDeletion-cancelRequestIcon",
},
/**
* deleteMyAccount allows the viewer to delete their account.
*/
deleteMyAccountModal: {
$root: "coral coral-deleteMyAccountModal",
header: "coral coral-deleteMyAccountModal-header",
headerText: "coral coral-deleteMyAccountModal-headerText",
subHeaderText: "coral coral-deleteMyAccountModal-subHeaderText",
body: "coral coral-deleteMyAccountModal-body",
sectionContent: "coral coral-deleteMyAccountModal-sectionContent",
sectionHeader: "coral coral-deleteMyAccountModal-sectionHeader",
cancelButton: "coral coral-deleteMyAccountModal-cancelButton",
proceedButton: "coral coral-deleteMyAccountModal-proceedButton",
doneButton: "coral coral-deleteMyAccountModal-doneButton",
stepBar: "coral coral-deleteMyAccountModal-stepBar",
deleteMyAccountButton: "coral coral-deleteMyAccount-deleteMyAccountButton",
},
/**
* configureTabPane is the tab pane that lets priviledged users to
* change settings of the stream.
*/
configureTabPane: {
$root: "coral coral-configure",
},
/**
* configureMessageBox is the message box section in the stream configure.
*/
configureMessageBox: {
$root: "coral coral-configureMessageBox",
messageBox: "coral coral-configureMessageBox-messageBox",
option: "coral coral-configureMessageBox-option",
},
/**
* configureCommentStream allows priviledged users to adjust settings of
* the stream.
*/
configureCommentStream: {
$root: "coral coral-configureCommentStream",
applyButton: "coral coral-configureCommentStream-applyButton",
errorMessage: "coral coral-configureCommentStream-errorMessage",
successMessage: "coral coral-configureCommentStream-successMessage",
},
/**
* closeCommentStream allows priviledged users to close the stream.
*/
closeCommentStream: {
$root: "coral coral-closeCommentStream",
closeButton: "coral coral-closeCommentStream-closeButton",
},
/**
* openCommentStream allows priviledged users to open the stream.
*/
openCommentStream: {
$root: "coral coral-openCommentStream",
openButton: "coral coral-openCommentStream-openButton",
},
emailNotifications: {
$root: "coral coral-emailNotifications",
updateButton: "coral coral-emailNotifications-updateButton",
},
/**
* spinner is the loading indicator.
*/
spinner: "coral-spinner",
/**
* validation message that shows up on form errors.
*/
validationMessage: "coral-validation-message",
login: {
signIn: {
noAccount: "coral coral-login-signIn-noAccount",
},
signUp: {
alreadyHaveAccount: "coral coral-login-signUp-alreadyHaveAccount",
},
signInWithEmail: {
forgotPassword: "coral coral-login-signInWithEmail-forgotPassword",
},
bar: "coral coral-login-bar",
title: "coral coral-login-title",
header: "coral coral-login-header",
subBar: "coral coral-login-subBar",
orSeparator: "coral coral-login-orSeparator",
description: "coral coral-login-description",
field: "coral coral-login-field",
errorContainer: "coral coral-login-errorContainer",
error: "coral coral-login-error",
facebookButton: "coral coral-login-facebookButton",
googleButton: "coral coral-login-googleButton",
oidcButton: "coral coral-login-oidcButton",
},
moderateStream: "coral coral-general-moderateStreamLink",
};
export default CLASSES;