Frontend/add multi language support #7
Merged
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.
This pull request introduces significant improvements to the backend architecture by modularizing the GraphQL schema, updating the Prisma data model to support workspace-level labels, and enhancing resolver and dependency management. The changes improve maintainability, scalability, and clarity of the codebase, especially around GraphQL and data modeling.
GraphQL Schema Modularization and Expansion:
schema.graphqlfile to a modular schema structure, splitting types and operations into multiple files (schemas/*.graphql). This allows easier management and extension of the GraphQL API. [1] [2] [3] [4] [5] [6]index.mjsto dynamically load all schema files using@graphql-tools/loadandGraphQLFileLoader, replacing the previous static file read.Prisma Data Model Updates:
Labelmodel to associate labels with aWorkspacerather than aBoard, supporting workspace-level label management. Updated related fields inWorkspaceandBoardmodels accordingly. [1] [2] [3]Resolver and Dependency Enhancements:
backend/package.jsonto include new GraphQL tools dependencies required for schema loading and management.Environment and Configuration Improvements:
.envand replaced with a template.env.templateto improve security and configurability. Added documentation for all environment variables. [1] [2]Minor Syntax and Consistency Updates: