zyratlo opened a new pull request, #7571:
URL: https://github.com/apache/texera/pull/7571
### What changes were proposed in this PR?
This is the first PR of moving the AI generate workflow entry point from the
workspace toolbar to the workflow dashboard (#7360). It removes the workspace
toolbar entry point and the UI that exists only to serve it, so the canvas and
dashboard versions never coexist.
**Menu toolbar (`menu.component.{ts,html,scss}`)**
- Removes the "AI generate workflow" button and the flow it started
- Removes the now unused output that signaled the loading overlay, along
with the imports and constructor dependencies that only the removed code used.
The auto layout action and the workflow modifiable state stay, since other
toolbar buttons rely on them.
**Workspace (`workspace.component.{ts,html,scss}`)**
- Removes the loading overlay and its elapsed time stopwatch, which were
driven by the toolbar output.
- Keeps the embedded notebook panel host. It displays a workflow's stored
notebook and is driven by the workflow id, so it keeps working for the
dashboard entry point.
**Retained (shared, reused by the dashboard entry point)**
- The import modal component and its diagram asset and license attributions.
- The notebook to workflow conversion service.
- The embedded notebook panel and its per workflow initialization.
- The expand Jupyter panel button
After this change the tool has no entry point until the dashboard entry
point lands. The feature stays behind its existing feature flag, so users see
no change.
### Any related issues, documentation, discussions?
Closes #7564
Parent issue #4301
### How was this PR tested?
Updated `menu.component.spec.ts` and `workspace.component.spec.ts` to drop
the tests for the removed button, the expand control, the generation pipeline,
and the loading timer. No new behavior is added, so no new tests were needed.
### Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Claude Opus 4.8)
--
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]