Skip to content

ServerKit is a lightweight, modern server control panel for managing web applications, databases, and services on your VPS or dedicated server. Built with Python/Flask backend and React frontend.

refactor(walkthroughs): the shell dock says Walkthroughs, not Recipes

Juan Denis2a5d18867fcf
diff --git a/frontend/src/components/CommandPalette.jsx b/frontend/src/components/CommandPalette.jsx
index a20bf954..5314f69a 100644
--- a/frontend/src/components/CommandPalette.jsx
+++ b/frontend/src/components/CommandPalette.jsx
@@ -34,13 +34,13 @@ import { getFavorites, getRecents } from '../utils/recents';
// Group order in the list, plus a per-category icon and a scoring weight so the
// headline categories (Settings, Pages, Actions) outrank raw entity hits on ties.
const GROUP_ORDER = [
- 'Create', 'Recipes',
+ 'Create', 'Walkthroughs',
'Favorites', 'Recently used', 'Settings', 'Pages', 'Actions', 'Services', 'Servers',
'Domains', 'Databases', 'Sites', 'Cron Jobs', 'Vaults', 'Extensions', 'Docs',
];
const CATEGORY_ICONS = {
Create: Plus,
- Recipes: BookOpenCheck,
+ Walkthroughs: BookOpenCheck,
Favorites: Star,
'Recently used': History,
Settings: SlidersHorizontal,
@@ -57,7 +57,7 @@ const CATEGORY_ICONS = {
Docs: BookOpen,
};
const CATEGORY_WEIGHT = {
- Create: 5, Recipes: 3,
+ Create: 5, Walkthroughs: 3,
Favorites: 5,
Settings: 6, Pages: 4, Actions: 4, Services: 2, Servers: 2, Domains: 2,
Databases: 2, Sites: 2, 'Cron Jobs': 1, Vaults: 1, Extensions: 1, Docs: 0,
@@ -207,7 +207,8 @@ const CommandPalette = ({ open, onClose }) => {
keywords: 'recipe walkthrough guide setup steps',
meta: t('palette.recipeSteps', '{{count}} steps', { count: walkthrough.steps.length }),
recipeId: walkthrough.id,
- category: 'Recipes',
+ // Stable identifier matched by GROUP_ORDER below (like 'Docs') — not translated.
+ category: 'Walkthroughs',
})), [t, walkthroughs]);
const docItems = useMemo(() => {
diff --git a/frontend/src/components/GlobalStatusBar.jsx b/frontend/src/components/GlobalStatusBar.jsx
index 4a10b513..bf0f3daa 100644
--- a/frontend/src/components/GlobalStatusBar.jsx
+++ b/frontend/src/components/GlobalStatusBar.jsx
@@ -369,10 +369,10 @@ export default function GlobalStatusBar({ onOpenPalette }) {
className={`global-statusbar__segment${activeTab === 'recipes' ? ' is-active' : ''}`}
onClick={() => toggleTab('recipes')}
aria-expanded={activeTab === 'recipes'}
- aria-label={activeWalkthrough?.title || t('app.walkthroughs.recipes', 'Recipes')}
+ aria-label={activeWalkthrough?.title || t('app.walkthroughs.title', 'Walkthroughs')}
>
<BookOpenCheck size={13} />
- <span>{activeWalkthrough?.title || t('app.walkthroughs.recipes', 'Recipes')}</span>
+ <span>{activeWalkthrough?.title || t('app.walkthroughs.title', 'Walkthroughs')}</span>
{activeWalkthrough && (
<span className="global-statusbar__muted mono">{activeProgress?.count || 0}/{activeProgress?.total || 0}</span>
)}
diff --git a/frontend/src/components/ShellDockTabs.jsx b/frontend/src/components/ShellDockTabs.jsx
index dd2631ce..564abb15 100644
--- a/frontend/src/components/ShellDockTabs.jsx
+++ b/frontend/src/components/ShellDockTabs.jsx
@@ -27,7 +27,7 @@ export default function ShellDockTabs({ controls = null, expandable = true }) {
{ id: 'alerts', label: t('app.statusbar.alerts', 'Alerts'), badge: notifications?.unreadCount || null },
{
id: 'recipes',
- label: t('app.walkthroughs.recipes', 'Recipes'),
+ label: t('app.walkthroughs.title', 'Walkthroughs'),
badge: activeWalkthrough
? `${activeProgress?.count || 0}/${activeProgress?.total || 0}`
: null,
diff --git a/frontend/src/components/WalkthroughHub.jsx b/frontend/src/components/WalkthroughHub.jsx
index 8774b729..8cdf1ecf 100644
--- a/frontend/src/components/WalkthroughHub.jsx
+++ b/frontend/src/components/WalkthroughHub.jsx
@@ -138,7 +138,7 @@ export default function WalkthroughHub() {
return (
<section
className={`shell-panel shell-recipes${expanded ? ' is-expanded' : ''}`}
- aria-label={t('app.walkthroughs.recipes', 'Recipes')}
+ aria-label={t('app.walkthroughs.title', 'Walkthroughs')}
>
<header className="shell-panel__head">
<ShellDockTabs />
@@ -166,7 +166,7 @@ export default function WalkthroughHub() {
</span>
</div>
<Button type="button" variant="ghost" size="sm" onClick={() => setBrowse(true)}>
- {t('app.walkthroughs.allRecipes', 'All recipes')}
+ {t('app.walkthroughs.all', 'All walkthroughs')}
</Button>
</div>
<div className="shell-recipes__steps" role="tablist" aria-label={activeWalkthrough.title}>
diff --git a/frontend/src/i18n/locales/es.json b/frontend/src/i18n/locales/es.json
index 2f312b85..2a4db1d2 100644
--- a/frontend/src/i18n/locales/es.json
+++ b/frontend/src/i18n/locales/es.json
@@ -6599,7 +6599,6 @@
"warnings2": "Advertencias ("
},
"walkthroughs": {
- "allRecipes": "Todas las recetas",
"doneCount": "{{count}} de {{total}} completados",
"doneNextStep": "Hecho · siguiente paso",
"markDone": "Marcar como hecho",