The GitHub Actions job "Backport Approval Check" on 
texera.git/fix/cell-download-honours-export-switch has failed.
Run started by GitHub user yangzhang75 (triggered by yangzhang75).

Head commit for run:
0698dc6707a9ca9132839dc3379d5f52235256b5 / Yang Zhang <[email protected]>
fix(frontend): disable the per-cell result download when result export is 
switched off

`export-execution-result-enabled` is a deployment switch. The top menu and the
context menu already honour it, but the download button on every result cell
rendered regardless, and clicking it returned silently from
WorkflowResultExportService.performExport: no request, no message. A reader
could not tell whether the feature was broken or off.

Bind the button's `disabled` state to the switch and say why in its title, the
same way the menu entry is disabled. The stylesheet hardcodes the icon color
and cursor, so the disabled state also gets its own look; without it the
disabled button was indistinguishable from the live one.

Tests cover both states through the MockGuiConfigService that the component
actually receives, and the existing click test now asserts it clicks a live
button.

Closes #8538

Co-Authored-By: Claude Fable 5.1 <[email protected]>

Report URL: https://github.com/apache/texera/actions/runs/34800415091

With regards,
GitHub Actions via GitBox

Reply via email to