Experiment to rebuild Diffuse using web applets.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: better logs

+5 -1
+5 -1
src/pages/orchestrator/output-management/_applet.astro
··· 83 83 const tracksHandler = (tracks: Track[]) => { 84 84 const doc = updateTracks(tracks); 85 85 86 - console.log("🔮 Saving tracks"); 86 + console.log("🔮 Tracks collection updated in memory"); 87 87 88 88 // Save tracks to output, but only the ones that need to be saved. 89 89 // TODO: For each track.uri scheme ask the input configurator if it needs to be cached? ··· 95 95 async function (doc: Automerge.Doc<{ collection: Track[] }>) { 96 96 const data = Automerge.save(doc); 97 97 98 + console.log("🔮 Saving tracks"); 99 + 98 100 await configurator.output.sendAction("put", { 99 101 name: "tracks.json", 100 102 data, 101 103 }); 104 + 105 + console.log("🔮 Tracks saved to output"); 102 106 }, 103 107 ); 104 108