diff --git a/plugin/src/ui/SharedNoteSuccessComponent.svelte b/plugin/src/ui/SharedNoteSuccessComponent.svelte index 7532247..4903006 100644 --- a/plugin/src/ui/SharedNoteSuccessComponent.svelte +++ b/plugin/src/ui/SharedNoteSuccessComponent.svelte @@ -1,5 +1,68 @@ - +
+

+ Your note has been encrypted and stored in the cloud. Only people with + this share link can decrypt and read this file. +

+
+ + +
+

🔐 End-to-end encrypted • Expires in {expireDays} days

+
+ + diff --git a/plugin/src/ui/SharedNoteSuccessModal.ts b/plugin/src/ui/SharedNoteSuccessModal.ts index e99d30a..5fdcc39 100644 --- a/plugin/src/ui/SharedNoteSuccessModal.ts +++ b/plugin/src/ui/SharedNoteSuccessModal.ts @@ -22,6 +22,7 @@ export class SharedNoteSuccessModal extends Modal { target: this.contentEl, props: { url: this.url, + expireDays: 0, }, }); } diff --git a/server/prisma/dev.db b/server/prisma/dev.db index b86b9a5..bbeb8af 100644 Binary files a/server/prisma/dev.db and b/server/prisma/dev.db differ