Skip to content

fix(web): start the composer fade at its visible edge - #764

Merged
nixuuu merged 1 commit into
devfrom
fix/fade-from-composer-edge
Nov 14, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/fade-from-composer-edge

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 14, 2026

Copy link
Copy Markdown
Member

The fade above the composer now starts right at the composer's visible edge instead of above the whole footer shell. Before, the shell (including the reserved strip above the composer) was solid surface and the gradient began only above it, so "Jump to latest" sat on a solid band with the gradient starting behind it. Now the solid surface covers only the area below the visible edge (--feed-edge, measured by footer-edge.ts), and a 4 rem gradient rises from that edge, so the button sits on the colour transition — the fade reads as the composer's shadow.

Related: #750, #756

Checked on the /dev/long-thread route in Chromium, dark and light, scrolled up with Jump to latest visible.

Checks: format:check, lint, web typecheck.

@nixuuu
nixuuu merged commit 095f8c2 into dev Nov 14, 2026
11 checks passed
@nixuuu
nixuuu deleted the fix/fade-from-composer-edge branch November 14, 2026 23:56
nixuuu added a commit that referenced this pull request Nov 15, 2026
Rows scrolled under the header were cut off at a hard line right below
the active tab, so the tab looked detached from the thread. A 1.5 rem
gradient from the thread surface colour to transparent now sits at the
top of the feed (same colour as the active tab and the composer fade).
Rows blend into the tab as they scroll under it, and the edge hints that
there's more above. It's hidden at the very top (scrollTop 0), where
nothing is above, and fades in and out with the motion tokens (off under
reduced motion). It covers the feed only, not the scrollbar gutter, and
doesn't catch pointer events.

Related: #750, #764

Checked on `/dev/long-thread` in Chromium, dark and light, scrolled up.

Checks: format:check, lint, web typecheck.
nixuuu added a commit that referenced this pull request Nov 22, 2026
## Summary

- Fit the bottom fade into the existing 32 px gap below the last
message, event group or timeline row. Bot chats and threads use the same
renderer.
- Continue the backdrop under the transparent scrollbar track while
keeping the composer aligned with the message column.
- Update the bot and transcript docs.

Fixes: #764

## Verification

- Chromium with an isolated development stack. Checked the bottom of bot
chats at 1280 px and 390 px, light and dark themes, a final message and
a final event group, and a thread timeline using the shared feed.
- Expanded and collapsed the last event group, used Home and End, and
returned via Jump to latest. Sampled screenshot pixels across the 10 px
scrollbar gutter boundary. The headless captures did not show the thumb.
Native Electron was not run separately.
- Web typecheck, lint and formatting on the edited component, and diff
checks passed locally. GitHub Actions runs the repository-wide gate.
- Copy audit does not apply. UI strings are unchanged.
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