b28b32f502
feat(ui): migrate ProjectBrowser to GridView, improve cleanup
...
Refactored ProjectBrowser to use GridView instead of ItemsView for file display, updated selection logic, and set a minimum grid height. FloatingWindow now manages DockingLayout cleanup on close to prevent resource leaks. Simplified DockDocument and DockGroup instantiations in EngineEditorWindow. Updated GetDirectoryNameConverter to use Path.GetDirectoryName directly. App shutdown now calls EditorApplication.Shutdown(). Added Ghost.Engine reference in ActivationHandler.
2026-03-29 19:55:05 +09:00
fa617accc3
fix(docking): restore incremental layout updates to prevent visual tree rebuilds
2026-03-29 19:32:44 +09:00
ff22b89ba3
feat(docking): implement proportional sizing for docking layout
...
- Add DockLength property to DockModule to track star weights
- Add SyncLengths() to DockPanel to capture current Grid weights
- Update DockPanel.UpdateLayoutStructure to use DockLength
- Update DockingLayout.SplitGroup to distribute weights when splitting
2026-03-29 19:02:21 +09:00
2e6e705558
fix: update DockGroup to use DockTabItem and fix tab selection
2026-03-29 18:51:52 +09:00
e6e38f5eea
fix(docking): defer container cleanup to avoid visual tree modification during layout
2026-03-29 18:47:38 +09:00
d15bd22743
feat(docking): improve tab management and error handling
...
Refactored DockGroup to only remove obsolete TabViewItems and restore tab selection more reliably. Updated DockGroup.xaml to enable tab reordering and add-tab button. Switched to CommunityToolkit.WinUI.Controls for GridSplitter and added a style for it. Made DockPanel, DockRegionHighlight, and DockingLayout partial classes. In App.xaml.cs, wrapped initialization in a try-catch to exit on error, and ensured process exit on window close. Improved ProjectBrowser scrollbar behavior and layout settings.
2026-03-29 16:07:18 +09:00
15870ffe89
refactor: adopt WinUI.Dock approach for layout updates and tab content hosting
2026-03-29 15:16:08 +09:00
70b7e56eb7
feat(editor): implement scroll state saving for ProjectBrowser ItemsView
2026-03-29 14:54:26 +09:00
257838b33e
refactor: make DockPanel grid definitions incremental to preserve virtualization state
2026-03-29 14:18:49 +09:00
8ff98c56be
refactor: remove SizeChanged hack from ProjectBrowser
2026-03-29 14:17:19 +09:00
2c84696994
fix: make DockPanel layout updates incremental to preserve visual tree state
2026-03-29 14:03:38 +09:00
a33a150d06
fix: resolve root module null reference and itemsview scroll bug
2026-03-29 12:30:07 +09:00
60ef684d80
Fixed package version issue.
2026-03-29 01:24:21 +09:00
90ac5e6d4b
Untrak the NUL file
2026-03-29 01:21:41 +09:00
bd13e7faa0
Merge branch 'develop' into feature/docking-layout
...
# Conflicts:
# src/Editor/Ghost.Editor/ActivationHandler.cs
# src/Editor/Ghost.Editor/App.xaml
# src/Editor/Ghost.Editor/View/Windows/EngineEditorWindow.xaml
2026-03-29 01:20:01 +09:00
b5d8009bec
Fixed the issue that crash when close.
2026-03-29 01:13:51 +09:00
3aef53cad9
fix: resolve element already child exception during tab drag and drop
2026-03-28 23:44:52 +09:00
99adf8fc3b
fix: merge docking resource dictionary and add test layout
2026-03-28 23:36:23 +09:00
1c553a55fa
fix(editor): ensure source container cleanup in ReplaceChild and document cross-layout moves
2026-03-28 23:10:46 +09:00
e9f822409d
fix(docking): prevent layout tree loss and enforce cross-layout ownership
2026-03-28 23:07:28 +09:00
0d8bc6f868
fix(docking): improve root cleanup and simplify DockPanel cleanup logic
2026-03-28 23:05:23 +09:00
c8f24edfd8
fix(docking): address final code quality issues in docking layout
2026-03-28 23:03:32 +09:00
2946b905c6
fix(docking): address final code quality issues in docking layout
2026-03-28 23:01:28 +09:00
666528263b
fix(docking): address final code quality issues in docking layout
2026-03-28 22:57:54 +09:00
c52daf3914
fix(docking): address code quality issues in DockingLayout
2026-03-28 22:54:30 +09:00
9738971369
fix(docking): address code quality issues in DockingLayout and FloatingWindow
2026-03-28 22:52:34 +09:00
af56338347
feat(docking): add floating window support
2026-03-28 22:50:28 +09:00
45711e7770
fix: address re-entrancy in ReplaceChild and invalid split in AddDocument
2026-03-28 22:48:58 +09:00
0f0b36a932
fix: address code quality issues in DockContainer and DockPanel
...
- Throw ArgumentException in DockContainer.ReplaceChild if newChild is already in the container to avoid index shifting bugs.
- Add comment in DockPanel.CheckCleanup explaining the asymmetric root panel collapse behavior.
2026-03-28 22:46:26 +09:00
e6d0529ef1
fix(docking): address code quality issues in Docking system
2026-03-28 22:43:44 +09:00
d367cff79f
fix(docking): address code quality issues and improve structural integrity
2026-03-28 22:42:07 +09:00
35731d4ebe
fix(docking): address code quality issues and improve structural integrity
2026-03-28 22:39:57 +09:00
8d3c5ecb1f
fix(docking): address reentrancy and validation issues in DockContainer
2026-03-28 22:37:59 +09:00
1d48784a1c
fix(docking): improve structural integrity and add null validation
2026-03-28 22:35:43 +09:00
e5aa328576
fix(docking): address code quality issues and improve docking robustness
2026-03-28 22:32:57 +09:00
55eb240de6
fix(docking): improve type safety, document retention, and container cleanup
2026-03-28 22:29:14 +09:00
45d810e01c
feat(docking): implement drag and drop logic
2026-03-28 22:17:16 +09:00
1ec8496b8b
fix(docking): add ownership guards and rename FindFirstLeafDockGroup
2026-03-28 22:15:55 +09:00
45375ac2ff
fix(docking): address code quality issues in DockingLayout and DockRegionHighlight
2026-03-28 22:14:40 +09:00
4188152f49
fix(docking): address code quality issues in DockingLayout
2026-03-28 22:11:49 +09:00
5521a8cce2
fix(docking): address code quality issues in DockingLayout and DockRegionHighlight
2026-03-28 22:10:08 +09:00
baca976c6f
feat(docking): add DockRegionHighlight and DockingLayout
2026-03-28 22:08:20 +09:00
b87e01f6b3
refactor: replace magic numbers and string literals in DockPanel
2026-03-28 22:05:54 +09:00
2fa9976658
feat(docking): add DockPanel
2026-03-28 22:01:49 +09:00
e92e365a3a
fix(docking): improve DockGroup robustness and state preservation
2026-03-28 21:59:44 +09:00
09576bb6e1
fix(docking): enforce DockDocument children in DockGroup and fix style
2026-03-28 21:58:21 +09:00
332a940993
fix(docking): improve DockDocument nullability and DockGroup property reactivity
2026-03-28 21:56:05 +09:00
acbf315e8f
feat(docking): add DockDocument and DockGroup
2026-03-28 21:53:50 +09:00
11101f8352
fix(editor): improve DockContainer robustness and style consistency
...
- Added cycle detection in AddChild to prevent tree-cycle bugs
- Added defensive null validation to AddChild and RemoveChild
- Standardized using directives and exception throwing style
2026-03-28 21:51:52 +09:00
bf40eabcac
fix(docking): improve DockContainer robustness and encapsulation
2026-03-28 21:48:25 +09:00