feat: add project management functionality with GraphQL integration#26
Merged
Noemie-Koelblen merged 27 commits intomainfrom Apr 20, 2026
Merged
feat: add project management functionality with GraphQL integration#26Noemie-Koelblen merged 27 commits intomainfrom
Noemie-Koelblen merged 27 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.
…utations - Added 'path' field to category schema. - Changed return types of create and update mutations in category, coworker, media, project, role, and stack schemas to Boolean. - Updated CategoryRepository, CoworkerRepository, MediaRepository, ProjectRepository, RoleRepository, and StackRepository to reflect changes in mutation return types. - Enhanced error handling in repository methods to log errors and throw exceptions.
…acks in GraphQL schema
…and update SQL query in CoworkerRepository
…ct and role queries to order results
…or image handling
…edia handling logic
8 tasks
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.