Update PROJECT_STRUCTURE.md to reflect current codebase#95
Merged
NullPointerDepressiveDisorder merged 3 commits intoNullPointerDepressiveDisorder:mainfrom Feb 3, 2026
Conversation
Fixes #90 ## Changes ### Added missing files to documentation: **Core/** - TouchDeviceProviding.swift: Protocol for device monitoring/dependency injection **Managers/** - AccessibilityMonitor.swift: Accessibility permission polling and app handling - AccessibilityWrappers.swift: Wrappers for accessibility system APIs (testability) **Utilities/** - ScreenHelper.swift: Multi-monitor screen coordinate handling - SystemGestureHelper.swift: System trackpad settings and process management - UpdateManager.swift: App updates via Sparkle framework - WindowHelper.swift: Window detection under cursor ### Added test files to documentation: - All unit test files now documented - Added Mocks/ directory with MockDeviceMonitor ### Consolidation: - Removed duplicate /MiddleDrag/PROJECT_STRUCTURE.md (root version is canonical) ### Updated component responsibilities: - Added descriptions for new Manager layer components - Added descriptions for new Utility layer components - Added Protocol-Oriented Design to design patterns - Updated "Adding New Features" section with new entry points
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates PROJECT_STRUCTURE.md to accurately reflect the current codebase structure, addressing issue #90.
Changes:
- Consolidated duplicate PROJECT_STRUCTURE.md files by removing the outdated inner copy
- Added documentation for 7 missing source files across Core/, Managers/, and Utilities/ directories
- Expanded test section from 3 files to all 17 test files including the Mocks/ directory
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| PROJECT_STRUCTURE.md | Updated with all current source files, complete test listing, expanded component responsibilities, and updated design patterns |
| MiddleDrag/PROJECT_STRUCTURE.md | Removed duplicate outdated documentation file |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Karan Mohindroo <96403086+NullPointerDepressiveDisorder@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Karan Mohindroo <96403086+NullPointerDepressiveDisorder@users.noreply.github.com>
NullPointerDepressiveDisorder
approved these changes
Feb 3, 2026
Owner
NullPointerDepressiveDisorder
left a comment
There was a problem hiding this comment.
Thank you for the contrabution!
01c4d0a
into
NullPointerDepressiveDisorder:main
1 check passed
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
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
Fixes #90
Updates the project structure documentation to accurately reflect the current source files, following the checklist provided in the issue.
Changes
✅ 1. Consolidated duplicate PROJECT_STRUCTURE.md files
/MiddleDrag/PROJECT_STRUCTURE.md(the inner, outdated one)/PROJECT_STRUCTURE.mdis now the single canonical version✅ 2. Added missing source files to documentation
Core/
TouchDeviceProviding.swift: Protocol for device monitoring and dependency injectionManagers/
AccessibilityMonitor.swift: Accessibility permission polling and app handlingAccessibilityWrappers.swift: Wrappers for accessibility system APIs (enables testability)Utilities/
ScreenHelper.swift: Multi-monitor screen coordinate handling (Cocoa ↔ Quartz)SystemGestureHelper.swift: System trackpad settings and process managementUpdateManager.swift: App updates via Sparkle framework (offline by default)WindowHelper.swift: Window detection under cursorAdditional improvements
Mocks/directory withMockDeviceMonitor.swift