0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-05 16:23:34 +08:00
discourse/plugins/discourse-workflows/spec
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
..
fabricators FEATURE: Add workflow tags (#42056) 2026-07-27 17:22:42 +02:00
integration FEATURE: workflows flag post node (#41769) 2026-07-16 16:01:11 +02:00
jobs/regular/discourse_workflows DEV: Prefer RSpec primitives for test setup (#42122) 2026-07-30 11:17:22 +08:00
lib/discourse_workflows FEATURE: Add user_id to workflow topic payloads (#42232) 2026-07-31 20:08:25 +02:00
models/discourse_workflows DEV: Prefer RSpec primitives for test setup (#42122) 2026-07-30 11:17:22 +08:00
requests/discourse_workflows FIX: Data table sizes and executions pagination in workflows admin (#42263) 2026-08-03 15:39:09 +02:00
serializers DEV: Prefer RSpec primitives for test setup (#42122) 2026-07-30 11:17:22 +08:00
services/discourse_workflows DEV: Prefer RSpec primitives for test setup (#42122) 2026-07-30 11:17:22 +08:00
support FEATURE: workflows flag post node (#41769) 2026-07-16 16:01:11 +02:00
system FEATURE: Add workflow tags (#42056) 2026-07-27 17:22:42 +02:00
plugin_helper.rb DEV: Prefer RSpec primitives for test setup (#42122) 2026-07-30 11:17:22 +08:00