Redundant Engagement Counts?
How would people feel about a future version of Bookface removing the engagement counts from the Action Button? Now that the response info is reduced to an icon and a number the count on the Action Button with the same icon is redundant and makes the UI unnecessarily cluttered.
I know since the beginning of Bookface some people have found the engagement counts on the buttons too "busy" or "distracting" but before I remove them I thought I'd ask how people feel about that?
I don't know if anyone else has noticed it, but sometimes the engagement counts and responses don't agree. I *think* this is because the engagement counts are subtracting your own interactions? So in the screenshot above it's not counting my 2 comments and not counting my "Like" on the buttons, but is counting them in the response totals. Getting rid of the counts on the buttons would eliminate this inconsistency.
Thoughts?
Matthias
•You should discuss this with the project. The display under the Like/Dislike button is an option that can be activated or deactivated on the server.
This option was introduced after this user info was removed from the code. The demand for this was very high.
Alt Pygoscelis Papua
•I'm not sure I understand what you're telling me.
So server admins can turn off the responses entirely? Or would it still show the tallies but not the lists of people?
You said this user info was removed from the code, so future Friendica won't show the lists of who liked, disliked, shared, etc., at all?
Does that also make the numbers disappear on the action buttons?
Matthias
•You have understood correctly. The count list under the function button can be deactivated.
Alt Pygoscelis Papua
•Just tried it on my dev server. Looks like hiding it only works in Frio? It seems the themes have to have
{{if $item.legacy_activities}}
to support hiding it.You said the demand for this was very high. Was it an objection to showing the names or showing the totals or both?
I've been working on a theme similar to "Bookface" only based on Vier instead of Frio. One thing that has frustrated me are the engagement counts/lists because the code for them comes into the theme template already having been formatted in PHP, so then I have to use CSS to hide the bits I don't want which gets messy.
It would be so much better if only the DATA were coming into the templates, meaning the total and, I guess optionally, the array of names and links for that response. IMO no HTML formatting should be happening in PHP functions, it should be formatted in the templates. But changing it would require a bunch of edits to core files, which would break all the existing themes.
As far as I can tell the *only* reason it's being formatted in PHP is to handle singular a
... show moreJust tried it on my dev server. Looks like hiding it only works in Frio? It seems the themes have to have
{{if $item.legacy_activities}}
to support hiding it.You said the demand for this was very high. Was it an objection to showing the names or showing the totals or both?
I've been working on a theme similar to "Bookface" only based on Vier instead of Frio. One thing that has frustrated me are the engagement counts/lists because the code for them comes into the theme template already having been formatted in PHP, so then I have to use CSS to hide the bits I don't want which gets messy.
It would be so much better if only the DATA were coming into the templates, meaning the total and, I guess optionally, the array of names and links for that response. IMO no HTML formatting should be happening in PHP functions, it should be formatted in the templates. But changing it would require a bunch of edits to core files, which would break all the existing themes.
As far as I can tell the *only* reason it's being formatted in PHP is to handle singular and plural cases of the extraneous verbiage that I don't feel is necessary in the first place (which is why I've hidden all of it in Bookface).
Matthias
•@Random Penguin
On the Share or Like button, you only see a mouseover that displays the names of the users, but no clickable preview with a link to the user profile. This was seen as a shortcoming. Many users not only want to see who has clicked a button, but also want to jump to the profile.
It was therefore discussed in the project whether a separate view was needed in which the user clicks are displayed and the profiles can be called up. If I remember the discussion correctly, the behaviour should be similar to Mastodon.
Unfortunately, I can't find the issues at the moment.
Alt Pygoscelis Papua
•Matthias
•@Random Penguin
Oh, that's great. I think something like that would fit very well. It connects the separate functions in Friendica and provides real added value. I think that was the goal in the issues and could be realised identically for Frio and Vier.
Please bear in mind that I am quoting the issues from memory, as I unfortunately cannot find them.
wilhelm
•[frio] find solution / workaround for mouseover event on mobile
foss- (GitHub)Alt Pygoscelis Papua
•:active
state which triggers it on tap. This is alongside the:hover
state for mouse and:focus
and:focus-within
which trigger it for keyboard/screenreader.Marcus
— (Denmark) •Maybe this is something we could make an issue for and see if there's support for it? I don't think other themes besides Vier and Frio are maintained (and Vier is barely maintained, which IMO makes sense given how powerful but also really complex themes are, not just being CSS overrides) so we'd just have to update those two.
Also I think the count mismatch should be reported, as long as other themes show them. I can do that using/referencing your image if that's ok.
About the like count differences I wonder if it's because the line includes all reactions and thus counts that emoji as one as well...?
Matthias
•As far as I know, reaction emojis are counted as likes or dislikes.
Marcus
•Alt Pygoscelis Papua
•Marcus
•When the icon is directly on the like button it kinda makes sense it's all likes only. In that case all of the reacts should have individual counters. Otherwise they could be dropped and there could be a total counter only, which perhaps expand to show the individual distribution or something like that.
Like Facebook, as you show above.