#5511 - Be smarter about points ledger reasons

  • By
  • Added
  • 6 views
Identifier #5511
Issue type Feature request or suggestion
Title Be smarter about points ledger reasons
Status Open
Tags

Roadmap: Over the horizon (custom)

Handling member Deleted
Addon points
Description The points ledger now has t_type, t_subtype, and t_type_id in v11.

Use these + points hooks to generate / determine the reason text for applicable ledgers and provide hyperlinks to the content. For example, points earned for adding a news article should dynamically generate the reason text, e.g. "Added a news article, (insert hyperlink here)".

Doing this will allow directly going to relevant content (especially when using the warnings form) and to dynamically "edit" the reason text should the content's name / title change in the future.

Items should still store a plain-text ledger reason which will be used as a fallback when the content no longer exists.
Steps to reproduce

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated