From a9fbcdd8e031bf6b52d02de9c507478b4438b30a Mon Sep 17 00:00:00 2001 From: Silberengel Date: Fri, 1 May 2026 12:03:19 +0200 Subject: [PATCH] make custom events easier to edit --- electron/main.cjs | 4 + package.json | 8 +- .../NoteOptions/EditOrCloneEventDialog.tsx | 121 ++++++++++-------- 3 files changed, 78 insertions(+), 55 deletions(-) diff --git a/electron/main.cjs b/electron/main.cjs index 42d3cacb..8484d0d9 100644 --- a/electron/main.cjs +++ b/electron/main.cjs @@ -5,6 +5,10 @@ const fs = require('fs') const http = require('http') const path = require('path') +// Linux WM_CLASS / Wayland app_id: must differ from the Qt Imwald desktop client (`imwald-desktop`) +// and from generic `imwald` (package.json name) or GNOME groups windows as one application. +app.setName('imwald-jumble') + /** True when running from source (`electron .`); false when packaged. */ const isDev = !app.isPackaged diff --git a/package.json b/package.json index af8536aa..c01058db 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "imwald", - "version": "23.1.2", + "version": "23.2.0", "description": "Imwald — a user-friendly Nostr client focused on relay feed browsing, publications, and relay discovery", "private": true, "type": "module", @@ -181,7 +181,11 @@ ], "category": "Network", "maintainer": "Silberengel", - "icon": "public/pwa-512x512.png" + "icon": "public/pwa-512x512.png", + "executableName": "imwald-jumble", + "desktop": { + "StartupWMClass": "imwald-jumble" + } } }, "overrides": { diff --git a/src/components/NoteOptions/EditOrCloneEventDialog.tsx b/src/components/NoteOptions/EditOrCloneEventDialog.tsx index fbce4a97..327dfcea 100644 --- a/src/components/NoteOptions/EditOrCloneEventDialog.tsx +++ b/src/components/NoteOptions/EditOrCloneEventDialog.tsx @@ -419,9 +419,9 @@ export default function EditOrCloneEventDialog(props: EditOrCloneEventDialogProp - -
-
+ +
+
{isCreate ? ( <> @@ -475,65 +475,80 @@ export default function EditOrCloneEventDialog(props: EditOrCloneEventDialogProp /> )}
-
+