Files
Kifi/kifi_handoff.md
2026-08-24 18:38:46 +05:30

2.6 KiB

Kifi Project Handoff

Current Status

  • Transitioning to Vendor Management and Purchase Orders functionality. The user is currently exploring purchase_order_details_screen.dart and related vendor screens.
  • System Note: The backend Spring Boot server task was previously stopped due to a server restart. It must be restarted to test APIs locally (./mvnw spring-boot:run in kifi-api).

Recently Completed

  • Payables Account Types: Successfully updated schema and UI to support advanced payables (sub_nature, credit_limit, fixed_amount, payment_cycle, cycle_date). Handled complex logic for managing recurring CC bills, EMIs, and ODs.
  • Dashboard Enhancements: Implemented UpcomingDuesWidget which accurately calculates and warns about urgent upcoming dues based on negative wallet balances and recurring cycle dates.

Outstanding Issues & Tasks

  1. Product Image Preview Bug (High Priority):
    • Symptom: Images uploaded to products are saved successfully in MinIO and DB, but the thumbnail/preview in the Flutter product_list_screen.dart is not rendering correctly (showing the placeholder instead). Tapping into edit mode also reportedly fails to show existing images.
    • Context: The user noted that the Transaction image preview works fine.
    • Investigation Notes:
      • Transactions use NetworkImage hardcoded to /api/kifi/transactions/... (potentially hitting the old backend), while Products use Image.network pointing to /api/kifi-v2/inventory/products/... (hitting the new WebFlux backend).
      • Need to verify if ProductService is correctly mapping and returning imageIds in the JSON response to the Flutter app.
      • Need to update add_product_screen.dart to fetch and render existing images when editing a product, similar to how add_transaction_screen.dart handles it.
  2. Vendor / Purchase Order Module: Active development on Vendor Purchase Orders (frontend screens currently open by user).
  3. Other Backlog:
    • Notification scheduling customization.
    • Bulk Operations (multi-select/dropdown for bulk invite/delete).
    • Verify Release Build (iOS code signing verification).

Next Steps for the Next Agent

  1. Restart Backend: Restart the Spring Boot server (kifi-api) if you need to perform local API testing.
  2. Resolve Product Image Bug: Finalize the investigation into why product images aren't displaying in product_list_screen.dart and add_product_screen.dart by comparing with the working Transaction image logic.
  3. Assist with Vendor Features: Provide support on purchase_order_details_screen.dart and the broader vendor management module as requested by the user.