0 Followers
0 Following
11 Posts
Absolute legend - Lemmy Today

Thanks, TCP/IP - Lemmy Today

Question about modlog entities in the Lemmy API

https://lemmy.today/post/4732610

Question about modlog entities in the Lemmy API - Lemmy Today

Hi, I’m working on modlog display for the Voyager client and I have a quick question regarding mod log item views, specifically, the ModBanView (https://join-lemmy.org/api/interfaces/ModBanView.html [https://join-lemmy.org/api/interfaces/ModBanView.html]). If instance bans require admin rights, why is the person issuing the ban called “moderator” here? Same goes for some other items like ModAddView and ModAddCommunityView. Meanwhile, ModHideCommunity view uses “admin” instead. Unfortunately, there is no explanation in the API docs to help explain this apparent inconsistency. Can anyone help shed some light on this?

UPDATE: I played around with this some more and DID get it to replicate in the browser after all, confirming that it is, indeed, random.

When this situation occurs, it appears that the itemsRef prop on the Feed component still holds the old feed items.

I also noticed that unlike the other pages that contain a Feed component, the ProfilePage doesn’t have a FeedContextProvider (which keeps a copy of that itemRef, so I tried adding one, hoping it might resolve the problem. Unfortunately, it did not seem to help.

Anyone else have trouble switching accounts occasionally?

https://lemmy.today/post/4265563

Anyone else have trouble switching accounts occasionally? - Lemmy Today

This is a weird one, because I can’t even figure out how to reproduce it reliably, but when using the account switcher on the profile page, occasionally, after switching to another account, it will continue displaying the previous accounts’ profile. This only appears to happen with certain accounts, and only on my phone for some reason. I’ve tried adding the same accounts on the web app so I could use the React DevTools to try and see what’s going on, and I can’t get it to replicate there. Sometimes the new profile will take a second to load, but it always shows up. Not so on my phone. Has anyone else noticed this or is it just me having this issue?

Can I get a filesystem cleanup on aisle 6?

https://lemmy.today/post/4080156

Can I get a filesystem cleanup on aisle 6? - Lemmy Today

Manager: This task only takes 30 minutes. Why did it take you the whole day?

https://lemmy.today/post/4048603

Manager: This task only takes 30 minutes. Why did it take you the whole day?

https://lemmy.today/post/4048219

Manager: This task only takes 30 minutes. Why did it take you the whole day?

https://lemmy.today/post/4047504