aboutsummaryrefslogtreecommitdiffstats
path: root/src/i18n.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-03 23:17:33 -0700
committerAdam Soltys <[email protected]>2026-08-03 23:17:33 -0700
commitbd215cbd2e6f46870cb69729673c3e5218f4ee86 (patch)
treef8b8168f2bdf90e92c827d6c746f46160f0c3176 /src/i18n.js
parentad8ff4eb12a001647f6fe2856e9fe05d4e1d06ce (diff)
downloadcoinosv3-bd215cbd2e6f46870cb69729673c3e5218f4ee86.tar.gz
coinosv3-bd215cbd2e6f46870cb69729673c3e5218f4ee86.zip
The chat window fits the screen, and the header stops asking questions
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 <[email protected]> Claude-Session: https://claude.ai/code/session_01Wvj4aoeMZwA7VUGdJP9Swi
Diffstat (limited to 'src/i18n.js')
-rw-r--r--src/i18n.js3
1 files changed, 3 insertions, 0 deletions
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',