mengw15 opened a new pull request, #7536: URL: https://github.com/apache/texera/pull/7536
### What changes were proposed in this PR? Adds the user-facing UI for per-user warehouses (#6870), shown only when the backend reports the feature enabled (`GET /warehouse/status`): - **Warehouses dashboard tab** (`/user/warehouse`): list, create, and delete the caller's warehouses, via a new `WarehouseService`. Deleting warns that the warehouse's data is purged. - **On-canvas picker** in the computing-unit selection control: chooses which warehouse the next run writes to; the pick rides `WorkflowExecuteRequest.warehouseId`. Mirroring the CU selector, it preselects the latest execution's warehouse (`whId`, now on `WorkflowExecutionsEntry`) and falls back to the user's first warehouse, so a run needs no explicit pick. - **Gating**: the sidebar tab and the picker stay hidden while the flag is off; the UI is unchanged in that state. ### Any related issues, documentation, discussions? Closes #6933. Backend counterpart: #7473. ### How was this PR tested? New Vitest specs for `WarehouseService` (HTTP + pick state) and the warehouse tab (disabled/empty/list, create, delete); new cases in the CU-selection, execute-workflow, and dashboard specs covering preselection, the `warehouseId` payload, and tab gating. All touched spec files pass locally (117 tests). ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (claude-fable-5) -- 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]
