0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-05 20:29:55 +08:00
discourse/plugins/discourse-workflows/app/services/discourse_workflows
Régis Hanol ed24248e30
FIX: Data table sizes and executions pagination in workflows admin (#42263)
Previously, the workflows admin showed "0 Bytes" for every data table
and the executions list never loaded more than the first page, because
`Service::Runner` only fills **required** keyword arguments of
`on_success` blocks from the service result — defaulted kwargs like
`table_sizes: {}` and `load_more_url: nil` silently kept their defaults,
dropping the values the services computed.

This change declares both keyword arguments as required, and moves
`Execution::List`'s `load_more_url` step out of `only_if(:has_more)`
(guarding inside the compute method instead, like `Workflow::List`) so
the context key always exists and the required kwarg can never raise.
2026-08-03 15:39:09 +02:00
..
ai_authoring FEATURE: Add AI authoring to Discourse Workflows (#40504) 2026-06-18 18:32:30 +02:00
concerns FEATURE: discourse-workflows (#40374) 2026-05-28 19:44:50 +02:00
credential FEATURE: discourse-workflows (#40374) 2026-05-28 19:44:50 +02:00
data_table FEATURE: discourse-workflows (#40374) 2026-05-28 19:44:50 +02:00
data_table_column FEATURE: discourse-workflows (#40374) 2026-05-28 19:44:50 +02:00
data_table_row FEATURE: discourse-workflows (#40374) 2026-05-28 19:44:50 +02:00
execution FIX: Data table sizes and executions pagination in workflows admin (#42263) 2026-08-03 15:39:09 +02:00
expression FEATURE: discourse-workflows (#40374) 2026-05-28 19:44:50 +02:00
form FEATURE: discourse-workflows (#40374) 2026-05-28 19:44:50 +02:00
form_test_session FEATURE: discourse-workflows (#40374) 2026-05-28 19:44:50 +02:00
modal FIX: Bind workflow modal responses to their target user (#41620) 2026-07-10 14:33:47 +02:00
node_type FEATURE: schema based workflow (#41684) 2026-07-15 13:22:29 +02:00
policy FEATURE: Add enable_discourse_workflows upcoming change (#41541) 2026-07-13 10:48:37 +10:00
stats FEATURE: discourse-workflows (#40374) 2026-05-28 19:44:50 +02:00
template FEATURE: discourse-workflows (#40374) 2026-05-28 19:44:50 +02:00
variable FEATURE: discourse-workflows (#40374) 2026-05-28 19:44:50 +02:00
webhook FEATURE: discourse-workflows (#40374) 2026-05-28 19:44:50 +02:00
webhook_test_listener FEATURE: discourse-workflows (#40374) 2026-05-28 19:44:50 +02:00
workflow FEATURE: Add workflow tags (#42056) 2026-07-27 17:22:42 +02:00
workflow_tag FEATURE: Add workflow tags (#42056) 2026-07-27 17:22:42 +02:00
workflow_version FEATURE: lists all workflow versions (#40982) 2026-06-17 14:11:18 +02:00