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.

docs(screenshots): recapture, and fix two bugs the capture exposed

Juan Denis640e7e827ee1
diff --git a/backend/templates/postgresql.yaml b/backend/templates/postgresql.yaml
index 1246ef4b..831976cd 100644
--- a/backend/templates/postgresql.yaml
+++ b/backend/templates/postgresql.yaml
@@ -24,6 +24,9 @@ engine:
unit: tables
client: psql
data_path: /var/lib/postgresql/data
+ # Can load database extensions -- see templates/extensions/. Whether a given
+ # one works still depends on the image shipping it.
+ extensions: true
version_var: IMAGE_TAG
versions:
- "16"
diff --git a/docs/screenshots/backups-schedules.png b/docs/screenshots/backups-schedules.png
index ead64434..934caad3 100644
Binary files a/docs/screenshots/backups-schedules.png and b/docs/screenshots/backups-schedules.png differ
diff --git a/docs/screenshots/backups.png b/docs/screenshots/backups.png
index 64d6cc31..35e6e607 100644
Binary files a/docs/screenshots/backups.png and b/docs/screenshots/backups.png differ
diff --git a/docs/screenshots/dashboard-edit.png b/docs/screenshots/dashboard-edit.png
new file mode 100644
index 00000000..3480e88b
Binary files /dev/null and b/docs/screenshots/dashboard-edit.png differ
diff --git a/docs/screenshots/dashboard-library.png b/docs/screenshots/dashboard-library.png
new file mode 100644
index 00000000..1ed6afe1
Binary files /dev/null and b/docs/screenshots/dashboard-library.png differ
diff --git a/docs/screenshots/dashboard-widget-editor.png b/docs/screenshots/dashboard-widget-editor.png
new file mode 100644
index 00000000..10ec5b8e
Binary files /dev/null and b/docs/screenshots/dashboard-widget-editor.png differ
diff --git a/docs/screenshots/dashboard.png b/docs/screenshots/dashboard.png
index 08dd2259..5bf8ce73 100644
Binary files a/docs/screenshots/dashboard.png and b/docs/screenshots/dashboard.png differ
diff --git a/docs/screenshots/databases-engine-catalog.png b/docs/screenshots/databases-engine-catalog.png
new file mode 100644
index 00000000..7274bf7b
Binary files /dev/null and b/docs/screenshots/databases-engine-catalog.png differ
diff --git a/docs/screenshots/databases.png b/docs/screenshots/databases.png
index 61caabc0..63d61f8a 100644
Binary files a/docs/screenshots/databases.png and b/docs/screenshots/databases.png differ
diff --git a/docs/screenshots/deploy-console-failed.png b/docs/screenshots/deploy-console-failed.png
index 4422f055..fce72109 100644
Binary files a/docs/screenshots/deploy-console-failed.png and b/docs/screenshots/deploy-console-failed.png differ
diff --git a/docs/screenshots/deploy-console-running.png b/docs/screenshots/deploy-console-running.png
index 6deb96d2..44df630e 100644
Binary files a/docs/screenshots/deploy-console-running.png and b/docs/screenshots/deploy-console-running.png differ
diff --git a/docs/screenshots/deploy-console-success.png b/docs/screenshots/deploy-console-success.png
index 7967d8ab..e58a70e8 100644
Binary files a/docs/screenshots/deploy-console-success.png and b/docs/screenshots/deploy-console-success.png differ
diff --git a/docs/screenshots/deployments.png b/docs/screenshots/deployments.png
index ce0f3dfe..f2e61f33 100644
Binary files a/docs/screenshots/deployments.png and b/docs/screenshots/deployments.png differ
diff --git a/docs/screenshots/domains.png b/docs/screenshots/domains.png
index 2d27e8a5..1b701620 100644
Binary files a/docs/screenshots/domains.png and b/docs/screenshots/domains.png differ
diff --git a/docs/screenshots/servers.png b/docs/screenshots/servers.png
index d581a502..9f9e9a81 100644
Binary files a/docs/screenshots/servers.png and b/docs/screenshots/servers.png differ
diff --git a/docs/screenshots/services-cards.png b/docs/screenshots/services-cards.png
index dc7a4d23..eda710ee 100644
Binary files a/docs/screenshots/services-cards.png and b/docs/screenshots/services-cards.png differ
diff --git a/docs/screenshots/services.png b/docs/screenshots/services.png
index a9a4d7a1..82047986 100644
Binary files a/docs/screenshots/services.png and b/docs/screenshots/services.png differ
diff --git a/docs/screenshots/skeletons.png b/docs/screenshots/skeletons.png
index 41a036f5..86570c37 100644
Binary files a/docs/screenshots/skeletons.png and b/docs/screenshots/skeletons.png differ
diff --git a/docs/screenshots/template-card-click.png b/docs/screenshots/template-card-click.png
index c255e816..01039c1f 100644
Binary files a/docs/screenshots/template-card-click.png and b/docs/screenshots/template-card-click.png differ
diff --git a/docs/screenshots/template-deploy-drawer.png b/docs/screenshots/template-deploy-drawer.png
index 8cd4e2a1..77e4061c 100644
Binary files a/docs/screenshots/template-deploy-drawer.png and b/docs/screenshots/template-deploy-drawer.png differ
diff --git a/docs/screenshots/template-filter-drawer.png b/docs/screenshots/template-filter-drawer.png
index e4a5f25a..20d7471d 100644
Binary files a/docs/screenshots/template-filter-drawer.png and b/docs/screenshots/template-filter-drawer.png differ
diff --git a/docs/screenshots/templates.png b/docs/screenshots/templates.png
index f09374ca..3b82c6b1 100644
Binary files a/docs/screenshots/templates.png and b/docs/screenshots/templates.png differ
diff --git a/frontend/src/pages/Databases.jsx b/frontend/src/pages/Databases.jsx
index b7a3dbf2..77877c9c 100644
--- a/frontend/src/pages/Databases.jsx
+++ b/frontend/src/pages/Databases.jsx
@@ -130,8 +130,11 @@ export default function Databases() {
setStatusLoading(false);
}
try {
- const user = await api.getCurrentUser();
- setIsAdmin(user.role === 'admin');
+ // GET /auth/me answers {user: {...}} — reading `.role` off the
+ // envelope was always undefined, so every admin was treated as
+ // read-only and never saw the console's write mode.
+ const me = await api.getCurrentUser();
+ setIsAdmin((me?.user?.role ?? me?.role) === 'admin');
} catch { /* non-admin / not logged in handled by route guard */ }
})();
}, []);
diff --git a/frontend/src/styles/components/_dashboard-widgets.scss b/frontend/src/styles/components/_dashboard-widgets.scss
index 3c757be5..5d862dc4 100644
--- a/frontend/src/styles/components/_dashboard-widgets.scss
+++ b/frontend/src/styles/components/_dashboard-widgets.scss
@@ -1300,16 +1300,15 @@ $skw-z-tv: 200;
border-bottom: 1px solid var(--border-soft);
}
+ // SearchField merges `className` onto its own root, so this selector IS
+ // the .sk-searchfield element — NOT a wrapper around one. Styling it as a
+ // parent (`&__search .sk-searchfield`) matched nothing, leaving the shared
+ // `flex: 1 1 240px` in force; inside a column-direction filter bar that
+ // 240px basis is a HEIGHT, and the box rendered 240px tall.
&__search {
- // The shared .sk-searchfield caps itself at 420px and sits inline;
- // in a 380px drawer it should simply fill the row.
- display: flex;
-
- .sk-searchfield {
- flex: 1 1 auto;
- max-width: none;
- min-width: 0;
- }
+ flex: 0 0 auto;
+ max-width: none;
+ min-width: 0;
}
&__chips {