-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP Implement downvote modes #723
Conversation
Can I get some description on what the problem is and what your plan/solution/goal for this is? while I can sort of guess what it's supposed to do (add 3 modes of handling dislikes: process as normal, process but don't show, discards them entirely), but having a concrete description/spec/goal would help greatly in getting it working, and also avoids misunderstanding on what the goals are for other contributors
as for that, I think a good place to start would be to add this info as a nodeinfo perhaps it could look like this: {
// ...
"metadata": {
// whether the instance process Dislikes (downvotes) at all
"enableDislike": true,
// whether the instance is willing to disclose/publish known dislikes, possibly optional
"publishDislike": true,
}
} |
Just for a bit of context, I had mentioned trying to assist with this (but think your clarifying questions are useful and don't want to answer in @thepaperpilot's place if there's time) |
That metadata field looks reasonable to me 👍 And yes, that's the general idea behind this PR. I'll write some basic user stories to better define the goals with the PR:
And as for required work I'm hoping (and grateful) to get help with:
|
As for the inter-server communication about the handling, I just realized it'd probably make sense to keep it open enough for future implementations that are more finely grained to work. In theory, communities or even individual thread creators might want to disable downvotes without affecting the rest of the site. Regardless, I think dealing with that is OOS for this PR, and is something that should be discussed with input from other threadiverse apps, like you suggested. |
This PR is stale because it has been open 40 days with no activity. |
This PR is stale because it has been open 40 days with no activity. |
I am guessing that I will close this PR, as I cannot push to the branch of thepaperpilots repo. So I'll create a new branch in our repo and make a PR for it |
When you do, can you mention this pr or link to the new one here? I'd like to follow it |
Of course. I wouldn't use your code without linking back to you :) |
Closed in favor of #1022 |
This is a WIP PR, but I've been struggling to find time to complete it. Really it's down to just testing to make sure it works everywhere and that I didn't miss any API endpoints or anything. I'm also wondering if there's anything we should do to communicate to other servers if we support downvotes or not (I don't think AP has a standard for that though - perhaps something to discuss with the lemmy devs?)
I'd appreciate help from the community to get this PR ready to merge, if possible. I believe there was also an issue with it not loading the setting correctly from the DB, but my dev environment isn't playing nice so I can't even look at that right now (but I'll try to restore my dev environment when I do have time).
Closes #482