admin
8ef0ff8507
fix(NodeSwitcher): move all hooks before conditional return to comply with React hooks rules
...
Build and Deploy / Build and Push Docker Image (push) Successful in 2m1s
- All hooks (useState, useCallback, useEffect) must be called before any conditional return
- Add document check in updateRoleState
- Merge SSR and isMaster checks into single return at the end
2026-08-08 04:15:55 +08:00
admin
36d39e4a47
fix(NodeSwitcher): return null during SSR to avoid hydration mismatch
Build and Deploy / Build and Push Docker Image (push) Successful in 1m57s
2026-08-08 03:37:15 +08:00
admin
455f46caa0
fix(ssr): avoid accessing localStorage during SSR initialization
...
Build and Deploy / Build and Push Docker Image (push) Successful in 1m53s
- Initialize activeInterconnectNodeId with empty string
- Read from localStorage only in client-side
- Defer selected state initialization in NodeSwitcher to useEffect
2026-08-08 03:15:51 +08:00
admin
8be7e8ad2f
fix(NodeSwitcher): avoid SSR hydration error by deferring portal creation
Build and Deploy / Build and Push Docker Image (push) Successful in 1m59s
2026-08-08 03:11:47 +08:00
admin
e2063dbeb8
fix(NodeSwitcher): use ui-select-menu/item classes for consistent styling
...
Build and Deploy / Build and Push Docker Image (push) Successful in 1m57s
- Use createPortal to render menu in body
- Add ChevronDown icon
- Add position calculation for menu placement
- Fix ref usage with useRef instead of useState
2026-08-08 02:50:10 +08:00
admin
2cc584713f
fix(NodeSwitcher): use custom dropdown instead of native select for consistent styling
Build and Deploy / build-and-push (push) Failing after 1m1s
2026-08-06 14:37:43 +08:00
admin
eb8df6de0f
fix(ui): remove sidebar collapse footer and unify header control heights
Build and Deploy / build-and-push (push) Successful in 52s
2026-07-26 16:27:24 +08:00
admin
e6956aa001
Initial commit: TaskPool React panel
...
- React frontend with route-level code splitting
- Backend rebranded from Baihu to TaskPool
- DB brand migration script and local compatibility
2026-07-26 08:43:52 +08:00