This repository has been archived by the owner on Jan 12, 2022. It is now read-only.
Releases: smoldata/smol-chat
Releases · smoldata/smol-chat
Pagination
Showing who joined/left a room
This release adds a system message to the chat when somebody joins/leaves the room.
Join room, leave room
New rooms
Sidebar UI for rooms
This release adds a new sidebar UI that currently shows a single room.
Behind the scenes, the message data is reorganized a bit to accommodate messages going to different rooms. That reorganization has to be performed manually to retain chat logs, so updating a running version of Smol Chat will not go seemlessly (thus the minor point release bump, v0.1.0
).
Here is how to update the data store manually:
cd .data
mkdir rooms
mv messages rooms/commons
echo '{"dirs": ["commons"]}' > rooms/.index.json
System messages
This release adds system messages, currently showing incremental timestamps between messages.
Bug fix:
- Long URLs should get shortened #9
More nuanced notifications
- Notifications now have three states:
- enabled: all messages
- enabled: @user mentions (new default state)
- disabled
- When the
mentions
is selected, notifications are sent for the following:
@[nickname]
@all
@channel
@everyone
@here
- The favicon (the icon in the tab) shows a dot when there are unread messages
Message editing
Persisting chat logs to disk
We now save the chat logs to disk, which means we won't lose all the history each time we restart the node.js service.