Notes from Kbin's Matrix Logs - iii

nb VERY ROUGH, Non Canonical:

3a. 11/6/2023, 18:09:31 - dannekrose: https://kilioa.org/m/kbinMeta@kbin.social/t/266

 3b. 11/6/2023, 19:21:35 - frogster: <@gauthierplm:matrix.org "I'm
 looking at the code and I ca..."> Yes, boosts used to also be
 upvotes, now likes are upvotes.
     Boost and like are activity-pub concepts, so they ought to work the same across all activitypub projects (like mastodon).
     A like just marks a post as liked and a boost takes a post and broadcasts it to your followers/puts it on your account timeline.

 3c. 11/6/2023, 19:24:27 - frogster: Kbin has a separate voting and ranking mechanism that utilized these AP-concepts on top of their normal use. A like will also upvote a post/contribute to its score. A downvote will decrease the score and currently has no activitypub equivalent. 
     Boosts do the boosting thing I talked about and also push a post to the top of the "active" section. They don't contribute to the voting score

 3d. 11/6/2023, 18:19:49 - gauthierplm: dannekrose: so basically, when clicking on boost, it goes to the boost route of the object (ex: post_boost), which goes to App\Controller\BoostController
     There , the call is done to $manager->vote

 3e. 11/6/2023, 18:20:02 - dannekrose: The Activity Pub message that is generated is probably going to look very similar between a boost and an "upvote"

 3f. 11/6/2023, 18:20:44 - gauthierplm: It purely does a `$this->manager->vote(VotableInterface::VOTE_UP, $subject, $this->getUserOrThrow());`, and I can't find anything related to boost particularly. Maybe I'm just missing it from some handler?

 3g. 11/6/2023, 18:21:26 - dannekrose: It might help to look at this commit then: https://codeberg.org/Kbin/kbin-core/commit/d592ef2439525a7fac91965373da3cf828d49b7b

 3h. 11/6/2023, 18:24:43 - dannekrose: That's the commit that swapped the older behavior to the current one with regards to boosts and "upvotes" (not sure how much other fediverse experience you have, but other platforms call them "likes", "favorites", "stars")

 3i. 11/6/2023, 18:35:29 - gauthierplm: Okay, I may have understood how it works:
     If you upvote, the type of your vote will be « NONE ». If you boost, it will becomes « UP », if you downvote, it become « DOWN ».

 3j. 11/6/2023, 18:35:44 - gauthierplm: So you can't downvote & boost, or upvote & boost at the same time

 3k. 11/6/2023, 18:38:23 - dannekrose: <@gauthierplm:matrix.org "Okay, I may have understood how ..."> Sounds like he just swapped out the mappings but kept the types.

 3l. 11/6/2023, 18:39:07 - dannekrose: Because with regards to the UI, the "boost" link doesn't increase the vote count (at least it seems that way).

 3m. 11/6/2023, 18:40:33 - gauthierplm: I tested it and it does : if you downvote and then boost, it becomes an upvote.

 3n. 11/6/2023, 18:40:48 - gauthierplm: If you don't have any vote and boost, it will be upvoted

 3o. 11/6/2023, 18:41:00 - gauthierplm: If you remove you upvote, the boost will be removed

 3p. 11/6/2023, 18:42:09 - dannekrose: I'm running basically the latest, too, but I don't see that behavior.

 3q. 11/6/2023, 18:42:45 - gauthierplm: Try this:
     1) boost a test post
     2) downvote it
     -> the boost is gone
     11/6/2023, 18:43:25 - gauthierplm: 1. downvote a post
     2. boost it
     -> the downvote is gone, but indeed it's not displayed as upvoted (for some reason)

 3r. 11/6/2023, 18:46:07 - dannekrose: Are you talking about "Posts" or "Threads"?

 3s. 11/6/2023, 18:47:03 - dannekrose: I'm assuming threads since microblog posts don't seem to have a downvote.

 3t. 11/6/2023, 18:48:33 - dannekrose: I can see that "upvote" does federate out as a "Like" to other platforms.

 3u. 11/6/2023, 18:50:47 - dannekrose: Boost also seems to work as expected.

 3v. 11/6/2023, 18:51:08 - dannekrose: What is unexpected is that kbin doesn't seem to let you boost content multiple times like other platforms.

 3w. 11/6/2023, 18:51:21 - dannekrose: But it does let you upvote multiple times.

 3x. 11/6/2023, 18:52:31 - gauthierplm: <@dannekrose:matrix.org "Are you talking about "Posts" or..."> I was talking about threads :)

 3y. 11/6/2023, 18:53:38 - gauthierplm: I submitted a PR to fix issue [#47](https://codeberg.org/Kbin/kbin-core/issues/47) but it remains unclear. Hopefully I can talk to ernest some day to understand it better. :)
  • All
  • Subscribed
  • Moderated
  • Favorites
  • xq_icebreaker
  • DreamBathrooms
  • magazineikmin
  • InstantRegret
  • GTA5RPClips
  • ethstaker
  • Youngstown
  • everett
  • slotface
  • osvaldo12
  • rosin
  • mdbf
  • kavyap
  • thenastyranch
  • ngwrru68w68
  • megavids
  • Durango
  • modclub
  • cubers
  • khanakhh
  • Leos
  • tacticalgear
  • cisconetworking
  • vwfavf
  • tester
  • anitta
  • normalnudes
  • provamag3
  • JUstTest
  • All magazines