Skip to content

[LOCKLITE-65] Wipe codebase and add tests#40

Merged
vbetsch merged 28 commits intodevelopfrom
refactor/65-clean
Jul 28, 2025
Merged

[LOCKLITE-65] Wipe codebase and add tests#40
vbetsch merged 28 commits intodevelopfrom
refactor/65-clean

Conversation

@vbetsch
Copy link
Owner

@vbetsch vbetsch commented Jul 28, 2025

No description provided.

@vbetsch vbetsch self-assigned this Jul 28, 2025
@notion-workspace
Copy link

Clean du projet

@vbetsch vbetsch requested a review from Copilot July 28, 2025 21:50
@vbetsch vbetsch added tests About tests configuration, suites or tests architecture About folders, files, structure labels Jul 28, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements a comprehensive codebase cleanup by removing user-related functionality and associated infrastructure. The changes eliminate the user management system while adding comprehensive test coverage for remaining components.

  • Removes all user-related models, DTOs, adapters, repositories, and use cases
  • Removes user UI components and related pages
  • Adds comprehensive test coverage for remaining components including ThemeRegistry, useApi hook, common UI components, and core services
  • Updates API error handling import paths to use abstract base classes

Reviewed Changes

Copilot reviewed 26 out of 34 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tests/units/modules/ui/providers/ThemeRegistry.test.tsx Adds test coverage for theme provider functionality
tests/units/modules/ui/hooks/useApi.test.tsx Adds comprehensive test coverage for API hook
tests/units/modules/ui/components/users/molecules/users-list.test.tsx Removes test file for deleted UsersList component
tests/units/modules/ui/components/common/*.test.tsx Adds test coverage for common UI components
tests/units/modules/shared/services/request.service.test.ts Adds comprehensive test coverage for HTTP request service
tests/units/modules/api/utils/handle-api-request.test.ts Adds test coverage for API request handler
tests/units/modules/api/usecases/users/get-all-users.test.ts Removes test file for deleted use case
tests/units/modules/api/errors/abstract/http-error.test.ts Adds test coverage for abstract HTTP error class
tests/units/modules/api/adapters/user.test.ts Removes test file for deleted user adapter
src/modules/ui/gateways/user.gateway.ts Removes user gateway implementation
src/modules/ui/components/users/*.tsx Removes all user-related UI components
src/modules/shared/dto/responses/get-all-users.response.dto.ts Removes user response DTO
src/modules/shared/dto/models/user.model.dto.ts Removes user model DTO
src/modules/api/utils/handle-api-request.ts Updates import path for HttpError
src/modules/api/usecases/users/get-all-users.usecase.ts Removes user use case implementation
src/modules/api/repositories/user.repository.ts Removes user repository
src/modules/api/errors/users-not-found.error.ts Removes user-specific error class
src/modules/api/adapters/user.adapter.ts Removes user adapter
src/app/ui/page.tsx Simplifies homepage by removing content
src/app/ui/hello-world/page.tsx Removes hello world page
src/app/ui/hello-world/layout.tsx Removes hello world layout
src/app/api/users/route.ts Removes users API endpoint
prisma/schema.prisma Removes database models

@vbetsch vbetsch changed the title [LOCKLITE-65] Wipe codebase [LOCKLITE-65] Wipe codebase and add tests Jul 28, 2025
@vbetsch vbetsch merged commit 2e04a13 into develop Jul 28, 2025
4 checks passed
@vbetsch vbetsch deleted the refactor/65-clean branch July 28, 2025 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

architecture About folders, files, structure tests About tests configuration, suites or tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants