Personalized Work Efficiency Booster

Personalized Work Efficiency Booster

Session Goal & Duration

Choose Your Efficiency Strategy

Active Session

Session Goal(s):

    Chosen Strategy:

    Quick Distraction Log

    Distractions Logged: 0

      Session Review

      Goal Completion:

        Strategy Effectiveness

        Strategy Used:

        Personal Metrics & Reflections

        Distractions Logged: 0

        Efficiency Booster Insights

        • Complete the review to see insights.

        Distractions Logged: ${pwebSession.distractions.length}

        `; if(pwebSession.distractions.length > 0) { pdfHTML += `
          `; pwebSession.distractions.forEach(d => pdfHTML += `
        • [${new Date(d.time).toLocaleTimeString([],{hour:'2-digit', minute:'2-digit'})}] ${d.note || 'Distraction'}
        • `); pdfHTML += `
        `; } pdfHTML += `

        Strategy Effectiveness Rating: ${pwebSession.review.strategyRating}/5

        `; pdfHTML += `

        What worked well with strategy:
        ${pwebSession.review.strategyWorked.replace(/\n/g, '
        ') || "N/A"}

        `; pdfHTML += `

        What was challenging with strategy:
        ${pwebSession.review.strategyChallenging.replace(/\n/g, '
        ') || "N/A"}

        `; pdfHTML += `

        Personal Focus Rating: ${pwebSession.review.focusRating}/5

        `; pdfHTML += `

        Perceived Efficiency Rating: ${pwebSession.review.efficiencyRating}/5

        `; pdfHTML += `

        3. Efficiency Booster Insights

          `; if (pwebSession.review.insightsGenerated && pwebSession.review.insightsGenerated.length > 0) { pwebSession.review.insightsGenerated.forEach(insight => pdfHTML += `
        • ${insight}
        • `); } else { pdfHTML += `
        • No specific automated insights generated. Refer to your reflections.
        • `; } pdfHTML += `
        `; const pdfContainer = document.getElementById('pweb-report-content-for-pdf'); if(!pdfContainer) { console.error("PDF container not found"); return; } pdfContainer.innerHTML = pdfHTML; const opt = { margin: [0.6, 0.5, 0.6, 0.5], filename: `Efficiency_Report_${pwebSession.date}.pdf`, image: { type: 'jpeg', quality: 0.98 }, html2canvas: { scale: 2, useCORS: true, logging: false }, jsPDF: { unit: 'in', format: 'letter', orientation: 'portrait' }, pagebreak: { mode: ['avoid-all', 'css', 'legacy'] } }; html2pdf().from(pdfContainer).set(opt).save().then(() => { pdfContainer.innerHTML = ''; }).catch(err => { console.error("Error generating PDF:", err); pdfContainer.innerHTML = ''; alert("An error occurred while generating the PDF. Check console for details."); }); }
        Scroll to Top