-
Notifications
You must be signed in to change notification settings - Fork 17
feat: Refactor and implement Map/Replay Managers and Tools Sidebar #238
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
undead2146
merged 10 commits into
community-outpost:development
from
undead2146:feat/map-manager
Jan 8, 2026
Merged
feat: Refactor and implement Map/Replay Managers and Tools Sidebar #238
undead2146
merged 10 commits into
community-outpost:development
from
undead2146:feat/map-manager
Jan 8, 2026
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7542426 to
f259012
Compare
b9f8255 to
615dc70
Compare
2bb290d to
90ef3d1
Compare
…le management - Implemented ReplayManagerView for managing replay files. - Added drag-and-drop support for importing replay files (.rep, .zip). - Enhanced ToolsViewModel to include Replay Manager services. - Updated UI styles for better visual consistency. - Introduced EnumToBoolConverter and EqualsToConverter for improved data binding. - Added documentation for Replay Manager features and usage. - Registered Replay Manager services in the dependency injection module.
90ef3d1 to
29bb7f1
Compare
Member
Author
29bb7f1 to
444b837
Compare
|
Too many files changed for review. |
1 similar comment
|
Too many files changed for review. |
e33e8d0 to
c8788f0
Compare
|
Too many files changed for review. |
|
Too many files changed for review. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
This PR enhances the Map Manager and Replay Manager features while refining the overall Tools sidebar user experience. It consolidates redundant UI elements, introduces advanced parsing for map metadata, and stabilizes the sidebar interaction logic.
Key Changes
1. Map Manager & Replay Manager Enhancements
.mapfiles rather than relying on filenames.2. Tools Sidebar UX Refinements
MapManager.mp4
Greptile Summary
This PR refactors the Map Manager and Replay Manager tools while improving the Tools sidebar UX. The changes introduce advanced map parsing capabilities (TGA thumbnails and display name extraction), consolidate UI elements for better space utilization, and fix sidebar interaction issues with an overlay-based approach.
Key Improvements:
TgaParserto display map thumbnails andMapNameParserto extract actual display names from.mapfiles instead of relying on filenamesMapManagerConstants,ReplayManagerConstants, andToolConstantsclassesUPLOADTHING_TOKENduring builds with PR supportconstants.mddocumentation with examples and best practicesCode Quality:
53453b3b)Minor Issues:
Confidence Score: 5/5
Important Files Changed
Sequence Diagram
sequenceDiagram participant User participant ToolsView participant ToolsViewModel participant MapManagerVM participant MapImportService participant MapDirectoryService participant TgaParser participant MapNameParser participant UploadHistoryService User->>ToolsView: Hover over trigger zone ToolsView->>ToolsViewModel: IsPaneOpen = true ToolsViewModel-->>ToolsView: Pane opens (overlay) User->>ToolsView: Select Map Manager tool ToolsView->>ToolsViewModel: SelectedTool = MapManager ToolsViewModel->>MapManagerVM: OnActivated() MapManagerVM->>MapDirectoryService: GetMaps() MapDirectoryService->>MapNameParser: ParseMapName() MapNameParser-->>MapDirectoryService: Display name MapDirectoryService->>TgaParser: LoadTga() TgaParser-->>MapDirectoryService: Thumbnail bitmap MapDirectoryService-->>MapManagerVM: Map files with metadata MapManagerVM-->>ToolsViewModel: CurrentToolControl updated User->>MapManagerVM: Import map from file MapManagerVM->>MapImportService: ImportFromFilesAsync() MapImportService->>MapDirectoryService: GetMapDirectory() MapImportService->>MapDirectoryService: CopyFiles() MapDirectoryService-->>MapImportService: Files copied MapImportService-->>MapManagerVM: ImportResult MapManagerVM->>MapDirectoryService: RefreshMaps() User->>MapManagerVM: Export selected maps MapManagerVM->>MapImportService: ExportMapsAsync() MapImportService->>MapDirectoryService: GetMapFiles() MapImportService->>MapImportService: CreateZipArchive() MapImportService-->>MapManagerVM: Export complete User->>MapManagerVM: Upload to UploadThing MapManagerVM->>UploadHistoryService: CanUploadAsync() UploadHistoryService-->>MapManagerVM: Upload allowed MapManagerVM->>UploadHistoryService: UploadFileAsync() UploadHistoryService->>UploadHistoryService: RecordUpload() UploadHistoryService-->>MapManagerVM: Upload complete with URL User->>ToolsView: Click outside pane ToolsView->>ToolsViewModel: IsPaneOpen = false ToolsViewModel-->>ToolsView: Pane closesContext used:
dashboard- Use dedicated constants classes instead of hardcoding constants string, integers or variables in ser... (source)