Commit Graph
398 Commits
Author SHA1 Message Date
Classic298 742941a436 fix: channel message stays greyed out when the send confirmation is missed or the send fails (#34772)
A channel message stayed greyed out with no actions until a reload whenever the page missed the server's confirmation, for example after switching apps on a phone right after sending, even though the server had saved it. A failed send left the same dead copy behind and the typed text was lost, and a dropped request showed no error at all. Now the message turns normal as soon as the server answers the send, and a failed send goes back to the list of waiting messages above the input, where it can be sent again, edited or deleted. Nothing is resent automatically, because a request that looked failed may still have reached the server. Thread replies get the same treatment, so a reply no longer goes missing from the thread or loses its text.

Fixes #34771
2026-11-22 19:22:59 +04:00
Timothy Jaeryang Baek fad6d0e72f refac 2026-11-22 18:16:23 +04:00
Timothy Jaeryang Baek df6be8c3a1 refac 2026-11-22 17:13:34 +04:00
Timothy Jaeryang Baek a78a66e7de refac 2026-11-21 13:27:07 +04:00
Timothy Jaeryang Baek 76339161b0 refac 2026-11-20 14:43:49 +04:00
Timothy Jaeryang Baek 8fb2bf35ad refac 2026-11-19 19:13:33 +04:00
Classic298 f8a5186480 fix: Enter sends the channel message instead of picking the highlighted emoji or command (#34618)
In a channel, typing an emoji shortcode like :swea or a slash command and pressing Enter sent the half-typed text right away. Enter only checked for an open suggestion list inside the message box, but that list is drawn outside it, so it was never found. Enter now picks the highlighted suggestion again, as it does in the main chat input.

Fixes #34616
2026-11-18 18:34:07 +04:00
Timothy Jaeryang Baek c82ceaf1fc refac 2026-11-17 00:31:18 +09:00
G30 42f8d4252d fix: a channel open in a tab behind another is no longer marked read (#34450) 2026-11-16 15:37:59 +09:00
G30 292e7a155d fix: on a phone the sidebar button no longer opens the sidebar behind a channel (#34308) 2026-11-16 15:34:48 +09:00
G30 89e038b80c fix: a channel's unread badge clears when you come back to the page showing it (#34451) 2026-11-16 15:29:05 +09:00
G30 32243bdf70 fix: Esc and Ctrl+Enter in a channel message's edit box act on that edit box (#34326) 2026-11-14 14:31:05 +09:00
G30 5e8f48a7e0 fix: the focus shortcut puts the cursor in the channel's message box (#34345) 2026-11-13 19:05:26 +09:00
G30 258b67c560 fix: a channel thread loads its older replies again (#34336) 2026-11-13 18:04:55 +09:00
G30 9348eac5b5 fix: a half-typed mention in a hidden channel no longer takes Enter from other tabs (#34361) 2026-11-13 17:37:46 +09:00
Timothy Jaeryang Baek 4720ff19e7 refac 2026-11-13 17:36:00 +09:00
Classic298 30d04aa159 fix: private answers to app buttons in a channel never show (#34206)
When someone pressed a button on an app message in a channel and the app answered only for them (a card, a file to download or an error), the answer never appeared. Private answers to a mention of the app were not affected. Button answers now show again under the app's message, marked "Only visible to you" for the presser alone.

Fixes #34205
2026-11-12 21:23:53 +09:00
Timothy Jaeryang Baek 8588bd2a72 refac 2026-11-11 10:20:45 +09:00
Timothy Jaeryang Baek da850248d1 refac 2026-11-10 15:56:52 +09:00
Timothy Jaeryang Baek 553b18a34d refac 2026-11-09 16:04:13 +09:00
Classic298 b13d02e092 fix: copy buttons, clipboard prompts and Auto-Copy Response break over plain HTTP on a LAN address (#33939)
Opened by an address such as http://192.168.1.20:8080 (no HTTPS, not localhost), the browser gives the page no direct clipboard access, and several things broke. Copy link on a comment and in search, Copy Share Link in Shared Chats, the webhook Copy URL, the Chat ID in the chat status bar, Copy branch name and Copy commit hash in the Git panel and the copy button of spreadsheet previews copied nothing, Copy Formatted Text pasted the ** and # symbols instead of the formatting, copied text lost its last line break, prompts using {{CLIPBOARD}} could not be inserted, and switching on Auto-Copy Response did nothing and was not saved. These copies now work on such addresses with the exact text and formatting, and {{CLIPBOARD}} prompts insert with the "Failed to read clipboard contents" message shown whenever the browser refuses clipboard access. Auto-Copy Response cannot work there, since the browser only lets a page copy right after a click, so the switch now stays off and shows its clipboard permission message.

Fixes #33927
Fixes #33934
Fixes #33935
Fixes #33937
Fixes #33938
2026-11-08 08:52:11 -05:00
Timothy Jaeryang Baek 21fc016141 refac 2026-11-08 21:57:07 +09:00
Timothy Jaeryang Baek 41f64e7054 refac 2026-11-08 12:08:09 +09:00
Timothy Jaeryang Baek 752bdbd322 refac 2026-11-08 12:06:16 +09:00
Timothy Jaeryang Baek 53b1b1928b refac 2026-11-08 11:56:40 +09:00
Classic298 b8b8ba9586 fix: Webhooks window resets whenever a message arrives in the channel (#33776)
With a channel open and its Webhooks window open from Edit Channel, every new message in that channel sent the window back to the webhook list, including a post from the webhook itself. The selected webhook closed and a changed name or image that was not saved yet was lost. The window now resets only when it opens, so new messages no longer interrupt an edit.

Fixes #33775
2026-11-06 08:20:18 +09:00
Timothy Jaeryang Baek 7efb494a2b refac 2026-11-05 22:38:02 +09:00
Timothy Jaeryang Baek 75f8ae5584 refac 2026-11-05 22:25:44 +09:00
Classic298 017d0c3271 perf: channels open faster by loading messages alongside the channel details (#33688)
Opening a channel waited for the channel details to arrive before it even asked for the messages, so the wait was the two requests added together. Both requests now start at the same time. A channel that fails to load still sends you back to the home page and shows no messages.
2026-11-05 06:50:28 +09:00
Timothy Jaeryang Baek f7b3029a69 refac 2026-11-05 05:39:09 +09:00
G30 f36807a55f fix(a11y): buttons keep keyboard focus while they save (#33673) 2026-11-04 05:04:47 +09:00
Timothy Jaeryang Baek 0c64e5d596 chore: format 2026-11-03 17:36:03 +09:00
Timothy Jaeryang Baek 563d621854 refac 2026-11-03 16:36:49 +09:00
Timothy Jaeryang Baek b96993c9b7 refac 2026-11-02 01:59:22 +09:00
Timothy Jaeryang Baek a1def62b5a refac 2026-11-01 20:55:09 +09:00
Timothy Jaeryang Baek d7f35badc3 refac 2026-11-01 19:07:35 +09:00
Timothy Jaeryang Baek db971b7d38 refac 2026-11-01 19:04:51 +09:00
G30 1dd3793d4e fix(a11y): drawers keep keyboard focus inside and are announced as dialogs (#33547) 2026-11-01 17:49:45 +09:00
Timothy Jaeryang Baek 9959fc95a2 refac 2026-11-01 12:31:11 +09:00
G30 02df5b092c fix(channels): focus thread input on reply in thread (#33467) 2026-11-01 09:17:48 +09:00
Timothy Jaeryang Baek 08f197ad8d refac 2026-11-01 09:17:22 +09:00
Timothy Jaeryang Baek 3361943104 refac 2026-11-01 09:15:14 +09:00
G30 a3801c4bd5 fix(a11y): 25 fields, switches and buttons with no name, or only a placeholder, have names (#33471) 2026-11-01 09:07:16 +09:00
Timothy Jaeryang Baek a3e261d4cb refac 2026-10-31 18:23:26 +09:00
G30 c4daef0c94 fix(a11y): icon buttons named only by a tooltip have names (#33454) 2026-10-31 17:37:16 +09:00
Classic298 c9ee89467e feat: {{USER_ROLE}} prompt variable for the signed-in user's role (#33441)
Prompts could use the user's name and email but not their role, so role-aware system prompts needed a custom Filter function. Model system prompts, the user's own system prompt, saved prompts used with a slash command and chat requests through the API now replace {{USER_ROLE}} with the role, such as admin or user. Requested in #4765.
2026-10-31 07:47:17 +09:00
G30 24c891fabe fix(a11y): fields in windows and the Settings window have names (#33424) 2026-10-31 05:06:06 +09:00
G30 476b6f49e4 fix(a11y): fields on Workspace, Notes, Playground and chat pages have names (#33422) 2026-10-31 05:05:51 +09:00
G30 d89ed162dd fix(a11y): a channel message's Add Reaction, Pin, Edit and Delete buttons have names (#33410) 2026-10-31 04:39:47 +09:00
G30 f2a990f6da fix(a11y): every window has a name for screen readers (#33412) 2026-10-31 04:39:32 +09:00