Skip to content

REFACTOR: Decomposed Libs#131

Merged
mbeps merged 4 commits into
mainfrom
dev
Dec 7, 2025
Merged

REFACTOR: Decomposed Libs#131
mbeps merged 4 commits into
mainfrom
dev

Conversation

@mbeps

@mbeps mbeps commented Dec 7, 2025

Copy link
Copy Markdown
Owner

This pull request refactors several import paths and reorganizes user profile-related logic for improved code maintainability and clarity. The most significant changes are the extraction of user profile operations into dedicated files, and the updating of import statements across the codebase to use these new modular files. This makes the code easier to understand, maintain, and extend in the future.

User Profile Logic Refactoring:

  • Split user profile operations (deleteProfileImage, updateUserCommentsName, updateUserPostsName, uploadProfileImage) from the monolithic lib/userProfile.ts file into separate files under lib/user-profile/, each containing a single responsibility function. [1] [2] [3] [4] [5]
  • Updated all relevant imports in hooks/useUserProfile.ts to reference the new, dedicated user profile operation files.

Community Data and Members Imports:

These changes help modularize the codebase and make each function easier to locate and test.

@vercel

vercel Bot commented Dec 7, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
circus-discussion Ready Ready Preview Comment Dec 7, 2025 8:20pm

@mbeps
mbeps merged commit 581c56d into main Dec 7, 2025
5 checks passed
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