mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-04-14 00:59:26 -05:00
* Chat initial component * Connect to websocket * Chat render actual messages * Chat keep scrolled to bottom * Pending messages * Pass rooms as arg * Chat with tabs * Message max length * Looking tabs initial * Fixes * Chat on looking page w/ unread messages count * Add reconnecting websocket * Patron custom color * Change ChatMessage data model * Fix mobile layout * Add clean up to useEffect * Chat codes * FF + clear messages on group morph * Hide messages when user leaves etc. * Fix match page layout when chat missing * New tabs * Tabs for mobile * Add TODOs * Switch to own group tab when roster changes * Chat styling * Redesign group cards * Bring back manager buttons * Remove flipped * Remove unused code * Align better * Link to user profile * Better room pass + highlighted * Fix view when group expired * Fix MemberAdder (missing input + overflow) * Chat stay connected in looking * Remove filters for now * Fix chat number align * Fix chat unseen messages * Hide chat when alone * Remove rest todos
7 lines
227 B
JavaScript
7 lines
227 B
JavaScript
module.exports.up = function (db) {
|
|
db.transaction(() => {
|
|
db.prepare(/* sql */ `alter table "Group" add "chatCode" text`).run();
|
|
db.prepare(/* sql */ `alter table "GroupMatch" add "chatCode" text`).run();
|
|
})();
|
|
};
|