A standalone MUI adoption tracking system that generates sprint reports and dashboards.
- Clone this repo
- Run the setup script:
node setup.mjs
- Follow the prompts to configure your frontend repo path
- Run the tracker:
node mui-sprint-tracker.mjs
# Generate sprint report
node mui-sprint-tracker.mjs
# Generate dashboard from report
node mui-sprint-dashboard-generator.mjs
# View dashboard
open mui-sprint-dashboard.html
# NEW! Analyze entire codebase UI composition
node system-wide-ui-analyzer.mjs
# View system-wide dashboard
open system-wide-ui-dashboard.htmlsetup.mjs- Run this first to configure your frontend repo pathconfig.json- Configuration file (created by setup script)mui-sprint-tracker.mjs- Analyzes git history and generates sprint reportmui-sprint-dashboard-generator.mjs- Creates dashboard from report datasystem-wide-ui-analyzer.mjs- NEW! Analyzes entire codebase UI compositionautomation-setup.mjs- Provides cron job setup instructionssprint-report.json- Generated sprint data (created by tracker)mui-sprint-dashboard.html- Generated dashboard (created by generator)system-wide-ui-report.json- Complete codebase analysis (created by analyzer)system-wide-ui-dashboard.html- System-wide dashboard (created by analyzer)
To set up automatic generation every 2 weeks:
node automation-setup.mjsFollow the instructions to add a cron job.
- Total Offences: Engineers who modified legacy components without updating to MUI
- Total Conversions: Engineers who contributed to MUI migration
- Product MUI %: MUI adoption rate of components modified during the sprint
- Total UI Files: Complete count of all UI components in the codebase
- MUI Components: Number of components using MUI libraries
- Legacy Components: Number of components using Bootstrap, Semantic UI, etc.
- Overall MUI Adoption Rate: True percentage across entire deployed system
- Library Breakdown: Detailed breakdown of which legacy libraries are still in use
- Module Distribution: UI composition across different modules/packages
- Top Converters: Engineers who converted the most components to MUI
- Offences: Engineers who violated the MUI mandate
Total Offences: Counts every entry in the offenders array from the JSON report, where each entry represents one engineer who modified a component using legacy libraries but didn't update it to MUI.
Total Conversions: Sums up the conversions field from each engineer in the bestPerformers array, where each engineer gets credit for every MUI component they modified during the sprint period.
Product MUI %: Uses the existing adoptionRate calculation from the JSON report, which divides MUI components by total UI components (MUI + Legacy + Mixed) and multiplies by 100.
Top Converters Tab: Shows the first 10 engineers from the bestPerformers array, ranked by their conversion count, displaying their name, conversion count, and first 3 components they worked on.
Offences Tab: Shows every entry from the offenders array, displaying the component filename, engineer name, and which legacy library they're still using.