0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-05 18:09:26 +08:00
discourse/plugins/discourse-workflows
Régis Hanol c4bbb9e350
FEATURE: Add user_id to workflow topic payloads (#42232)
Previously, the topic payloads emitted by workflow triggers and nodes
did not include the topic owner, so a condition like "was this post
written by the topic owner?" required an extra `action:topic` lookup
just to fetch `user_id`.

This change adds `user_id` to the topic payload of every trigger and
node — via a plugin-level `TopicListItemSerializer` — so expressions can
compare `$json.topic.user_id` to `$json.post.user_id` directly, and
consolidates the duplicated per-node `topic_data` helpers into a single
`NodeType` helper.
2026-07-31 20:08:25 +02:00
..
admin/assets/javascripts FEATURE: Support dynamic expressions for workflow boolean fields (#42161) 2026-07-30 14:04:20 -03:00
app FEATURE: Add user_id to workflow topic payloads (#42232) 2026-07-31 20:08:25 +02:00
assets FEATURE: Support dynamic expressions for workflow boolean fields (#42161) 2026-07-30 14:04:20 -03:00
config FEATURE: adds gt/gte/lt/lte operators to if and filter nodes (#42097) 2026-07-28 17:07:32 +02:00
db FEATURE: Add workflow tags (#42056) 2026-07-27 17:22:42 +02:00
lib FEATURE: Add user_id to workflow topic payloads (#42232) 2026-07-31 20:08:25 +02:00
public/images/upcoming_changes FEATURE: Add enable_discourse_workflows upcoming change (#41541) 2026-07-13 10:48:37 +10:00
spec FEATURE: Add user_id to workflow topic payloads (#42232) 2026-07-31 20:08:25 +02:00
test/javascripts FEATURE: Support dynamic expressions for workflow boolean fields (#42161) 2026-07-30 14:04:20 -03:00
plugin.rb Feature: Add chat integration workflows send action (#40663) 2026-07-28 00:46:16 +02:00
USE_CASES.md FEATURE: Add AI authoring to Discourse Workflows (#40504) 2026-06-18 18:32:30 +02:00