35 lines
2.3 KiB
XML
35 lines
2.3 KiB
XML
<WORK_ORDERS>
|
|
<WORK_ORDER id="1" title="Implement Inventory List Screen">
|
|
<INTENT_SPECIFICATION>
|
|
Implement the UI for the inventory list screen in `InventoryListScreen.kt` to display a list of items using Jetpack Compose.
|
|
Implement the `InventoryListViewModel.kt` to fetch a paginated list of items from the `ItemRepository` and expose it to the UI.
|
|
The screen should show a loading indicator while data is being fetched and handle empty or error states.
|
|
</INTENT_SPECIFICATION>
|
|
<TARGET_FILES>
|
|
<FILE>app/src/main/java/com/homebox/lens/ui/screen/inventorylist/InventoryListScreen.kt</FILE>
|
|
<FILE>app/src/main/java/com/homebox/lens/ui/screen/inventorylist/InventoryListViewModel.kt</FILE>
|
|
</TARGET_FILES>
|
|
</WORK_ORDER>
|
|
<WORK_ORDER id="2" title="Implement Item Details Screen">
|
|
<INTENT_SPECIFICATION>
|
|
Implement the UI for the item details screen in `ItemDetailsScreen.kt`. It should display all the information about a specific item.
|
|
Implement the `ItemDetailsViewModel.kt` to fetch the details of a single item from the `ItemRepository` using its ID.
|
|
The screen should handle cases where the item is not found.
|
|
</INTENT_SPECIFICATION>
|
|
<TARGET_FILES>
|
|
<FILE>app/src/main/java/com/homebox/lens/ui/screen/itemdetails/ItemDetailsScreen.kt</FILE>
|
|
<FILE>app/src/main/java/com/homebox/lens/ui/screen/itemdetails/ItemDetailsViewModel.kt</FILE>
|
|
</TARGET_FILES>
|
|
</WORK_ORDER>
|
|
<WORK_ORDER id="3" title="Implement Search Screen">
|
|
<INTENT_SPECIFICATION>
|
|
Implement the UI for the search screen in `SearchScreen.kt`. It should contain a search bar and a list to display search results.
|
|
Implement the `SearchViewModel.kt` to take a search query, call the `SearchItemsUseCase`, and expose the results to the UI.
|
|
The search should be triggered as the user types, with debouncing to avoid excessive API calls.
|
|
</INTENT_SPECIFICATION>
|
|
<TARGET_FILES>
|
|
<FILE>app/src/main/java/com/homebox/lens/ui/screen/search/SearchScreen.kt</FILE>
|
|
<FILE>app/src/main/java/com/homebox/lens/ui/screen/search/SearchViewModel.kt</FILE>
|
|
</TARGET_FILES>
|
|
</WORK_ORDER>
|
|
</WORK_ORDERS> |