From daf613398a820d424f4c4cb15231a7e2d6eb136c Mon Sep 17 00:00:00 2001 From: lizzie Date: Sat, 1 Aug 2026 09:42:15 +0000 Subject: [PATCH 1/3] feat: copy group (and individual) DMs channel URL Signed-off-by: lizzie --- src/webpage/direct.ts | 10 +++++++++- translations/en.json | 1 + 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/webpage/direct.ts b/src/webpage/direct.ts index 6ab38a8..cfdc3db 100644 --- a/src/webpage/direct.ts +++ b/src/webpage/direct.ts @@ -492,7 +492,15 @@ class Group extends Channel { ); this.groupcontextmenu.addSeperator(undefined, "dm"); - + this.groupcontextmenu.addButton( + I18n.DMs.copyURL(), + function (this: Group) { + navigator.clipboard.writeText(`${location.origin}/channels/@me/${this.id}`); + }, + { + group: "id", + }, + ); this.groupcontextmenu.addButton( () => I18n.DMs.copyId(), function (this: Group) { diff --git a/translations/en.json b/translations/en.json index 0da766a..11b7273 100644 --- a/translations/en.json +++ b/translations/en.json @@ -39,6 +39,7 @@ "DMs": { "add": "Add someone to this DM", "close": "Close DM", + "copyURL":"Copy DM URL", "copyId": "Copy DM id", "markRead": "Mark as read", "name": "Direct Messages" From 112bd2561c9e0dc2bb2f9faf7e06bd9eb53f2591 Mon Sep 17 00:00:00 2001 From: lizzie Date: Sat, 1 Aug 2026 16:58:24 +0000 Subject: [PATCH 2/3] feat: align attachment preview horz/vert Signed-off-by: lizzie --- src/webpage/style.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/webpage/style.css b/src/webpage/style.css index 0700da8..76236a4 100644 --- a/src/webpage/style.css +++ b/src/webpage/style.css @@ -2483,13 +2483,14 @@ span.instanceStatus { border-radius: 8px; overflow: hidden; height: 192px; + display: flex; + align-items: center; + justify-content: center; .unknownfile { width: 100%; height: 100%; display: flex; flex-direction: column; - align-items: center; - justify-content: center; } } .messageimgdiv { From 4254e6fefcf608f6190e92904f46f2f9c39948ba Mon Sep 17 00:00:00 2001 From: lizzie Date: Sat, 1 Aug 2026 18:23:41 +0000 Subject: [PATCH 3/3] feat: line break so i can type long words without remorse Signed-off-by: lizzie --- src/webpage/style.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/webpage/style.css b/src/webpage/style.css index 0700da8..c1cde02 100644 --- a/src/webpage/style.css +++ b/src/webpage/style.css @@ -2557,6 +2557,7 @@ span.instanceStatus { flex-shrink: 1; text-wrap: auto; overflow-y: auto; + word-break: break-all; margin-right: 0.03in; padding: 10px 0; }