From 0c8b6e56dad46deb6b0316a180686bcf5c6a2016 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Wed, 8 Dec 2021 23:33:45 +0100 Subject: [PATCH] theme tweaks --- tabby-core/src/services/homeBase.service.ts | 4 ++++ tabby-settings/src/components/settingsTab.component.pug | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/tabby-core/src/services/homeBase.service.ts b/tabby-core/src/services/homeBase.service.ts index 3b0043e1..cb76fded 100644 --- a/tabby-core/src/services/homeBase.service.ts +++ b/tabby-core/src/services/homeBase.service.ts @@ -31,6 +31,10 @@ export class HomeBaseService { this.platform.openExternal('https://github.com/Eugeny/tabby/discussions') } + openTwitter (): void { + this.platform.openExternal('https://twitter.com/eugeeeeny') + } + reportBug (): void { let body = `Version: ${this.appVersion}\n` body += `Platform: ${this.hostApp.platform} ${process.arch} ${this.platform.getOSRelease()}\n` diff --git a/tabby-settings/src/components/settingsTab.component.pug b/tabby-settings/src/components/settingsTab.component.pug index 353c7991..ab7cd179 100644 --- a/tabby-settings/src/components/settingsTab.component.pug +++ b/tabby-settings/src/components/settingsTab.component.pug @@ -58,6 +58,12 @@ div What's new small.text-muted Show release notes + button.list-group-item.list-group-item-action.link-card((click)='homeBase.openTwitter()') + i.fab.fa-fw.fa-twitter + div + div Subscribe to updates + small.text-muted Tabby news and updates on Twitter + h3 Application settings .form-line(*ngIf='platform.isShellIntegrationSupported()')