Commit Graph

15 Commits

Author SHA1 Message Date
791e3664ee feat: Integrate ConversationTimeline into DebtCard for enhanced debt updates 2025-06-08 01:53:12 -03:00
7c91b625a6 feat: Add manual response dialog and update debt status handling
- Introduced ManualResponseDialog component for user-initiated responses when AI analysis is unclear.
- Updated DebtTimeline to include AlertTriangle icon for debts requiring manual review.
- Enhanced supabase functions to handle new debt status 'requires_manual_review' and message type 'manual_response'.
- Implemented email variable processing utilities to support dynamic email content generation.
- Created tests for email variable extraction and replacement functions.
- Updated database schema to accommodate new statuses and message types, including relevant constraints and indexes.
- Adjusted negotiation and email sending logic to ensure proper handling of manual responses and variable replacements.
2025-06-08 01:49:19 -03:00
bddc3a344d Adds AI-driven conversation tracking to debt negotiation
Introduces comprehensive conversation history with a new table and UI for tracking all negotiation emails, AI analysis, and financial outcomes. Enhances real-time updates, manages negotiation rounds, and supports new statuses for negotiation lifecycle. Integrates AI-powered extraction and response analysis to automate intent detection and outcome calculations, improving transparency and automation of debt resolution.
2025-06-08 00:32:04 -03:00
0c6f72761d Adds email approval & Postmark integration for negotiations
Enables users to approve and send negotiation emails directly via Postmark after configuring a server token in settings. Introduces new debt statuses ("approved", "sent"), UI for token management, and approval/rejection flows. Refactors notifications to use a modern toast library, adjusts dashboard status filters, and updates DB schema for new flows.

Empowers compliant, user-controlled negotiation and automated email delivery.
2025-06-07 18:48:07 -03:00
7f70ec880f Implement debt variable management with database integration in DebtCard component 2025-06-07 14:53:02 -03:00
1239e0f6f3 Refactor DebtCard and Dashboard components for improved UI structure and functionality; add editable response dialog for AI-generated negotiation emails. 2025-06-07 14:43:58 -03:00
1ecc722b63 Add personal data management to user configuration and onboarding 2025-06-07 13:10:52 -03:00
0d2ab87519 feat: enhance Navbar with user profile and configuration links
- Updated Navbar component to include a link to the configuration page.
- Added a new Settings icon and link for user configuration.
- Improved user session handling and UI updates based on authentication state.

feat: implement OnboardingDialog for user setup

- Created OnboardingDialog component to guide users through initial setup.
- Added functionality to collect additional email addresses during onboarding.
- Integrated toast notifications for error handling during email addition.

feat: extend Supabase admin functions for user management

- Added functions to retrieve user IDs and full user information by email.
- Implemented error handling and logging for database operations.

feat: update Supabase schema with new user features

- Created new tables: user_profiles, additional_emails, and email_processing_usage.
- Enabled Row Level Security (RLS) on new tables with appropriate policies.
- Added triggers and functions for automatic user profile creation and email usage tracking.

feat: create public users table for simplified access

- Established a public.users table to mirror relevant auth.users data.
- Implemented triggers to automatically populate public.users upon user creation.
- Set up RLS policies to restrict access to user data.

chore: add configuration files for Supabase local development

- Included .gitignore and config.toml for local Supabase setup.
- Configured email testing server and other development settings.

feat: add configuration page for user settings

- Created configuration.astro page to manage user settings.
- Integrated AuthGuard to protect the configuration route.
2025-06-07 04:37:03 -03:00
d37509338e Added dark modes 2025-06-07 03:01:36 -03:00
239c9cf313 Add ModeToggle component and integrate it into Navbar; enhance dark mode handling in Layout 2025-06-07 02:55:14 -03:00
Francisco Pessano
2a0e6c7801 Add global authentication protection 2025-06-06 21:24:59 -03:00
Francisco Pessano
b66dd9f9cb Updated AuthForm.tsx 2025-06-06 21:19:56 -03:00
Francisco Pessano
fe2c8269e4 Updated AuthForm.tsx 2025-06-06 21:16:34 -03:00
Francisco Pessano
7349ae477c Add authentication system with landing page 2025-06-06 21:16:33 -03:00
Francisco Pessano
1bb5fcd022 Start repository 2025-06-06 21:14:10 -03:00