Commit Graph
46 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 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 da850248d1 refac 2026-11-10 15:56:52 +09:00
Timothy Jaeryang Baek 0c64e5d596 chore: format 2026-11-03 17:36:03 +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 9d1b4ef362 refac 2026-10-30 16:01:47 +09:00
Timothy Jaeryang Baek be8ebed784 refac 2026-10-29 16:37:21 +09:00
Timothy Jaeryang Baek d14d8788af refac 2026-10-29 16:23:53 +09:00
G30 d00044cdda fix: opening another channel thread after a search result no longer shows it empty (#32517) 2026-10-16 14:08:41 +04:00
G30 0696bfdf27 fix: a reply started in one channel thread no longer carries over to the next thread (#32490)
On a wide window the thread side panel keeps one Thread instance while
you open another thread, and initHandler reset the messages and typing
state for the new thread but not replyToMessage. The "Replying to"
banner stayed, and sending saved the new thread's message quoting a
message from the previous thread.

Clear replyToMessage in initHandler, as #31376 does for switching
channels.
2026-10-16 03:00:42 +04:00
Timothy Jaeryang Baek b4db56ae96 refac 2026-10-16 02:46:20 +04:00
Timothy Jaeryang Baek f9c524d31d refac 2026-10-14 15:54:56 +04:00
Timothy Jaeryang Baek 7937e8a1fd refac 2026-10-07 16:06:08 +04:00
Timothy Jaeryang Baek 8a4547104c refac 2026-10-01 08:13:45 +04:00
G30 b988f06ce0 fix: drop every local reference to a channel message that was deleted (#30314) 2026-09-21 11:32:14 -04:00
G30 b38755b21c fix: keep sticky code block headers at the top of channel scroll containers (#29836)
* fix: keep sticky code block headers at the top of channel scroll containers

* fix: clip the sticky code block header to the block's rounded corners

* fix: give channel scroll containers their own layer so firefox clips sticky code headers
2026-09-09 12:12:15 -04:00
G30 31897b7e34 fix: stop channel message hover actions overlapping code and table toolbars (#27737) 2026-08-17 01:20:54 -06:00
G30 783e87c0c5 fix: dock the thread reply input below the scroll area instead of inside it (#27768) 2026-08-12 02:06:20 -05:00
Timothy Jaeryang Baek aedb6bef4e refac 2026-07-14 04:15:20 -04:00
Timothy Jaeryang Baek 7ea7680f56 refac 2026-06-29 12:59:05 -05:00
G30 5112e0b62c fix: add null guards to channel Thread and PinnedMessagesModal components (#25209)
Thread.svelte: Add null check for messagesContainerElement in scrollToBottom()
to match the existing pattern in Channel.svelte. Prevents potential TypeError
when the DOM element is not yet bound during rapid thread switches.

PinnedMessagesModal.svelte: Move res.length check inside the if (res) block.
Previously, res.length was accessed unconditionally after a guarded block,
causing TypeError when the API call fails and the .catch() returns null.
2026-05-31 15:01:17 -07:00
G30 8f3144adb5 fix(ui): close thread sidebar on parent message deletion (#22890) 2026-03-20 15:48:50 -05:00
Timothy Jaeryang Baek f981843852 refac 2026-01-01 13:45:37 +04:00
Timothy Jaeryang Baek c8c6a48b94 refac 2025-10-02 04:09:17 -05:00
Timothy Jaeryang Baek 1a18928c94 enh: reply to message 2025-09-27 04:05:12 -05:00
Timothy Jaeryang Baek f27ab14bd8 refac 2025-09-24 12:37:19 -05:00
Timothy Jaeryang Baek ac879513e5 enh: channel read/write perm 2025-09-24 10:09:59 -05:00
Timothy Jaeryang Baek db1730f47b refac 2025-09-17 10:18:26 -05:00
Timothy Jaeryang Baek bbd1d2b58c enh: channel suggestions 2025-09-16 21:41:47 -05:00
Timothy Jaeryang Baek adaa467f75 refac: styling 2025-09-15 14:08:07 -05:00
Peter Dave Hello 45180e829a i18n: add missing translations 2025-08-20 22:14:23 +08:00
Timothy Jaeryang Baek 78dce85b03 fix: thread image only message 2025-07-07 22:00:38 +04:00
Timothy Jaeryang Baek 9bd001a14b feat: note chat 2025-07-07 19:26:12 +04:00
Jesper Kristensen 84e0605835 Cleaning up usage of console log in front end 2025-05-15 21:53:07 +02:00
Timothy Jaeryang Baek e0ec2cdeb0 refac: $user 2025-03-31 20:32:12 -07:00
Timothy Jaeryang Baek a863f98c53 refac: toast error 2025-01-20 22:41:32 -08:00
Timothy Jaeryang Baek f7ecfafe1a refac: styling 2024-12-31 03:25:25 -08:00
Timothy Jaeryang Baek cce8f37ada refac 2024-12-31 02:58:15 -08:00
Timothy Jaeryang Baek 60247fe18d refac 2024-12-31 02:51:52 -08:00
Timothy Jaeryang Baek 3da7ff1721 refac 2024-12-31 02:42:46 -08:00
Timothy Jaeryang Baek c8cdc6377b refac 2024-12-31 02:30:03 -08:00
Timothy Jaeryang Baek 77da0a6cc1 refac: styling 2024-12-31 02:17:39 -08:00
Timothy Jaeryang Baek a754a4388a feat: channel threads 2024-12-31 02:16:07 -08:00
Timothy Jaeryang Baek 9c337552e6 enh: reply count 2024-12-31 02:05:11 -08:00
Timothy Jaeryang Baek 584e9e6da5 refac: threads 2024-12-31 00:51:43 -08:00