4 Commits
Author SHA1 Message Date
Alireza Heidariandmvdbeek efe81551ed Take data_inputs off the bulk tool listing
GET /api/tools and /api/tool_panels/{view} return the same panel entries as on dev again; the Explore tab reads the field from GET /api/tools/data_inputs. The index entry keeps it so the cached toolbox serves that route without parsing tools.

Co-authored-by: mvdbeek <m.vandenbeek@gmail.com>
2026-11-05 17:29:52 +01:00
Alireza Heidariandmvdbeek d6835e021b Add GET /api/tools/data_inputs
Returns {tool_id: data_inputs} for the tools the flat tool listing shows, with the same visibility filters, so the bulk listing does not have to carry the field. The tool_type query parameter limits it to one kind of tool; the Explore tab asks for tool_type=interactive.

Co-authored-by: mvdbeek <m.vandenbeek@gmail.com>
2026-11-05 17:29:49 +01:00
Alireza Heidari a553326b30 Add the parameter type and collection type to tool data inputs
Each `data_inputs` item now carries `type` (`data` or `data_collection`) and `collection_type`, both mirroring the tool parameter models, so a later collection input can be told apart from a dataset input. `collection_type` alone cannot do that: a collection input without one accepts any collection type and is also null. The new fields change the index schema hash.
2026-11-04 11:19:54 +01:00
Alireza Heidari 218c852dff Test data inputs of interactive tools on the tool listing
Covers the eager and the cached toolbox, and checks that the listed input names prefill the tool form.
2026-11-03 17:03:13 +01:00