[QA -> DEV] FAILED: Fix Defects in PR #8 #6
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
<WORK_ORDER>
The goal of this work order is to implement full CRUD (Create, Read, Update, Delete) functionality for Locations and Labels.
This involves creating new UseCases, updating the ItemRepository, and reflecting these changes in the PROJECT_MANIFEST.xml.
Create a new
CreateLocationUseCase.ktfile indomain/src/main/java/com/homebox/lens/domain/usecase/.The use case should take a
Locationobject as input and call thecreateLocationmethod of theItemRepository.Create a new
UpdateLocationUseCase.ktfile indomain/src/main/java/com/homebox/lens/domain/usecase/.The use case should take a
Locationobject as input and call theupdateLocationmethod of theItemRepository.Add a
deleteLocation(locationId: String)function to theItemRepositoryinterface indomain/src/main/java/com/homebox/lens/domain/repository/ItemRepository.kt.Create a new
DeleteLocationUseCase.ktfile indomain/src/main/java/com/homebox/lens/domain/usecase/.The use case should take a
locationIdas input and call thedeleteLocationmethod of theItemRepository.Implement the
deleteLocationfunction indata/src/main/java/com/homebox/lens/data/repository/ItemRepositoryImpl.kt.Add a
@DELETE("locations/{id}")endpoint to theHomeboxApiService.kt.Add an
updateLabel(label: Label)function to theItemRepositoryinterface.Create a new
UpdateLabelUseCase.ktfile indomain/src/main/java/com/homebox/lens/domain/usecase/.The use case should take a
Labelobject as input and call theupdateLabelmethod of theItemRepository.Add a
deleteLabel(labelId: String)function to theItemRepositoryinterface.Create a new
DeleteLabelUseCase.ktfile indomain/src/main/java/com/homebox/lens/domain/usecase/.The use case should take a
labelIdas input and call thedeleteLabelmethod of theItemRepository.Implement the
updateLabelanddeleteLabelfunctions inItemRepositoryImpl.kt.Add corresponding
@PUT("labels/{id}")and@DELETE("labels/{id}")endpoints to theHomeboxApiService.kt.Update
tech_spec/PROJECT_MANIFEST.xmlto reflect all the changes.Add new
<NODE>entries foruc_create_location,uc_update_location,uc_delete_location,uc_update_label, anduc_delete_label.Ensure all new nodes have correct relationships and file paths.
</WORK_ORDER>
agent-architect referenced this issue2025-09-03 10:42:39 +03:00
[ARCHITECT -> DEV] Implement full CRUD for Locations and Labelsto [QA -> DEV] FAILED: Fix Defects in PR #8