mirror of
https://github.com/got-feedBack/feedBack-desktop.git
synced 2026-08-15 21:27:12 +00:00
Merge pull request #84 from got-feedBack/chore/plugin-manager-rebrand
chore(plugin-manager): rebrand UI strings from Slopsmith to fee[dB]ack
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
"id": "plugin_manager",
|
"id": "plugin_manager",
|
||||||
"name": "Plugin Manager",
|
"name": "Plugin Manager",
|
||||||
"version": "0.1.1",
|
"version": "0.1.1",
|
||||||
"description": "Install, update, and remove Slopsmith plugins",
|
"description": "Install, update, and remove fee[dB]ack plugins",
|
||||||
"bundled": true,
|
"bundled": true,
|
||||||
"nav": {
|
"nav": {
|
||||||
"label": "Plugins",
|
"label": "Plugins",
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<div class="mb-6 p-4 rounded-lg bg-slate-800/50">
|
<div class="mb-6 p-4 rounded-lg bg-slate-800/50">
|
||||||
<h3 class="text-sm font-semibold mb-2 text-slate-300">Install Plugin</h3>
|
<h3 class="text-sm font-semibold mb-2 text-slate-300">Install Plugin</h3>
|
||||||
<div class="flex gap-2">
|
<div class="flex gap-2">
|
||||||
<input type="text" id="pm-git-url" placeholder="https://github.com/user/slopsmith-plugin-foo.git"
|
<input type="text" id="pm-git-url" placeholder="https://github.com/user/feedback-plugin-foo.git"
|
||||||
class="flex-1 bg-slate-700 border border-slate-600 rounded px-3 py-2 text-sm">
|
class="flex-1 bg-slate-700 border border-slate-600 rounded px-3 py-2 text-sm">
|
||||||
<button id="pm-install-btn" class="px-4 py-2 rounded bg-emerald-600 hover:bg-emerald-500 text-sm font-medium whitespace-nowrap">
|
<button id="pm-install-btn" class="px-4 py-2 rounded bg-emerald-600 hover:bg-emerald-500 text-sm font-medium whitespace-nowrap">
|
||||||
Install
|
Install
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
const plugins = window.feedBackDesktop?.plugins;
|
const plugins = window.feedBackDesktop?.plugins;
|
||||||
if (!plugins) {
|
if (!plugins) {
|
||||||
const panel = document.getElementById('plugin-manager-panel');
|
const panel = document.getElementById('plugin-manager-panel');
|
||||||
if (panel) panel.innerHTML = '<div class="p-8 text-center text-slate-400">Plugin manager is only available in the Slopsmith Desktop app.</div>';
|
if (panel) panel.innerHTML = '<div class="p-8 text-center text-slate-400">Plugin manager is only available in the fee[dB]ack desktop app.</div>';
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
const installed = await plugins.listInstalled();
|
const installed = await plugins.listInstalled();
|
||||||
|
|
||||||
if (installed.length === 0) {
|
if (installed.length === 0) {
|
||||||
listContainer.innerHTML = '<div class="text-sm text-slate-500 italic">No user-installed plugins. Official plugins are loaded from the Slopsmith server.</div>';
|
listContainer.innerHTML = '<div class="text-sm text-slate-500 italic">No user-installed plugins. Official plugins are loaded from the fee[dB]ack server.</div>';
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -136,7 +136,7 @@
|
|||||||
${extraNote ? `<div class="text-amber-300 mb-1">${esc(extraNote)}</div>` : ''}
|
${extraNote ? `<div class="text-amber-300 mb-1">${esc(extraNote)}</div>` : ''}
|
||||||
<div class="text-slate-400">Other devices on your network can open:</div>
|
<div class="text-slate-400">Other devices on your network can open:</div>
|
||||||
<ul class="list-disc list-inside mt-1 space-y-0.5">${list}</ul>
|
<ul class="list-disc list-inside mt-1 space-y-0.5">${list}</ul>
|
||||||
<div class="text-slate-500 mt-2">Your OS firewall may prompt the first time — allow Slopsmith Desktop so other devices can connect.</div>
|
<div class="text-slate-500 mt-2">Your OS firewall may prompt the first time — allow fee[dB]ack so other devices can connect.</div>
|
||||||
`;
|
`;
|
||||||
lanStatus.classList.remove('hidden');
|
lanStatus.classList.remove('hidden');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user