Add fullscreen rich journals, inline recording and reference-based cloud cleanup

This commit is contained in:
Codex
2026-10-18 01:35:50 +08:00
parent f9be8a0a31
commit 67bc5a1ba9
28 changed files with 1511 additions and 150 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ test('members cannot select platform settings',()=>{
function journalContext(){
const fields=Object.fromEntries(['text','occurredOn','category','visibility'].map(k=>[k,{value:k==='visibility'?'private':''}]));
const nodes={'#journal-form':{elements:fields}};
const c=vm.createContext({journalSelectedMedia:new Set(),journalBaseline:'',journalUpload:false,journalTracks:null,journalSaving:false,journalPage:3,confirm:()=>false,toast:()=>{},$:id=>nodes[id]??={value:''}});
const c=vm.createContext({window:{ZhaoJournalEditor:{document:()=>({type:'doc',text:fields.text.value})}},journalVoicePending:false,journalBaseline:'',journalUpload:false,journalTracks:null,journalSaving:false,journalPage:3,confirm:()=>false,toast:()=>{},$:id=>nodes[id]??={value:''}});
vm.runInContext(part('journal.js','function journalDraftSignature(','const journalId='),c);return {c,fields,nodes};
}
test('saved entry filter reset clears searches and dates but retains privacy',()=>{