Skip to content

Housekeeping - Folder structure reorganisation #43

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

Closed
wants to merge 15 commits into from

Conversation

AlexVOiceover
Copy link
Collaborator

Renaming files and organise folders

AlexVOiceover and others added 15 commits April 2, 2025 10:53
- Renamed UI component files to use PascalCase following React conventions
- Fixed imports to reference the new PascalCase filenames
- Renamed utility file from kebab-case to camelCase
- Updated import paths to use PascalCase filenames consistently
- Added forceConsistentCasingInFileNames: false to tsconfig.app.json
- Fixed case sensitivity issues causing build failures
- Renamed ButtonVariants.ts to buttonVariants.ts to follow camelCase utility naming convention
- Removed duplicate ssr-hooks.ts file
- Updated imports to reference correct filenames
- Reverted buttonVariants.ts to ButtonVariants.ts for consistency with UI component files
- Updated import in Button.tsx to reference the correct filename
- Create feature-specific folder structure for help, auth, questions, statements, and wizard
- Move UI component files to their corresponding feature folders
- Create index.ts barrel files for cleaner imports
- Update import paths in affected files
- Fix TypeScript interface definitions in Dropdown component
- Ensure proper file organization following feature-based architecture

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Relocate ProgressWithFeedback from progress subfolder to the UI components directory
- Update imports in UserDataModal to use the new path
- Update barrel file to export ProgressWithFeedback directly
- Remove unnecessary nested folder structure

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Create new progress feature folder structure for better organization
- Move ProgressWithFeedback component from UI to progress/components
- Move useProgressFeedback hook from general hooks to progress/hooks
- Create barrel files for cleaner imports and exports
- Update import paths in affected files
- Fix import path for shareStatements in ShareEmailModal

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
- Remove barrel files with only a single export to reduce indirection
- Update imports to point directly to source files
- Keep barrel files that export from multiple subdirectories
- Simplify codebase by reducing unnecessary abstraction layers

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <[email protected]>
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