Experiment to rebuild Diffuse using web applets.
0
fork

Configure Feed

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

chore: adapt to spellcaster changes

+10 -5
+1 -1
package-lock.json
··· 4620 4620 }, 4621 4621 "node_modules/spellcaster": { 4622 4622 "version": "5.0.2", 4623 - "resolved": "git+ssh://git@github.com/icidasset/spellcaster.git#630230c0950518a39047ea6ef34530b9d64c0c7f", 4623 + "resolved": "git+ssh://git@github.com/icidasset/spellcaster.git#d26172ab8b5420ea508ebdba5ed78a18c363d2c0", 4624 4624 "dependencies": { 4625 4625 "signal-polyfill": "^0.2.0" 4626 4626 }
+8 -3
src/applets/configurator/storage/output/applet.astro
··· 31 31 32 32 <style lang="scss"> 33 33 @use "@picocss/pico/scss/pico" with ( 34 - $enable-responsive-spacings: true 34 + $enable-responsive-spacings: true, 35 + $enable-responsive-typography: true 35 36 ); 36 37 37 38 @use "@picocss/pico/scss/colors/utilities"; ··· 89 90 const container = document.getElementById("iframes"); 90 91 if (!container) throw new Error("Missing iframe container"); 91 92 93 + // TODO: Use https://developer.mozilla.org/en-US/docs/Web/API/Broadcast_Channel_API 94 + // so that the other instances of this applet can be notified 95 + // that something changed? 96 + // 92 97 // TODO: Should migrate + merge data when switching storages 93 98 // Or button to do that? 94 99 // ··· 238 243 const Modal = () => { 239 244 const Header = h("header", {}, [ 240 245 h("button", { 246 + attrs: { rel: "prev" }, 241 247 ariaLabel: "Close", 242 - rel: "prev", 243 248 onclick: close, 244 249 }), 245 250 h("p", {}, [ ··· 280 285 ]; 281 286 } 282 287 283 - return [h("span", {}, text("Enter the URL to your applet."))]; 288 + return [h("span", {}, text("Enter the URL to the applet."))]; 284 289 }); 285 290 286 291 effect(() => {
+1 -1
src/scripts/theme.ts
··· 93 93 export function addScope<O extends Object>(astroScope: string, object: O): O { 94 94 return { 95 95 ...object, 96 - [`data-astro-cid-${astroScope}`]: "", 96 + attrs: { ...((object as any).attrs || {}), [`data-astro-cid-${astroScope}`]: "" }, 97 97 }; 98 98 } 99 99