The GitHub Actions job "Build and push images" on texera.git/main has failed. Run started by GitHub user bobbai00 (triggered by bobbai00).
Head commit for run: e6509191d21a4df280bd98b3b73d6dca9f84a761 / Jiadong Bai <[email protected]> fix(frontend): restore Regions and Status canvas toggles (#5160) ### What changes were proposed in this PR? Restores the **Regions** and **Status** toggles under View, both of which broke after #4495 switched these elements from JointJS `visibility` attributes to CSS classes. - **Regions**: region visibility is now a shared, persistent flag on `JointGraphWrapper` (`setRegionsDisplayed` / `getRegionsDisplayed` / stream). The editor applies it to the shared JointJS model both when the flag changes and whenever regions are recreated on a `RegionUpdateEvent`. Because the model is shared, the toggle drives both the main canvas (#5120) and the mini-map (#4027), and it survives the region elements being recreated during execution (previously regions went hidden mid-run even with the toggle on). The menu toggle just sets the flag; the editor owns applying it. The `hide-region` CSS class/SCSS rule are removed. - **Status** (`workflow-editor.component.scss`, `workflow-editor.component.ts`, `menu.component.ts`): re-added the `hide-operator-status` SCSS rule (retargeted to the renamed `.texera-operator-state` element), added the default class so Status starts hidden, and fixed the stale `.operator-status` selector in `applyOperatorStatusPosition()`. Unit tests added for the toggle delegation, status repositioning, the default `hide-operator-status` class, and region visibility across creation / recreation / toggling. Here is a demo of the style after fix: <img width="1707" height="1162" alt="2026-05-30 11 35 33" src="https://github.com/user-attachments/assets/ae5fc0d3-76f1-4bf8-914e-2644f89b46c2" /> ### Any related issues, documentation, discussions? Closes #5120 Regression from #4495. ### How was this PR tested? Manual + unit tests. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Opus 4.8 (1M context) --------- Co-authored-by: Bob Bai <[email protected]> Report URL: https://github.com/apache/texera/actions/runs/26701759699 With regards, GitHub Actions via GitBox
