From 69111458163b516ce636c50b2f57126e7b104e7f Mon Sep 17 00:00:00 2001 From: Luke Leppan Date: Sat, 19 Jun 2021 22:01:10 +0200 Subject: [PATCH 1/3] Remove the ugly text when connected --- src/status-bar.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/status-bar.ts b/src/status-bar.ts index 7c0a7e1..1bed878 100644 --- a/src/status-bar.ts +++ b/src/status-bar.ts @@ -28,6 +28,10 @@ export class StatusBar { window.setTimeout(() => { this.statusBarEl.setText(""); }, timeout); + } else { + window.setTimeout(() => { + this.statusBarEl.setText(`\u{1F30D}`); + }, 5000); } } } From 8352182391e6939e5f48492998ab2897e3a557fe Mon Sep 17 00:00:00 2001 From: Luke Leppan Date: Sat, 19 Jun 2021 22:07:40 +0200 Subject: [PATCH 2/3] edit the README --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index bc1f2fc..f750a34 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,13 @@ You can also reconnect to discord rich presence via the `Reconnect to Discord` c - Toggle whether or not to show **Connection Notices** +### Contributors + +#### @leoccyao + +- Added the disconnect feature +- Made the plugin much more user friendly + ### Issues If you have any issues or suggestions please create an **issue** or a **pull request**. From d73e9a02458a74621d85729035f358cc06d4ceb5 Mon Sep 17 00:00:00 2001 From: Luke Leppan Date: Sat, 19 Jun 2021 22:08:23 +0200 Subject: [PATCH 3/3] bump --- manifest.json | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index 052038a..eda6b75 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "obsidian-discordrpc", "name": "Discord Rich Presence", - "version": "1.4.0", + "version": "1.5.0", "description": "Update your Discord Status to show your friends what you are working on in Obsidian. With Discord Rich Presence.", "author": "Luke Leppan", "authorUrl": "https://lukeleppan.com", diff --git a/package.json b/package.json index a384339..9de96fe 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-discordrpc", - "version": "1.4.0", + "version": "1.5.0", "description": "Update your Discord Status to show your friends what you are working on in Obsidian. With Discord Rich Presence.", "main": "main.js", "scripts": {