# Project TODO List This document outlines the remaining tasks, incomplete features, and future development plans for the application. ## High Priority - **Implement Payment Processing**: The current rent payment system in `routes/tenant/rent/pay/index.tsx` is a placeholder. It needs to be fully implemented with a payment provider like Stripe to handle real transactions securely. ## Backend & API - **Add Well-Known Endpoint**: Implement a `/.well-known/acme-challenge/:token` endpoint in `main.ts` to support services like Let's Encrypt for SSL certificate validation in production. - **Enforce Database Constraints**: Ensure the `owner_id` field in the `AccessTokenResponse` interface is unique for each entry, as noted in `utils/database.ts`. This is crucial for maintaining data integrity. ## Feature Development - **Complete Landlord Dashboard**: Flesh out all features under the `routes/landlord/` directory. This includes: - Property management - Tenant invitation and management (`islands/LandlordInviteTenant.tsx`) - Messaging with tenants (`islands/LandlordMessageThreads.tsx`) - Financial tracking and reporting - **Complete Tenant Dashboard**: Finalize all features under the `routes/tenant/` directory. This includes: - Viewing lease documents - Tracking rent payments and financial obligations - Messaging with landlords (`islands/TenantMessageThreads.tsx`) - Managing settings (`islands/TenantSettings.tsx`) - **Enhance User Onboarding**: Improve the onboarding flow for both new landlords and tenants in `routes/onboarding/`.\n- **Develop User Profile Management**: Complete the user profile editing and management features in `routes/user-profile/`.\n\n## Future Features & Refinements\n- **AI/ML Feature Integration**: The advanced features found in the `islands/` directory need further development and integration into the user experience. This includes:\n - `BrainStudy.tsx`\n - `Quizzing.tsx`\n - `ImageGenerater.tsx`\n - `VoiceRecorder.tsx`\n- **Calendar Functionality**: Expand the calendar features in `routes/calendar/` and improve the `islands/FinancialCalendar.tsx` component to be more interactive and informative.\n- **Document Management**: Build out a robust document upload, storage, and sharing system for leases, notices, and other rental-related documents.\n- **Reminders and Notifications**: Implement a system for sending automated reminders for rent payments, lease renewals, and other important events.\nEOF