Problem
We currently have a KPI block that shows how many users follow certain (configurable) taxonomies. This is displayed as a bar chart and does not display well on a 1 or 2-column layout when there are a lot of followers.
Also, this block is created as a statistic block for internal use and not per se to be displayed to the members.
Solution
We would like to improve on it and have a dedicated block that allows displaying tags (selectable) ordered by followers. So we have to create a new block type that can be placed on the dashboard and within this change, we wanna improve the design for the pop-up.
How to test
- Apply these changes as a patch
- social_follow_tag should be enabled
- Create/edit a dashboard -> Add block -> Create custom block -> Most followed tags
- Also, you should see an updated design for a pop-up after clicking on the tag
- After going to the "Content tags" vocabulary and editing the tag you can add a custom text and URL for the CTA button in the pop-up
Release notes
A new block will be available that can be added to the dashboard, which will show users how many people follow a particular tag, and it can also be clicked and a popup will be displayed. Additionally, content tags will now have a link field, and the CTA button can be configured depending on the values in this field.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | most-followed-tags-3298625.patch | 60.17 KB | rolki |
Comments
Comment #2
rolki commentedPatch for OS 11.3.x with correct hook numbers
Comment #3
rolki commentedComment #4
ribelPR with changes: https://github.com/goalgorilla/open_social/pull/3044
Comment #5
tbsiqueiraComment #6
tbsiqueira