Experiment to rebuild Diffuse using web applets.
0
fork

Configure Feed

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

chore: only wait for applets data.ready for applets with nested applets

+1 -8
-2
src/pages/configurator/input/_applet.astro
··· 58 58 //////////////////////////////////////////// 59 59 60 60 const list = async (cachedTracks: Track[] = []) => { 61 - await waitUntilAppletIsReady(input.nativeFs); 62 - 63 61 const groups = cachedTracks.reduce( 64 62 (acc: Record<string, Track[]>, track: Track) => { 65 63 const scheme = track.uri.split(":", 1)[0];
+1 -6
src/pages/input/native-fs/_applet.astro
··· 42 42 const SCHEME = manifest.input_properties.scheme; 43 43 44 44 // Register applet 45 - const context = applets.register<{ ready: boolean }>(); 45 + const context = applets.register(); 46 46 47 47 //////////////////////////////////////////// 48 48 // UI ··· 287 287 288 288 return tracks; 289 289 } 290 - 291 - //////////////////////////////////////////// 292 - // 🚦 293 - //////////////////////////////////////////// 294 - context.data = { ready: true }; 295 290 </script>