Fix channels UI avatars and add peer/channel buttons#608
Merged
shocknet-justin merged 1 commit intomainfrom Apr 18, 2026
Merged
Fix channels UI avatars and add peer/channel buttons#608shocknet-justin merged 1 commit intomainfrom
shocknet-justin merged 1 commit intomainfrom
Conversation
Populate channel list avatars with stable robohash URLs from channel id or point, use sensible image dimensions and empty alt to avoid broken- image text layout. Ellipsize long peer labels in the flex row. Replace plain text peer/channel triggers with Ionic buttons and scoped styles matching the channels gradient theme. Co-authored-by: Justin (shocknet) <shocknet-justin@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
avatar: ""and rendering a 12×12<img>, which produced broken images and vertical alt text that broke the layout. Avatars now use a stablerobohash.orgURL derived fromchannel_id, thenchannel_point, thenlabel, with 32×32 display size,object-fit: cover, and emptyaltso no placeholder text appears if the image fails.IonButtoncontrols (primary + outline) and scoped.Channels_open-actionsstyles consistent with the channels page spacing.Testing
npx eslinton the touched Channels files (project-widenpm run linthas pre-existing failures).npm run test.unitcurrently fails in unrelated specs; no new failures attributable to these changes were isolated.