summaryrefslogtreecommitdiff
path: root/app/views/chat_messages
diff options
context:
space:
mode:
authorDavid Gay <david@davidgay.org>2021-07-06 20:11:20 -0400
committerDavid Gay <david@davidgay.org>2021-07-06 20:11:20 -0400
commit0ac5950f8c50bfcb6ce6cd89c0e80d982513cd15 (patch)
tree8d71642cb8fa11a62284d3f685bb6d126c32a4a6 /app/views/chat_messages
parentde4cece0f141d883d62614dfe132a24a5e140eda (diff)
Increase chat message area chat message limit from 100 to 200, and add a chat history page that shows the last 2,000 messages
Diffstat (limited to 'app/views/chat_messages')
-rw-r--r--app/views/chat_messages/index.html.erb9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/chat_messages/index.html.erb b/app/views/chat_messages/index.html.erb
new file mode 100644
index 0000000..8791e7b
--- /dev/null
+++ b/app/views/chat_messages/index.html.erb
@@ -0,0 +1,9 @@
+<h1 class="text-3xl mb-4">
+ Chat History
+</h1>
+
+<p class="mb-4">Last 2,000 messages listed from newest to oldest.</p>
+
+<div class="text-sm">
+ <%= render "chat_messages/list" %>
+</div>