feat(clipping): implement hide/recover toggle for all section dialogs

Update all three section dialogs to support hide/show toggle:

SectionAxisDialogManager:
- onHideToggle now calls hideSection()/recoverSection()

SectionBoxDialogManager:
- onHideToggle now calls hideSection()/recoverSection()

SectionPlanePanel:
- Add isHidden state tracking
- Change onHide to onHideToggle(isHidden)
- Add setHiddenState/getHiddenState methods
- Update button to toggle active state

SectionPlaneDialogManager:
- Switch to onHideToggle callback
- Call hideSection()/recoverSection() based on toggle state

Behavior: Click hide button to hide section, click again to recover.
This commit is contained in:
yuding
2026-02-02 16:36:17 +08:00
parent 41abd9ed67
commit 4a09d52283
44 changed files with 17877 additions and 10807 deletions

View File

@@ -1,8 +1,9 @@
{
"active_plan": "/Users/yuding/WORK/LYZ/project/bimEngine/engine/.sisyphus/plans/component-detail-bugfix.md",
"started_at": "2026-01-28T07:42:20.635Z",
"active_plan": null,
"completed_at": "2026-02-02T09:45:00.000Z",
"last_plan": "clipping-api-migration",
"session_ids": [
"ses_3fd75ccc4ffe13KZZk467OXNg6"
"ses_3e2bc84f9ffeHmiDS2pkiLtX2n"
],
"plan_name": "component-detail-bugfix"
}
"status": "completed"
}