You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(plugin-list,plugin-grid): drop undeliverable formats from the export menu (#2999)
The export popover rendered whatever exportOptions.formats declared, but
the runtime can only deliver a subset: the server stream handles
csv/xlsx/json and the client fallback only csv/json. A declared 'pdf'
(never implemented anywhere — declined platform-side in
objectstack#1301) rendered as a menu item whose click silently did
nothing: no request, no file, popover just closed. Same for 'xlsx'
whenever the server stream is unavailable (no exportDownload on the
data source, inline data, or streaming: false). Tracked as the export
row of the #2942 dead-value audit.
Filter the menu to formats the current data source can actually
produce, hide the export button entirely when nothing survives, and
console.warn the dropped declarations so app authors find out at dev
time instead of via a dead button.
Closes the export row of #2942.
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
0 commit comments