diff --git a/.yarn/install-state.gz b/.yarn/install-state.gz index 7c6f2080..f6bda3e5 100644 Binary files a/.yarn/install-state.gz and b/.yarn/install-state.gz differ diff --git a/apps/gui/package.json b/apps/gui/package.json index 961f7b69..6f012590 100755 --- a/apps/gui/package.json +++ b/apps/gui/package.json @@ -69,8 +69,10 @@ "prettier-plugin-svelte": "^3.1.2", "prettier-plugin-tailwindcss": "^0.6.4", "publint": "^0.2.0", + "sass-embedded": "^1.82.0", "serve": "^14.2.4", "svelte": "^5.2.7", + "svelte-bricks": "^0.2.1", "svelte-check": "^3.6.0", "svelte-preprocess": "^6.0.3", "svelte-radix": "^1.1.0", @@ -78,7 +80,7 @@ "tailwind-variants": "^0.2.1", "tailwindcss": "^3.4.4", "tslib": "^2.4.1", - "typescript": "^5.0.0", + "typescript": "^5.7.2", "vite": "^5.0.11", "vite-plugin-copy": "^0.1.6", "vite-plugin-top-level-await": "^1.4.4", @@ -100,16 +102,20 @@ "compress-json": "^3.1.0", "country-code-to-flag-emoji": "^1.3.3", "dexie": "^4.0.8", + "dompurify": "^3.2.3", "lodash": "^4.17.21", "lucide-svelte": "^0.462.0", + "marked": "^15.0.3", "minisearch": "^7.1.0", "nostr-tools": "^2.10.3", "radix-svelte": "^0.9.0", "surrealdb": "^1.0.6", "svelte-geolocation": "^1.0.0", "svelte-headless-table": "^0.18.3", + "svelte-masonry": "^0.1.1", "svelte-time": "^0.9.0", "svelte-timeago": "^0.1.2", - "vite-plugin-compression": "^0.5.1" + "vite-plugin-compression": "^0.5.1", + "webcoreui": "^0.8.1" } } diff --git a/apps/gui/src/lib/components/blocks/Masonry.svelte b/apps/gui/src/lib/components/blocks/Masonry.svelte new file mode 100644 index 00000000..444929f6 --- /dev/null +++ b/apps/gui/src/lib/components/blocks/Masonry.svelte @@ -0,0 +1,45 @@ + + + + {#if item === 'map'} + + {/if} + {#if item === 'network'} + + {/if} + {#if item === 'insights'} + + {/if} + {#if item === 'checks'} + + {/if} + {#if item === 'general'} + + {/if} + {#if item === 'map'} + + {/if} + \ No newline at end of file diff --git a/apps/gui/src/lib/components/partials/generic/Counts.ts b/apps/gui/src/lib/components/partials/generic/Counts.ts new file mode 100644 index 00000000..e69de29b diff --git a/apps/gui/src/lib/components/partials/generic/Note.ts b/apps/gui/src/lib/components/partials/generic/Note.ts new file mode 100644 index 00000000..e69de29b diff --git a/apps/gui/src/lib/components/partials/relay-single/OperatorFeed.svelte b/apps/gui/src/lib/components/partials/relay-single/OperatorFeed.svelte new file mode 100644 index 00000000..d5191ada --- /dev/null +++ b/apps/gui/src/lib/components/partials/relay-single/OperatorFeed.svelte @@ -0,0 +1,50 @@ + + +
+wtf
+

Operator Feed

+ {#if $userService} + + {/if} +
+ diff --git a/apps/gui/src/lib/components/partials/relay-single/OperatorFeedNote.svelte b/apps/gui/src/lib/components/partials/relay-single/OperatorFeedNote.svelte new file mode 100644 index 00000000..ef5ae1a2 --- /dev/null +++ b/apps/gui/src/lib/components/partials/relay-single/OperatorFeedNote.svelte @@ -0,0 +1,79 @@ + + +
+
+ {#if noteExtended.note?.created_at} + {timeAgo(noteExtended.note.created_at*1000)} + {/if} + | + link +
+ +
+ {@html $content} +
+
+
+ + {noteExtended.reactions.length} +
+
+ + {noteExtended.zaps.length} +
+
+ 🗨 + {noteExtended.comments.length} +
+
+ +
+ + \ No newline at end of file diff --git a/apps/gui/src/lib/components/partials/relay-single/RelayInsights.svelte b/apps/gui/src/lib/components/partials/relay-single/RelayInsights.svelte index dcf1312d..8ad55dd1 100644 --- a/apps/gui/src/lib/components/partials/relay-single/RelayInsights.svelte +++ b/apps/gui/src/lib/components/partials/relay-single/RelayInsights.svelte @@ -1,6 +1,7 @@ {#if hasInsights} -

Insights

-