Skip to content

fix(threads): tidy the queue tray and animate its disclosure - #616

Merged
nixuuu merged 1 commit into
devfrom
fix/threads-tray-disclosure
Nov 13, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/threads-tray-disclosure

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 13, 2026 •

Copy link
Copy Markdown
Member

Composer trays showed a downward chevron before revealing content upward, and the composer slot disabled their height transition. Make queue rows and headers slightly denser, share the correct disclosure direction across the queue, subagents, pending requests and background-task menu, and keep the header focus outline inside its rounded corner.

Web trays use the existing grid accordion with height, fade, a small slide and chevron rotation: slow open, medium close, smoothOut. The footer reserve follows the animated tray height without starting another shell animation; ordinary composer resizing retains its existing behavior. Desktop headers are 28 px and queue rows 32 px; phone headers and rows are at least 48 px. Text sizes are unchanged.

Native queue, subagent and background-task overlays share the upward chevron and a Reanimated height/fade/slide transition. Wait for anchor measurement before the entrance starts. Keep their existing portal layout, feed reserve, typography and 48 dp touch targets, with slightly tighter horizontal spacing. Request sheets retain their navigation chevron. Reduced motion skips the transitions.

Validation: nice -n 19 install, gen:check, typecheck, lint, formatting checks and web builds pass. All CI jobs for this head pass, including all four test shards. The full local check:tmp completed with 2675 pass, 166 skip and 12 fail across 503 files; its private temp directory is clean. Failures are in bots-harness.test.ts (one Grok session-recovery timeout), linked-thread-liveness.test.ts (five snapshot/checkpoint recovery failures), linked-timeouts.test.ts (three deadline/recovery failures), and remote-threads.test.ts (three linked-thread failures). The isolated Grok retry passed in 2.89 s with no temporary files left. This PR does not change gateway or worker code. The full local run is not green despite the successful CI run. No UI tests were added.

Real-browser review used an isolated remote stack and Chromium: light/dark, widths 1440/820/390, and 1/3/12 queued messages, including long previews. The 18 configurations have no horizontal overflow. After the view settles, expand/collapse keeps history anchors at 0 px drift and following clearance within 1 px. Recordings and frame strips confirm intermediate heights, opacity and rotation. An actual reduced-motion Chromium run has 0 s height/fade/chevron transitions, no active disclosure animations, 0 px history drift and a 41 px following gap. Review artifacts stay outside the repository; the disposable stack is cleaned up. Native motion is typechecked and reviewed, without device execution.

UI copy is unchanged; no copy audit changes are required.

Fixes: #589

@nixuuu
nixuuu force-pushed the fix/threads-tray-disclosure branch from 8396f10 to 0f1e1ef Compare November 13, 2026 09:06
@nixuuu
nixuuu force-pushed the fix/threads-tray-disclosure branch from 0f1e1ef to 0abe33c Compare November 13, 2026 09:10
@nixuuu
nixuuu marked this pull request as ready for review November 13, 2026 09:30
@nixuuu
nixuuu merged commit 38214a5 into dev Nov 13, 2026
14 checks passed
@nixuuu
nixuuu deleted the fix/threads-tray-disclosure branch November 13, 2026 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant