Skip to content

Repository Organization - #67

Open
JonahBlackmon wants to merge 2 commits into
merge-testingfrom
jonah/cleanup
Open

Repository Organization#67
JonahBlackmon wants to merge 2 commits into
merge-testingfrom
jonah/cleanup

Conversation

@JonahBlackmon

Copy link
Copy Markdown
Collaborator

This PR builds on the merge-testing branch and aims to cleanup index.tsx from ~1000 lines down to 273. This removed most responsibilities from the file and separated them into distinct files located within the new src/ folder.
Functionality:
In ~/src/features/map/useMapScreenController.ts there is now a main controller for the app, within this controller there are references to objects responsible for searching and reporting which can be accessed in index.tsx via map.report and map.search respectively. This allows for changes to be made in isolation while keeping a clear flow of control. Additional features need simply to be added to the controller and will be able to be used.
I plan on following up this PR with a dedicated PR for documentation which will outline how the new organization structure works in greater detail, but for the sake of progress, this can be postponed to allow others to continue developing.

@JonahBlackmon
JonahBlackmon changed the base branch from main to merge-testing June 9, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant