Preprod MR: [BITO-12229] Test -1
Summary by Bito
This pull request introduces new web pages for an admin dashboard and user report functionality, enhances the existing index page with better metadata and interactive features, and adds a new backend API endpoint for statistical data. The changes encompass frontend HTML pages with embedded JavaScript and CSS, as well as server-side modifications to support stats calculations.
Detailed Changes
- Adds dashboard.html page with user summary display, action logging, and navigation to report page.
- Adds report.html page for user score calculation, activity tracking, and debug logging.
- Modifies index.html to include meta charset and viewport tags, search form, and contact form submission.
- Introduces /api/stats endpoint in server.js that computes statistical percentages from metrics data.
Edited by KUNAL KUMAR