From 3e4272d39051b788dcd025aaa7ac9677d4d98687 Mon Sep 17 00:00:00 2001 From: zyuhel Date: Tue, 11 Apr 2023 19:36:13 +0300 Subject: [PATCH 1/3] fix(): mark battle comments as new --- frontend/html/comments/types/battle.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/html/comments/types/battle.html b/frontend/html/comments/types/battle.html index f6acb1218..d26952a8f 100644 --- a/frontend/html/comments/types/battle.html +++ b/frontend/html/comments/types/battle.html @@ -5,7 +5,7 @@
за «{{ comment.battle_side }}»
-
+
{{ comment.title | rutypography }}
From ca46211dd426c81b5bd6a677b26a1edf9c905ffb Mon Sep 17 00:00:00 2001 From: zyuhel Date: Wed, 12 Apr 2023 00:02:57 +0300 Subject: [PATCH 2/3] fix(): add support for comment-type-battle-is-new in scrollarrow --- frontend/static/js/components/CommentScrollArrow.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/static/js/components/CommentScrollArrow.vue b/frontend/static/js/components/CommentScrollArrow.vue index c7832606c..16106d2fb 100644 --- a/frontend/static/js/components/CommentScrollArrow.vue +++ b/frontend/static/js/components/CommentScrollArrow.vue @@ -90,6 +90,8 @@ export default { ".post-comments-list > .replies > .reply:not(.comment-is-new) > .reply.comment-is-new", // Новые реплаи на втором уровне бэтлов ".battle-comments .post-comments-list > .replies > .reply:not(.comment-is-new) > .reply-replies >.replies > .reply.comment-is-new", + // новые аргументы в бэтлах + ".comment.comment-type-battle-is-new", ].join() ); From 5135ab1636606849a971f235bf8b9fc21933e5aa Mon Sep 17 00:00:00 2001 From: zyuhel Date: Wed, 12 Apr 2023 00:04:04 +0300 Subject: [PATCH 3/3] fix(): change class to comment-type-battle-is-new to prevent breaking coloring logic --- frontend/html/comments/types/battle.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/html/comments/types/battle.html b/frontend/html/comments/types/battle.html index d26952a8f..f5b5beaa4 100644 --- a/frontend/html/comments/types/battle.html +++ b/frontend/html/comments/types/battle.html @@ -5,7 +5,7 @@
за «{{ comment.battle_side }}»
-
+
{{ comment.title | rutypography }}