cleanup - removing ai agent for deterministic code and better formatting
This commit is contained in:
@@ -224,6 +224,7 @@
|
||||
<div class="brand"><strong>Project SDE</strong> <span>| Scope Lock Meeting Suite</span></div>
|
||||
<div class="spacer"></div>
|
||||
<div class="meta">Micron Pilot | Innovation Team</div>
|
||||
<button class="hdr-btn" id="btnSaveJson">Save JSON</button>
|
||||
<button class="hdr-btn" id="btnReset">Reset all</button>
|
||||
<button class="hdr-btn primary" id="btnExport">Export meeting summary</button>
|
||||
</header>
|
||||
@@ -658,6 +659,18 @@ document.getElementById('btnAddReady').addEventListener('click', ()=>{
|
||||
});
|
||||
document.getElementById('newReadyItem').addEventListener('keydown', e=>{ if(e.key==='Enter') document.getElementById('btnAddReady').click(); });
|
||||
|
||||
/* ================= SAVE JSON (raw data dump for migration/import) ================= */
|
||||
document.getElementById('btnSaveJson').addEventListener('click', ()=>{
|
||||
const stamp = new Date().toISOString().slice(0,10);
|
||||
const blob = new Blob([JSON.stringify(S, null, 2)], {type:'application/json'});
|
||||
const a = document.createElement('a');
|
||||
a.href = URL.createObjectURL(blob);
|
||||
a.download = `SDE_Scope_Lock_state_${stamp}.json`;
|
||||
a.click();
|
||||
URL.revokeObjectURL(a.href);
|
||||
toast('State saved to JSON');
|
||||
});
|
||||
|
||||
/* ================= EXPORT ================= */
|
||||
document.getElementById('btnExport').addEventListener('click', ()=>{
|
||||
const d = new Date();
|
||||
|
||||
Reference in New Issue
Block a user