Chukwudi Nwobodo e21687300e perf: debounce composer draft localStorage writes
Every keystroke triggered full JSON serialization of all composer drafts
(including base64 image attachments) and a synchronous localStorage
write. At normal typing speed this caused 5+ writes/sec, blocking the
main thread and creating noticeable input lag.

Wrap the Zustand persist storage with a 300ms debounce. In-memory state
updates remain immediate; only the serialization and storage write are
deferred. A beforeunload handler flushes pending writes to prevent data
loss. The removeItem method cancels any pending setItem to avoid
resurrecting cleared drafts.

Adds unit tests for the DebouncedStorage utility covering debounce
timing, rapid writes, removeItem cancellation, flush, and edge cases.
2026-03-08 06:21:52 +00:00
2026-03-05 23:07:59 -08:00
2026-02-26 13:20:36 -08:00
2026-02-26 13:20:36 -08:00
fmt
2026-02-26 16:58:27 -08:00
2026-02-09 02:07:17 -08:00
2026-03-05 22:58:18 -08:00
2026-02-26 13:20:36 -08:00
2026-02-09 01:11:20 -08:00
2026-02-26 19:27:08 -08:00

T3 Code

T3 Code is a minimal web GUI for coding agents. Currently Codex-first, with Claude Code support coming soon.

How to use

Warning

You need to have Codex CLI installed and authorized for T3 Code to work.

npx t3

You can also just install the desktop app. It's cooler.

Install the desktop app from the Releases page

Some notes

We are very very early in this project. Expect bugs.

We are not accepting contributions yet.

Need support? Join the Discord.

S
Description
T3 Code fork for Android and server fixes
Readme MIT
902 MiB
0 Stars 1 Watchers 0 Forks
2026-09-20 14:36:07 +02:00
Languages
TypeScript 95.5%
MDX 2.1%
JavaScript 0.7%
Astro 0.3%
CSS 0.3%
Other 0.9%