Guild banner: collapse on scroll, 30 vh cap, detached mode, real aspect #208

Open
opened 2026-11-12 04:37:44 +00:00 by charles · 0 comments
Owner

The sidebar banner is drawn integrated, sidebar width / (16/9) high, and stays put. The original (useGuildBannerPresentation.ts:103-179, GuildBannerCollapse.ts:21-58, GuildHeader.module.css:48-82) also: caps the height at 30 % of the window; collapses it as the channel list scrolls (spacer of the collapse distance, image translated and faded, the frosted header fading in to 0.72 over the first 16 px); uses the banner's own aspect (banner_width/banner_height, not modelled in fluxer_proto::Guild); and has the DETACHED_BANNER guild feature's separate block (GuildDetachedBanner.tsx, max 30 vh, does not collapse). The animated banner should also stop when collapsed. Found while building entity images (branch feat-entity-images).

The sidebar banner is drawn integrated, `sidebar width / (16/9)` high, and stays put. The original (`useGuildBannerPresentation.ts:103-179`, `GuildBannerCollapse.ts:21-58`, `GuildHeader.module.css:48-82`) also: caps the height at 30 % of the window; collapses it as the channel list scrolls (spacer of the collapse distance, image translated and faded, the frosted header fading in to 0.72 over the first 16 px); uses the banner's own aspect (`banner_width`/`banner_height`, not modelled in `fluxer_proto::Guild`); and has the `DETACHED_BANNER` guild feature's separate block (`GuildDetachedBanner.tsx`, max 30 vh, does not collapse). The animated banner should also stop when collapsed. Found while building entity images (branch `feat-entity-images`).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#208
No description provided.