Use like feature as a toggle.

Created on 22 March 2024, 3 months ago
Updated 18 June 2024, 8 days ago

Problem/Motivation

I my usage of the module, I only use the like counter. I want to use it as a toggle:
One the user liked the content he wants to be able to remove is like by clicking again on the like button.

Steps to reproduce

Setup like/dislike in a content, click on like => like saved in the content.
click again => no action is recorded ("You have already liked..!" is send in background)

Proposed resolution

Get the possibility to change already clicked action from default to toggle (remove the like)

Remaining tasks

  1. Patch to switch to toggle behavior on like dislike buttons. I will post a patch here.
  2. Make it configurable

User interface changes

TBD to make it configurable.

API changes

N/A

Data model changes

N/A

✨ Feature request
Status

Needs review

Version

2.4

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024