Uses `Intl.DisplayNames` to display localized language names in the language pie chart, enhancing user experience and readability.
Also converts country and language values from the CSV data to ISO codes for standardization and improved data handling.
Adds tooltip to display ISO language code.
Adds functions to normalize language and category values from the CSV data, mapping variations to standard names and groups.
This improves data consistency and enables more accurate analysis and reporting.
Enhances the dashboard with new key performance indicators (KPIs) and visualizations.
Introduces a new stat card component for displaying metrics with trends and icons.
Adds sentiment analysis, language distribution, and token usage charts to provide a more comprehensive overview of session data.
These additions provide deeper insights into user interactions and platform performance.
Normalizes data from CSV files by mapping sentiment strings to numeric scores and standardizing boolean values.
This change enhances data consistency and accuracy, ensuring reliable data processing for sentiment analysis and boolean evaluations. It also handles multiple languages for sentiment strings.
Adds favicon and web manifest to improve the app's installability and appearance as a Progressive Web App (PWA).
Also adds `.gitignore` entries for the parser output directories.
Refactors the dashboard to improve data fetching, error handling, and overall user experience.
- Prevents errors on refresh by validating company ID.
- Improves date handling from CSV by using a `safeParseDate` function to avoid "Invalid Date" errors.
- Adds a timestamp for when metrics were last updated.
- Fixes a bug where the refresh was failing silently.
- Improves settings page by wrapping form elements with form tags.
- Adds autocomplete attributes on settings page.
- Adds database files to `.gitignore`.
refactor: improve refresh-sessions API handler for better readability and error handling
fix: enhance NextAuth configuration with session token handling and cookie settings
chore: update dashboard API handlers for consistency and improved error responses
style: format dashboard API routes for better readability
feat: implement forgot password and reset password functionality with security improvements
feat: add user registration API with email existence check and initial company creation
chore: create initial database migration and seed script for demo data
style: clean up PostCSS and Tailwind CSS configuration files
fix: update TypeScript configuration for stricter type checking
chore: add development environment variables for NextAuth
feat: create Providers component for session management in the app
chore: initialize Prisma migration and seed files for database setup
- Added @tailwindcss/postcss to devDependencies for better PostCSS integration.
- Enhanced session import logic in refresh-sessions.ts to ensure proper data mapping and type safety.
- Updated postcss.config.js to use the correct plugin name for Tailwind CSS.
- Modified tsconfig.json to temporarily disable strict mode and allow implicit any types for smoother development.
- Add package.json with dependencies and scripts for Next.js and Prisma
- Implement API routes for session management, user authentication, and company configuration
- Create database schema for Company, User, and Session models in Prisma
- Set up authentication with NextAuth and JWT
- Add password reset functionality and user registration endpoint
- Configure Tailwind CSS and PostCSS for styling
- Implement metrics and dashboard settings API endpoints