Skip to content

fix(desktop): keep channel header search/add icons always visible#1144

Merged
tlongwell-block merged 1 commit into
mainfrom
eva/channel-header-icons-always-visible
Jun 19, 2026
Merged

fix(desktop): keep channel header search/add icons always visible#1144
tlongwell-block merged 1 commit into
mainfrom
eva/channel-header-icons-always-visible

Conversation

@tlongwell-block

Copy link
Copy Markdown
Collaborator

Problem

The "Channels" header search (🔍) and add (+) icons in the left channel bar fade to opacity-0 unless the section is hovered or focused. At rest they're invisible, so users can't discover how to browse or create channels. Reported by Tyler in #buzz-bugs.

Cause

SectionHeaderActions (desktop/src/features/sidebar/ui/CustomChannelSection.tsx) applies SECTION_ACTION_VISIBILITY_CLASS (opacity-0 … group-hover/focus-within:opacity-100) to the browse and create buttons. #856 originally made these always visible; a later sidebar-polish pass reintroduced the fade — so this is a regression.

Fix

Drop SECTION_ACTION_VISIBILITY_CLASS from those two buttons. They now render at the shared SECTION_ICON_BUTTON_CLASS resting opacity (50%) and still brighten on hover/focus, matching every other always-present sidebar icon. The contextual mark-all-read (✓✓) button keeps its hover-reveal behavior — it only appears on unread and wasn't part of the report.

2 insertions, 8 deletions, one file.

Verification

  • biome check ✓ · tsc --noEmit
  • pre-commit + pre-push hooks green (rust-tests, desktop-test, mobile-test, tauri-test)

The "Channels" header browse (search) and create (+) buttons in
SectionHeaderActions carried SECTION_ACTION_VISIBILITY_CLASS, fading them
to opacity-0 unless the section group was hovered or focused. Users had
no way to discover them at rest. #856 originally made these always
visible; a later sidebar-polish pass reintroduced the fade.

Drop the visibility class from both buttons so they render at the shared
SECTION_ICON_BUTTON_CLASS resting opacity (50%) and still brighten on
hover/focus, matching every other always-present sidebar icon. The
contextual mark-all-read button keeps its hover-reveal behavior.

Co-authored-by: npub1qyvc0c5kl4gqv2fd97fsk46tu378sqgy35vc83rvgfwne90sel7s0ed67d <011987e296fd5006292d2f930b574be47c7801048d1983c46c425d3c95f0cffd@sprout-oss.stage.blox.sqprod.co>
Signed-off-by: npub1qyvc0c5kl4gqv2fd97fsk46tu378sqgy35vc83rvgfwne90sel7s0ed67d <011987e296fd5006292d2f930b574be47c7801048d1983c46c425d3c95f0cffd@sprout-oss.stage.blox.sqprod.co>
@tlongwell-block tlongwell-block merged commit 9c68528 into main Jun 19, 2026
25 checks passed
@tlongwell-block tlongwell-block deleted the eva/channel-header-icons-always-visible branch June 19, 2026 17:26
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