decidim-comments 0.31.5 → 0.31.6
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.
- checksums.yaml +4 -4
- data/app/packs/src/decidim/comments/comments.component.test.js +1 -2
- data/app/packs/src/decidim/comments/comments.js +1 -1
- data/app/packs/stylesheets/comments.scss +1 -1
- data/app/views/decidim/comments/admin/shared/_availability_fields.html.erb +1 -1
- data/config/locales/pl.yml +1 -1
- data/lib/decidim/comments/engine.rb +0 -11
- data/lib/decidim/comments/version.rb +1 -1
- metadata +8 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 47a6931a2765bd42e7aeee4ae9510abbe50921284d4bce71ef82839eb7ab1267
|
|
4
|
+
data.tar.gz: 1f5b3fce5fa4468b472c5c54334a0540804380df8367669057cabe27102b2aad
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c0325595a7cd3e26dff2f8fb1a009816e45b3fbab10ec396ee7db8633a8586e44205627601c540153152d823735e692b82ad14223ff63d7b4a24ddaca5e59f26
|
|
7
|
+
data.tar.gz: df779b790cb424253bc6395b5a134e35e612bfd8562162343443495f0aa12bc7c47ecc9c059a06fa3c09fe8c35d2440c10ba4d9add5141fb838ab039a725f75c
|
|
@@ -115,8 +115,7 @@ describe("CommentsComponent", () => {
|
|
|
115
115
|
data-input-emoji="true"
|
|
116
116
|
name="comment[body]"
|
|
117
117
|
aria-describedby="add-comment-${modelName}-${modelId}-remaining-characters_sr"
|
|
118
|
-
data-input-emoji-initialized="true"
|
|
119
|
-
data-tribute="true">
|
|
118
|
+
data-input-emoji-initialized="true">
|
|
120
119
|
</textarea>
|
|
121
120
|
<span class="emoji__trigger">
|
|
122
121
|
<button class="emoji__button" type="button" aria-label="Add emoji">
|
|
@@ -99,5 +99,5 @@ const commentsInitializer = () => {
|
|
|
99
99
|
window.addEventListener("resize", handleResize);
|
|
100
100
|
};
|
|
101
101
|
|
|
102
|
-
//
|
|
102
|
+
// Keep this on turbo load so comments are mounted after each visit
|
|
103
103
|
document.addEventListener("turbo:load", commentsInitializer);
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<%= form.check_box :comments_enabled, label: t(".enabled"), data: { controller: :toggle, "toggle-toggle-value": "customize_comments_times-div" } %>
|
|
3
3
|
</div>
|
|
4
4
|
|
|
5
|
-
<div id="customize_comments_times-div"
|
|
5
|
+
<div id="customize_comments_times-div" class="row column <%= @form.comments_enabled ? nil : "hide" %>">
|
|
6
6
|
<div class="mb-4">
|
|
7
7
|
<%= form.datetime_field :comments_start_time, label: t(".start_time") %>
|
|
8
8
|
</div>
|
data/config/locales/pl.yml
CHANGED
|
@@ -159,7 +159,7 @@ pl:
|
|
|
159
159
|
email_intro: Wspomniano o Tobie
|
|
160
160
|
email_outro: Otrzymałeś to powiadomienie, ponieważ wspomniano o Tobie w %{resource_title}.
|
|
161
161
|
email_subject: Wspomniano o Tobie w %{resource_title}
|
|
162
|
-
notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> wspomniał(a) o Tobie w <a href="%{resource_path}">%{resource_title}</a>
|
|
162
|
+
notification_title: <a href="%{author_path}">%{author_name} %{author_nickname}</a> wspomniał(a) o Tobie w <a href="%{resource_path}">%{resource_title}</a>
|
|
163
163
|
errors:
|
|
164
164
|
messages:
|
|
165
165
|
cannot_have_comments: nie może mieć komentarzy
|
|
@@ -34,17 +34,6 @@ module Decidim
|
|
|
34
34
|
Decidim::Api::MutationType.include MutationExtensions
|
|
35
35
|
end
|
|
36
36
|
|
|
37
|
-
initializer "decidim_comments.stats" do
|
|
38
|
-
Decidim.stats.register :comments_count,
|
|
39
|
-
priority: StatsRegistry::HIGH_PRIORITY,
|
|
40
|
-
icon_name: "chat-1-line",
|
|
41
|
-
tooltip_key: "comments_count" do |organization|
|
|
42
|
-
Decidim.component_manifests.sum do |component|
|
|
43
|
-
component.stats.filter(tag: :comments).with_context(organization.published_components).map { |_name, value| value }.compact_blank.sum
|
|
44
|
-
end
|
|
45
|
-
end
|
|
46
|
-
end
|
|
47
|
-
|
|
48
37
|
initializer "decidim_comments.register_icons" do
|
|
49
38
|
common_parameters = { category: "action", engine: :comments }
|
|
50
39
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: decidim-comments
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.31.
|
|
4
|
+
version: 0.31.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Josep Jaume Rey Peroy
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2026-
|
|
13
|
+
date: 2026-07-06 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: decidim-core
|
|
@@ -18,14 +18,14 @@ dependencies:
|
|
|
18
18
|
requirements:
|
|
19
19
|
- - '='
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 0.31.
|
|
21
|
+
version: 0.31.6
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
25
|
requirements:
|
|
26
26
|
- - '='
|
|
27
27
|
- !ruby/object:Gem::Version
|
|
28
|
-
version: 0.31.
|
|
28
|
+
version: 0.31.6
|
|
29
29
|
- !ruby/object:Gem::Dependency
|
|
30
30
|
name: redcarpet
|
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -52,28 +52,28 @@ dependencies:
|
|
|
52
52
|
requirements:
|
|
53
53
|
- - '='
|
|
54
54
|
- !ruby/object:Gem::Version
|
|
55
|
-
version: 0.31.
|
|
55
|
+
version: 0.31.6
|
|
56
56
|
type: :development
|
|
57
57
|
prerelease: false
|
|
58
58
|
version_requirements: !ruby/object:Gem::Requirement
|
|
59
59
|
requirements:
|
|
60
60
|
- - '='
|
|
61
61
|
- !ruby/object:Gem::Version
|
|
62
|
-
version: 0.31.
|
|
62
|
+
version: 0.31.6
|
|
63
63
|
- !ruby/object:Gem::Dependency
|
|
64
64
|
name: decidim-dev
|
|
65
65
|
requirement: !ruby/object:Gem::Requirement
|
|
66
66
|
requirements:
|
|
67
67
|
- - '='
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
|
-
version: 0.31.
|
|
69
|
+
version: 0.31.6
|
|
70
70
|
type: :development
|
|
71
71
|
prerelease: false
|
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
|
73
73
|
requirements:
|
|
74
74
|
- - '='
|
|
75
75
|
- !ruby/object:Gem::Version
|
|
76
|
-
version: 0.31.
|
|
76
|
+
version: 0.31.6
|
|
77
77
|
description: Pluggable comments system for some components.
|
|
78
78
|
email:
|
|
79
79
|
- josepjaume@gmail.com
|