Closed atomic-junky closed 2 months ago
This pull request implements significant refactoring and restructuring of the Monologue dialogue editor project. The changes focus on improving code organization, enhancing modularity, and implementing new features while maintaining existing functionality. Key areas of change include the graph editing system, file handling, audio processing, and overall application structure.
Change | Details | Files |
---|---|---|
Refactored the MonologueProcess class for improved functionality and code organization |
|
Test/Scripts/MonologueProcess.gd |
Restructured the main application logic and user interface |
|
Scripts/MonologueControl.gd Scripts/SubComponents/GraphEditSwitcher.gd Scripts/SubComponents/Header.gd Scripts/SubComponents/RecentFilesContainer.gd |
Enhanced audio handling capabilities |
|
Test/Scripts/SfxLoader.gd |
Improved graph node management and interaction |
|
Scripts/GraphNodes/BridgeInNode.gd Scripts/GraphNodes/ChoiceNode.gd Scripts/GraphNodes/ConditionNode.gd Scripts/GraphNodes/DiceRollNode.gd Scripts/MonologueGraphNode.gd Scripts/SubComponents/GraphNodeSelector.gd |
Added comprehensive unit tests |
|
Test/Unit/TestMonologueProcess.gd Test/Unit/TestGraphEditSwitcher.gd Test/Unit/TestRecentFilesContainer.gd Test/Unit/TestGraphNodeSelector.gd |
Updated project configuration and export settings |
|
export_presets.cfg project.godot |
Summary by Sourcery
Refactor and enhance the Monologue dialogue editor by introducing new components for managing graph edits and recent files, improving audio handling, and adding comprehensive unit tests. Update the build and CI configurations to align with the new project structure and ensure robust testing.
New Features:
GraphEditSwitcher
class to manage tabbed graph edits, allowing users to switch between different dialogue graphs easily.RecentFilesContainer
to manage and display recently opened files, enhancing user convenience.Header
component to manage file operations and notifications, streamlining the user interface.SfxLoader
class.Bug Fixes:
Enhancements:
MonologueProcess
class to improve readability and maintainability, including better signal management and function decomposition.MonologueControl
class by simplifying the graph edit management and improving the file loading process.SidePanelNodeDetails
class to decouple it from specific control nodes, making it more modular.SfxLoader
class to handle audio streaming more efficiently and support additional audio formats.Build:
CI:
Documentation:
Tests:
MonologueProcess
class to ensure robust functionality and correct behavior.GraphEditSwitcher
andRecentFilesContainer
classes to verify their functionality and integration.