wjs018
- 2 Posts
- 18 Comments
wjs018@piefed.wjs018.xyzto PieFed Meta@piefed.social•What are your ideas to improve PieFed? Vote for your favorites!English5·8 days agoI’d like to sort communities by Top X amount of time, IIRC that was already in the works.
This is already live. If you are viewing a community, click
Top
in the bar and it should be a dropdown menu where you select the timerange:If you are on a small mobile screen (like using the PWA), the different time options are listed out with the other sort options:
wjs018@piefed.wjs018.xyzto PieFed Meta@piefed.social•What are your ideas to improve PieFed? Vote for your favorites!English2·8 days agoYeah, that should work then. I haven’t really looked at that portion of the code, but I can try to take a peek.
wjs018@piefed.wjs018.xyzto PieFed Meta@piefed.social•What are your ideas to improve PieFed? Vote for your favorites!English8·8 days agoHmm, that is an interesting idea…
I might look into this one. Would something like voting buttons in the crosspost dropdown be an acceptable alternative? I think I would prefer to keep 1 action (click) means 1 vote, but making it easier to vote on crossposts makes sense with the way that piefed consolidates comments.
So, voting buttons here maybe? (no promises, just an idea) -
wjs018@piefed.wjs018.xyzto PieFed Meta@piefed.social•What are your ideas to improve PieFed? Vote for your favorites!English6·8 days agoThis is planned for the 1.2 release (at least it is on the kanban board).
wjs018@piefed.wjs018.xyzto PieFed Meta@piefed.social•What are your ideas to improve PieFed? Vote for your favorites!English3·8 days agoDo you mean on the bar with the voting buttons instead of being behind the three dots menu?
wjs018@piefed.wjs018.xyzto PieFed Meta@piefed.social•What are your ideas to improve PieFed? Vote for your favorites!English4·8 days agoAre you using an app or the web ui? It is still an open issue that posts are not being marked as read when they are interacted with via the api. It should work as expected if you use the web ui.
wjs018@piefed.wjs018.xyzto PieFed Meta@piefed.social•What are your ideas to improve PieFed? Vote for your favorites!English7·8 days agoI’ve done a lot of work on the markdown to html edge cases. So, I think things like bold and italics intermingling and garbling each other shouldn’t happen any more. If it does, feel free to let me know!
wjs018@piefed.wjs018.xyzto PieFed Meta@piefed.social•What are your ideas to improve PieFed? Vote for your favorites!English4·8 days agoI don’t think that’s the issue since you can upload images for an image post. It’s more the effort of doing file uploads from a dynamically inserted part of the page (the reply box). I don’t know enough Javascript to be able to do that.
wjs018@piefed.wjs018.xyzto PieFed Meta@piefed.social•Mobile Browser - Leave button placementEnglish6·9 days agoNot a bad suggestion. When you are browsing the
/communities
page for example, the leave buttons are in thewarning
color (yellow if you are using the default dark theme) while the join buttons are in theprimary
color (blue). I can try to whip up some code for this.
wjs018@piefed.wjs018.xyzto PieFed API & mobile app dev@piefed.social•400 Errors when hitting API endpoint `alpha/site`English2·15 days agoI think that is fine and don’t see a problem with that. As for when this issue will get fixed, I merged a fix so other instances hopefully don’t get it, but that won’t make it onto piefed.social until the Kiwis wake up and @[email protected] is back online.
wjs018@piefed.wjs018.xyzto PieFed API & mobile app dev@piefed.social•400 Errors when hitting API endpoint `alpha/site`English3·15 days agoOk, I was able to reproduce this and made a PR for a fix. This issue only pops up when a user has instance blocks and works fine otherwise, which is why others in this thread (and myself when I was testing) aren’t running into issues.
The root cause really is that I was creating schema for input and output validation to match the manually created swagger docs, but the output for
instance_blocks
was different than specified (and I marked it as a required field, likely from a copy/paste error). So, thanks for helping us as we are going through endpoints and making them self-documenting.
wjs018@piefed.wjs018.xyzto PieFed Meta@piefed.social•Manage notification button missing in firefoxEnglish5·16 days agoThis is actually a known issue: https://codeberg.org/rimu/pyfedi/issues/1018
The basic takeaway is that you must have already enabled notifications by clicking the enable button that shows up in that box. Then, since they are enabled, the button doesn’t show up any more, so there is just an empty box left. To disable notification, you need to do that through your browser. It’s on the list to make this UI a bit clearer at some point.
Edit: This is what it looks like if you don’t have notifications enabled
wjs018@piefed.wjs018.xyzto PieFed Meta@piefed.social•Hosting a PieFed instance - Image storageEnglish12·17 days agoYep! Absolutely. Here is the relevant portion of the docs.
I am using R2 for my instance and I set up those environment variables in my
.env
file before building the docker container for the first time, and everything just worked. The specifics of different S3 providers can vary a bit. There is a special set of instructions for using Wasabi S3 for example (I think this was contributed by Jerry of feddit.online).
wjs018@piefed.wjs018.xyzto PieFed API & mobile app dev@piefed.social•Introductions - who are you and which app are you working on?English7·22 days agowjs018 - a contributor to piefed, mainly doing UI/UX stuff for the web interface rather than the api. I am not a dev by trade, instead I do biophysics, like at a lab bench in a lab coat and all that. My first foray into programming was when I was in grad school and I had to learn enough IDL and python to rewrite a bunch of IDL scripts into python so that any of us knew what the hell they did. Then, I changed the whole direction of my PhD thesis and didn’t need any of that…however, I did stick with python as a bit of a hobby, and the rest is history.
wjs018@piefed.wjs018.xyzto PieFed Meta@piefed.social•My "Attitude" is getting worse the more I become invested?English3·25 days agoSpecifically, from looking at the code, it counts the most recent 50 votes on posts and the most recent 50 votes on comments for the calculation.
wjs018@piefed.wjs018.xyzto PieFed Meta@piefed.social•My "Attitude" is getting worse the more I become invested?English7·25 days agoWhen you don’t have too many votes cast, it doesn’t take much to cause a big swing. There is a section in the code where it doesn’t actually calculate the attitude until after 3 votes are cast, but perhaps that should be increased.
wjs018@piefed.wjs018.xyzto PieFed Meta@piefed.social•My "Attitude" is getting worse the more I become invested?English8·25 days agoAttitude, like others have mentioned is given by:
(upvotes cast - downvotes cast) / (upvotes + downvotes)
If you want to see exactly how it is done, here is the code reference. Basically, it is just a number between -1 and 1 (-100% to 100%) based on the votes you have made. It can be different on different instances depending on what has federated to where. For example, on instances with downvotes disabled, everybody has a 100% attitude!
This should already be live. In your user settings on the
Blocks & Filters
page, you will want to look for these options:Since you are on piefed.social, rimu has tried to designate basically all the meme communities as “low quality” so that they are easily filterable by checking that box (new ones pop up all the time though). Additionally, the text box below lets you filter based on community name.