feat: add project management functionality with GraphQL integration#26
Open
Noemie-Koelblen wants to merge 17 commits intomainfrom
Open
feat: add project management functionality with GraphQL integration#26Noemie-Koelblen wants to merge 17 commits intomainfrom
Noemie-Koelblen wants to merge 17 commits intomainfrom
Conversation
Contributor
Noemie-Koelblen
commented
Apr 3, 2026
- Introduced project schema with types, queries, and mutations for managing projects.
- Implemented project resolver to handle project-related operations (CRUD).
- Created ProjectRepository for database interactions related to projects.
- Added migrations for project-related tables and relationships.
- Updated image handling for project thumbnails and mockups.
- Refactored StackRepository to use new asset paths.
- Enhanced existing repositories and resolvers to accommodate project data.
- Introduced project schema with types, queries, and mutations for managing projects. - Implemented project resolver to handle project-related operations (CRUD). - Created ProjectRepository for database interactions related to projects. - Added migrations for project-related tables and relationships. - Updated image handling for project thumbnails and mockups. - Refactored StackRepository to use new asset paths. - Enhanced existing repositories and resolvers to accommodate project data.
8 tasks
…d schema handling
…ode readability - Added comprehensive JSDoc comments to RoleRepository, SettingsRepository, and StackRepository to clarify method functionalities and parameters. - Improved code structure and readability by adding comments and refining type annotations in various repository methods. - Introduced new interfaces in projectTypes for better type safety and clarity. - Enhanced utility functions for password handling and image processing with detailed documentation. - Updated anti-bruteforce logic with comments for better understanding of the implementation.
…nd migrations - Added MediaRepository for handling media-related database operations. - Created media types and constants for consistent media handling. - Developed GraphQL resolvers and schemas for media queries and mutations. - Implemented migration to create 'medias' table and update foreign keys in 'stack' and 'project' tables. - Updated StackRepository and Project types to integrate media references. - Refactored image saving utility to accommodate new media structure. - Enhanced category types to support media entities.
…bject and enhance media handling
- Removed unused methods and comments from roleResolver and stackResolver. - Simplified role retrieval logic in roleResolver. - Updated stackResolver to directly use IDs for category and icon fields. - Adjusted GraphQL schemas to use ID types instead of complex objects for categories, roles, and media. - Refactored repositories (CategoryRepository, CoworkerRepository, MediaRepository, ProjectRepository, RoleRepository, StackRepository) to streamline data retrieval and reduce complexity. - Removed ImageFile type and associated logic from repositories and types. - Updated Project and Stack types to use string IDs for relationships instead of nested objects. - Cleaned up unnecessary imports and comments across various files.
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.