Skip to content

Fix upvote arrow not showing as orange in /inbox/all (fixes #2128) - #2210

Open
oyamairishitomi wants to merge 1 commit into
lobsters:mainfrom
oyamairishitomi:fix-inbox-upvote-arrow
Open

oyamairishitomi wants to merge 1 commit into
lobsters:mainfrom
oyamairishitomi:fix-inbox-upvote-arrow

Conversation

@oyamairishitomi

Copy link
Copy Markdown

The vote arrow for already-voted comments in the comment list did not appear orange when /inbox/all was loaded. The issue was that CommentVoteHydrator was not being enumerated, even though it implements Enumerable. Added .to_a to CommentVoteHydrator.new(comment_notifications, @user) in the apply_current_vote method.

Fixes #2128

image

@pushcx

pushcx commented Sep 14, 2026 •

Copy link
Copy Markdown
Member

Thanks for taking this on.

The way this works by side effect is pretty subtle, could you remove the misleading comment_notifications = and add a comment to explain why it works?

@pushcx

pushcx commented Sep 30, 2026

Copy link
Copy Markdown
Member

...and sorry about the build failures, they're unrelated to your work and will disappear if you rebase onto main.

This branch has not been deployed

No deployments
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.

lobste.rs/inbox/all does not indicate that we've upvoted comments

2 participants