0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-13 13:17:29 +08:00
discourse/plugins/discourse-workflows/app/controllers/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
..
admin_controller.rb FEATURE: discourse-workflows (#40374) 2026-05-28 19:44:50 +02:00
ai_authoring_controller.rb FEATURE: Add AI authoring to Discourse Workflows (#40504) 2026-06-18 18:32:30 +02:00
credentials_controller.rb FEATURE: discourse-workflows (#40374) 2026-05-28 19:44:50 +02:00
data_table_columns_controller.rb FEATURE: discourse-workflows (#40374) 2026-05-28 19:44:50 +02:00
data_table_rows_controller.rb FEATURE: discourse-workflows (#40374) 2026-05-28 19:44:50 +02:00
data_tables_controller.rb FIX: Data table sizes and executions pagination in workflows admin (#42263) 2026-08-03 15:39:09 +02:00
dynamic_node_parameters_controller.rb FEATURE: discourse-workflows (#40374) 2026-05-28 19:44:50 +02:00
executions_controller.rb FIX: Data table sizes and executions pagination in workflows admin (#42263) 2026-08-03 15:39:09 +02:00
expressions_controller.rb FEATURE: discourse-workflows (#40374) 2026-05-28 19:44:50 +02:00
filter_options_controller.rb DEV: Extract reusable PostsFilter into core (#40436) 2026-06-02 14:52:47 +02:00
form_test_sessions_controller.rb FEATURE: discourse-workflows (#40374) 2026-05-28 19:44:50 +02:00
forms_controller.rb FEATURE: discourse-workflows (#40374) 2026-05-28 19:44:50 +02:00
modal_responses_controller.rb FEATURE: adds a modal node to discourse workflows (#40978) 2026-06-17 12:12:51 +02:00
node_types_controller.rb FEATURE: discourse-workflows (#40374) 2026-05-28 19:44:50 +02:00
post_button_controller.rb FEATURE: post menu button trigger (#42023) 2026-07-24 16:22:21 +02:00
stats_controller.rb FEATURE: discourse-workflows (#40374) 2026-05-28 19:44:50 +02:00
step_executions_controller.rb UI: workflows UI improvements (#41872) 2026-07-22 08:29:34 +02:00
templates_controller.rb FEATURE: discourse-workflows (#40374) 2026-05-28 19:44:50 +02:00
topic_admin_button_controller.rb FEATURE: discourse-workflows (#40374) 2026-05-28 19:44:50 +02:00
variables_controller.rb FEATURE: discourse-workflows (#40374) 2026-05-28 19:44:50 +02:00
webhook_test_listeners_controller.rb FEATURE: discourse-workflows (#40374) 2026-05-28 19:44:50 +02:00
webhooks_controller.rb FEATURE: discourse-workflows (#40374) 2026-05-28 19:44:50 +02:00
workflow_tags_controller.rb FEATURE: Add workflow tags (#42056) 2026-07-27 17:22:42 +02:00
workflow_versions_controller.rb FEATURE: lists all workflow versions (#40982) 2026-06-17 14:11:18 +02:00
workflows_controller.rb FEATURE: Add sub workflow call support (#41019) 2026-06-25 15:01:05 +02:00