From bd215cbd2e6f46870cb69729673c3e5218f4ee86 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 3 Aug 2026 23:17:33 -0700 Subject: The chat window fits the screen, and the header stops asking questions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The message log had a fixed 62vh height, so the card was head + panels + log + composer tall and the input fell off the bottom of the screen. The card is now sized to the viewport and the log is the only part that flexes: opening the invite or member panel shrinks the scroll area instead of pushing the composer out of reach. Three header changes, all the same idea — don't show a control for a choice nobody is making: '+' becomes 'Add person', because a plus sign doesn't say what it adds. A lone channel isn't named at all. '#general' next to a composer that says 'Message #general' points at a choice of one; several channels become a select, which is what a choice looks like. The new-channel field hides behind a 'New channel' button. Sitting open right after you create a community, it reads as something you're supposed to fill in. tools/chat-layout-test.js holds the line at three viewport sizes with both panels open, and covers the header behaviour through actually adding a second channel. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01Wvj4aoeMZwA7VUGdJP9Swi --- src/i18n.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/i18n.js') diff --git a/src/i18n.js b/src/i18n.js index 428ccb0..b5a64af 100644 --- a/src/i18n.js +++ b/src/i18n.js @@ -152,8 +152,11 @@ const STR = { msgSend: 'Send', msgEmpty: 'No messages yet — say hi!', msgPlaceholder: 'Message #{channel}', + msgPlaceholderPlain: 'Message…', msgMembers: '{n} members', msgEncrypted: 'End-to-end encrypted', + msgAddPerson: 'Add person', + msgNewChannel: 'New channel', msgAdmin: 'admin', msgEdited: '(edited)', msgDelete: 'Delete message', -- cgit v1.2.3