Lemmy 1.0: Respect per-community vote settings
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 64/100
Research direction
Start by tracing VoteAction from where it is enabled for posts and comments, then inspect how LemmyCommunity exposes the four vote settings and how the current user’s community membership is represented. Disable the relevant action when the setting is disable or the user does not meet its audience rule; verify that each post and comment vote action reflects its matching setting.
Written by the indexing model from the issue text.
Description
On Lemmy 1.0, moderators can choose who can vote on the community's posts:
// LemmyCommunity.swift
public let postUpvotes: LemmyVoteSettings?
public let postDownvotes: LemmyVoteSettings?
public let commentUpvotes: LemmyVoteSettings?
public let commentDownvotes: LemmyVoteSettings?
public enum LemmyVoteSettings: String, Codable, Sendable {
case all, local, subscribed, disable
}
We should disable VoteAction when it's not possible for the user to vote
- Dominant language
- Swift
- Stars
- 249
- Forks
- 37
- Avg merge
- 4d 2h
- Merged PRs (30d)
- 24
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mlemgroup/mlem
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
mlemgroup/mlem#3158 · 1 comment ·
Maintainers usually reply within 2 days
-
easy
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 2 days
-
easy
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Maintainers usually reply within 2 days
-
easy
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
Maintainers usually reply within 2 days
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
macos-27 menubar punkto regression
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
thaw-app/Thaw#1791 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 Half a day Newbie friendliness 78/100
Maintainers usually reply within 4 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
bug help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Agent-Clubhouse/Clubhouse-Go#902 ·
Maintainers usually reply within 1 day