Mindfulness-Based Productivity Tracker
New Session Log
Pre-Session Check-in
Work Log
Sleep Context (Previous Night)
Post-Session Reflection
Recent Session Logs
| Date | Intention | Pre-Awareness | Focus | Presence | Wandered | Post-Feeling | Actions |
|---|
Note: Log data is stored in your browser's LocalStorage.
Dashboard Filters
Well-Being Averages (Selected Period)
- No data in selected range.
Log work sessions and select a date range to view the dashboard.
Key Insights & Gentle Reminders
- No data to analyze.
Analysis Period: ${analysisStartDate} to ${analysisEndDate}
`; const avgSummaryContent = document.getElementById('mbpt-average-summary-list').outerHTML; if(avgSummaryContent) pdfHTML += `Well-Being Averages (Selected Period)
${avgSummaryContent}`; const chartsToInclude = [ {instance: mbptChartInstances['mbpt-awareness-chart'], title: "Mindful Awareness (Pre-Session)"}, {instance: mbptChartInstances['mbpt-focus-chart'], title: "Focus Level (In-Session)"}, {instance: mbptChartInstances['mbpt-presence-chart'], title: "Presence Level (In-Session)"}, {instance: mbptChartInstances['mbpt-wandering-chart'], title: "Mind Wandering Count"}, {instance: mbptChartInstances['mbpt-sleep-chart'], title: "Sleep Quality & Hours"} ]; chartsToInclude.forEach(chartInfo => { if(chartInfo.instance){ try { pdfHTML += `${chartInfo.title}
Key Insights & Gentle Reminders
${insightsContent}Detailed Session Logs (${analysisStartDate} to ${analysisEndDate})
`; pdfHTML += `| Date | Intention | Pre-Aware | Focus | Presence | Wandered | Sleep(H) | Sleep(Q) | Post-Feeling | Notes |
|---|---|---|---|---|---|---|---|---|---|
| ${log.datetime.toLocaleString([],{dateStyle:'short',timeStyle:'short'})} | ${log.intention.substring(0,20)}... | ${log.preAwareness} | ${log.focusLevel} | ${log.presenceLevel} | ${log.mindWandering} | ${log.sleepHours.toFixed(1)} | ${log.sleepQuality} | ${log.postFeeling} | ${log.generalNotes.substring(0,30)}${log.generalNotes.length > 30 ? '...' : ''} |
