chats 0.3.2 → 0.4.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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +88 -0
- data/README.md +227 -9
- data/app/assets/stylesheets/chats.css +95 -1
- data/app/helpers/chats/engine_helper.rb +2 -1
- data/app/views/chats/conversations/_locked_composer.html.erb +2 -2
- data/app/views/chats/conversations/index.html.erb +16 -0
- data/app/views/chats/messages/_action.html.erb +15 -0
- data/app/views/chats/messages/_composer.html.erb +74 -60
- data/app/views/chats/messages/_message.html.erb +6 -1
- data/config/locales/en.yml +5 -0
- data/config/locales/es.yml +5 -0
- data/docs/screenshots/composer-actions.png +0 -0
- data/docs/screenshots/inbox.png +0 -0
- data/docs/screenshots/system-note-action.png +0 -0
- data/docs/screenshots/thread-actions-phone.png +0 -0
- data/lib/chats/action.rb +70 -0
- data/lib/chats/models/concerns/messager.rb +10 -2
- data/lib/chats/models/conversation.rb +7 -2
- data/lib/chats/models/message.rb +74 -1
- data/lib/chats/version.rb +1 -1
- data/lib/generators/chats/templates/add_action_to_chats_messages.rb.erb +37 -0
- data/lib/generators/chats/templates/create_chats_tables.rb.erb +4 -0
- data/lib/generators/chats/templates/initializer.rb +1 -0
- data/lib/generators/chats/upgrade_generator.rb +37 -6
- metadata +9 -2
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: chats
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.4.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- rameerez
|
|
8
8
|
bindir: exe
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2026-
|
|
10
|
+
date: 2026-10-17 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: activerecord
|
|
@@ -145,6 +145,7 @@ files:
|
|
|
145
145
|
- app/views/chats/conversations/index.html.erb
|
|
146
146
|
- app/views/chats/conversations/refresh.turbo_stream.erb
|
|
147
147
|
- app/views/chats/conversations/show.html.erb
|
|
148
|
+
- app/views/chats/messages/_action.html.erb
|
|
148
149
|
- app/views/chats/messages/_composer.html.erb
|
|
149
150
|
- app/views/chats/messages/_message.html.erb
|
|
150
151
|
- app/views/chats/messages/create.turbo_stream.erb
|
|
@@ -160,10 +161,15 @@ files:
|
|
|
160
161
|
- context7.json
|
|
161
162
|
- docs/PRD.md
|
|
162
163
|
- docs/campfire_review.md
|
|
164
|
+
- docs/screenshots/composer-actions.png
|
|
165
|
+
- docs/screenshots/inbox.png
|
|
166
|
+
- docs/screenshots/system-note-action.png
|
|
167
|
+
- docs/screenshots/thread-actions-phone.png
|
|
163
168
|
- gemfiles/rails_7.1.gemfile
|
|
164
169
|
- gemfiles/rails_7.2.gemfile
|
|
165
170
|
- gemfiles/rails_8.1.gemfile
|
|
166
171
|
- lib/chats.rb
|
|
172
|
+
- lib/chats/action.rb
|
|
167
173
|
- lib/chats/broadcasts.rb
|
|
168
174
|
- lib/chats/configuration.rb
|
|
169
175
|
- lib/chats/engine.rb
|
|
@@ -182,6 +188,7 @@ files:
|
|
|
182
188
|
- lib/chats/subscribers.rb
|
|
183
189
|
- lib/chats/version.rb
|
|
184
190
|
- lib/generators/chats/install_generator.rb
|
|
191
|
+
- lib/generators/chats/templates/add_action_to_chats_messages.rb.erb
|
|
185
192
|
- lib/generators/chats/templates/add_author_to_chats_messages.rb.erb
|
|
186
193
|
- lib/generators/chats/templates/create_chats_tables.rb.erb
|
|
187
194
|
- lib/generators/chats/templates/initializer.rb
|