Reorganize source into components, controllers, and domain modules - #59
Merged
Merged
Conversation
Replace the workspace feature hierarchy with components/playground, shared components/dialogs, and non-React controllers. Rename workspace APIs and selectors to playground/player terminology while preserving lifecycle and playback behavior. Keep page content directly in TanStack routes, move the document shell under components/layout, and retain browser-only lazy loading for the interactive screen. Keep shared state in place, consolidate generic helpers under utils, and update shadcn aliases. Move the sort worker and Timbre adapter into their domain folders and audio previews into audio. Update imports, regression tests, and architecture/development documentation. Verified lint, formatting, spelling, TypeScript, 360 unit tests, production prerendering, and 37 browser tests. Existing bundle-size warnings remain.
Rename utils to utilities and update imports, shadcn aliases, and architecture documentation. Verified the full check pipeline, including 360 unit tests and production build.
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
Reorganize the source tree to make UI, application coordination, and domain logic easier to find. This is a structural refactor, not a redesign or state/API rewrite.
Structure
Behavior preserved
Browser-only audio/editor loading, prerendering, navigation, worker execution, editing, playback lifecycle, and the current visual design are retained. No React Compiler or new hooks layer is introduced.
Verification