Writing Group Agenda Generator

Writing Group Session Agenda

Group: The Lit Circle | Date: | Total Duration:

Time Allocation

Total Time Used: 0 minutes


Session Segments

2. Critique Slots (Dynamic)

Meeting Metadata


Share one writing goal or challenge for the week.

`); // --- 2. Critique Slots --- let critiqueList = wgcgCritiqueSlots.map((s, i) => `
  • ${s.author} on "${s.topic}" — ${s.time} minutes
  • `).join(''); addSegment('2. Critique Session', critiqueTotalTime, `
      ${critiqueList || '
    • No critique slots scheduled.
    • '}
    `); // --- 3. Discussion --- addSegment('3. General Q&A / Discussion', discussionTime, `

    Open floor for general writing questions or industry talk.

    `); // --- 4. Wrap-up --- addSegment('4. Wrap-up & Next Steps', wrapupTime, `

    Confirm next week's assignments and final adjournment.

    `); document.getElementById('wgcg-agenda-content').innerHTML = agendaHtml; // Update Time Alert const alertEl = document.getElementById('wgcg-time-alert'); if (totalUsedTime > maxDuration) { alertEl.innerText = `OVER TIME: Used ${totalUsedTime} min (Max ${maxDuration} min)`; alertEl.style.color = '#e74c3c'; } else { const remaining = maxDuration - totalUsedTime; alertEl.innerText = `On Track: ${totalUsedTime} min used (${remaining} min free)`; alertEl.style.color = '#27ae60'; } // Update Chart wgcgUpdateChart(checkinTime, critiqueTotalTime, discussionTime, wrapupTime, maxDuration); }; // --- Chart Logic --- window.wgcgInitChart = function() { const ctx = document.getElementById('wgcg-chart').getContext('2d'); wgcgChart = new Chart(ctx, { type: 'doughnut', data: { labels: ['Check-in', 'Critique', 'Discussion', 'Wrap-up', 'Free Time'], datasets: [{ data: [10, 50, 15, 5, 10], // Initial dummy data (90 min total) backgroundColor: ['#b7e4c7', '#1b4332', '#40916c', '#99e9b4', '#e9ecef'], borderWidth: 1 }] }, options: { responsive: true, maintainAspectRatio: false, plugins: { legend: { position: 'bottom', labels: { boxWidth: 10, padding: 10 } } } } }); }; window.wgcgUpdateChart = function(checkin, critique, discussion, wrapup, maxDuration) { const usedTime = checkin + critique + discussion + wrapup; const freeTime = Math.max(0, maxDuration - usedTime); if (wgcgChart) { wgcgChart.data.datasets[0].data = [checkin, critique, discussion, wrapup, freeTime]; wgcgChart.update(); } }; window.wgcgResetData = function(silent = false) { if(silent || confirm("Clear all agenda data and reset to defaults?")) { wgcgCritiqueSlots = [ { author: 'Jane', topic: 'Chapter 5: Rising Action', time: 25 }, { author: 'Michael', topic: 'Poem Series: The Watcher', time: 15 } ]; document.getElementById('wgcg-cfg-group').value = 'The Lit Circle'; document.getElementById('wgcg-cfg-max-time').value = 90; document.getElementById('wgcg-in-time-checkin').value = 10; document.getElementById('wgcg-in-time-discussion').value = 15; document.getElementById('wgcg-in-time-wrapup').value = 5; document.getElementById('wgcg-cfg-date').valueAsDate = new Date(); wgcgRenderSlotsList(); wgcgUpdateAgenda(); if (!silent) alert("Agenda reset to template."); } }; // --- PDF Export --- window.wgcgDownloadPDF = function() { const element = document.getElementById('wgcg-export-area'); const opt = { margin: 0.75, filename: 'Writing_Group_Agenda.pdf', image: { type: 'jpeg', quality: 0.98 }, html2canvas: { scale: 2 }, jsPDF: { unit: 'in', format: 'letter', orientation: 'portrait' } }; html2pdf().set(opt).from(element).save(); }; })();
    Scroll to Top