- Update access denied messages to use HTML entities.
- Add autoComplete attributes to forms for better user experience.
- Improve trend calculations in sessionMetrics function.
- Update MetricCard props to accept React nodes for icons.
- Integrate Next.js Image component in Sidebar for optimization.
- Adjust ESLint rules for better code quality.
- Add new properties for trends in MetricsResult interface.
- Bump version to 0.2.0 in package.json.
Refactors dashboard to use actual metrics for country data,
removing dummy data for improved accuracy. Integrates the
country-code-lookup package for geographic mapping, adding
comprehensive country coordinates. Increases performance and
data validation across API endpoints and adjusts WordCloud
component size for better visualization.
Enhances session handling with improved validation logic,
and updates configuration for allowed origins.
Adds Markdown rendering to the transcript viewer for enhanced formatting.
This change integrates `react-markdown` to parse and render transcript content, allowing for richer text formatting, including links and other Markdown elements. It also adds a toggle to switch between raw and formatted text, and displays a message when transcript content is unavailable. The UI of the transcript viewer has been improved to be more user-friendly with titles and descriptions.
Adds a transcript viewer component to display transcript content within the session details page.
This change introduces a new `TranscriptViewer` component that renders the transcript content if available. It also adds logic to fetch and store transcript content from the provided URL during session data refresh. The existing link-based transcript view is now used as a fallback when only the transcript URL is available. It also fixes an issue where session ID was not properly displayed.
Improves the dashboard's appearance and user experience by updating styles and layouts.
Changes include:
- Updates to color schemes and spacing for better readability and visual appeal.
- Implements a responsive layout for the header to adapt to different screen sizes.
- Refactors button styles for consistency and clarity.
- Adds a gradient background to the main dashboard page.
- Updates the NextAuth URL in the development environment.
Improves the dashboard with additional metrics and visualizations
to provide a more comprehensive overview of application usage and performance.
Adds new charts, including:
- Word cloud for category analysis
- Geographic map for user distribution (simulated data)
- Response time distribution chart
Refactors existing components for improved clarity and reusability,
including the introduction of a generic `MetricCard` component.
Improves error handling and user feedback during data refresh and
session loading.
Adds recommended VSCode extensions for ESLint and Prettier.
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.
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