From 2725dad6bca0287bbbe2e7a0d0f0bfb5d960bea9 Mon Sep 17 00:00:00 2001 From: Kovah Date: Wed, 19 Feb 2025 09:03:08 +0100 Subject: [PATCH] Adjust settings tab --- main.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/main.ts b/main.ts index a2c0567..30c3a13 100644 --- a/main.ts +++ b/main.ts @@ -86,14 +86,9 @@ class SampleSettingTab extends PluginSettingTab { display(): void { const {containerEl} = this; - containerEl.empty(); - containerEl.createEl('h1', {text: 'Jira Linker'}); - containerEl.createEl('p').innerHTML = 'by Kevin Woblick'; - containerEl.createEl('br'); - - containerEl.createEl('h2', {text: 'Projects'}); + new Setting(containerEl).setName('Projects').setHeading(); containerEl.createEl('p', {text: 'Configure your projects here. The project key is the actual key from Jira and consists of uppercase letters or numbers without the dash and the issue number. The Jira URL must be set without a path, like https://example.atlassian.net.'}); // Display current registrations