carloea2 opened a new pull request, #8117:
URL: https://github.com/apache/texera/pull/8117

   ### What changes were proposed in this PR?
   
   Remove the hardcoded disable from the operator reuse toolbar button. The 
existing clickability guard still disables the action when no eligible operator 
is selected.
   
   ### Any related issues, documentation, discussions?
   
   Closes #8116
   
   ### How was this PR tested?
   
   Regression test before the fix:
   
   `yarn test --include src/app/workspace/component/menu/menu.component.spec.ts`
   
   The reuse button assertion failed because it remained disabled. The other 97 
tests passed.
   
   Verification after the fix:
   
   `yarn test --include src/app/workspace/component/menu/menu.component.spec.ts`
   
   All 98 tests passed.
   
   `yarn format:ci`
   
   Formatting passed.
   
   Live verification in Chrome:
   
   1. Started Texera locally from this worktree.
   2. Selected a CSV File Scan operator.
   3. Confirmed current main disabled the toolbar reuse action while the 
context menu action worked.
   4. Confirmed this branch marked and unmarked the operator directly from the 
toolbar.
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: Codex


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to