- Add settingsApi in lib/api.ts with get, update, getWhatsAppStatus, testWhatsApp and getSubscription endpoints - Rewrite Settings.tsx to use React Query for data fetching - Implement useQuery for loading settings and subscription data - Implement useMutation for saving settings changes - Add form state management with controlled inputs - Add loading states, error handling and success notifications - Add individual save buttons per section plus global save - Add WhatsApp connection test functionality - Display subscription details with token usage Also includes exports API and export button components added by linter. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| assets | ||
| components | ||
| contexts | ||
| lib | ||
| locales | ||
| pages | ||
| App.tsx | ||
| index.css | ||
| main.tsx | ||