Skip to content

An open source, self-hosted, real-time port monitoring and discovery tool.

feat(ui): show platform-correct keyboard shortcut in sidebar nudge

Mostafa-Wahied757f291a001c
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 39eb1c1..efd3fe1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,13 +4,14 @@ All notable changes to portracker will be documented in this file.
## [Unreleased]
-## [1.3.9] - 2026-05-05
+## [1.3.10] - 2026-05-05
### Fixed
-<!-- whatsnew:title=Service status fix on default Docker bridge -->
-<!-- whatsnew:description=Probes now use the Docker host gateway when a port is bound to 0.0.0.0, so status no longer flips to yellow/red without HOST_OVERRIDE. -->
+<!-- whatsnew:title=Service status & sidebar shortcut fixes -->
+<!-- whatsnew:description=Probes use the Docker host gateway for 0.0.0.0 ports so status no longer flips to yellow/red on default-bridge installs. The sidebar tip now shows the correct keyboard shortcut for your OS. -->
- **[Probe Host Resolution]**: Service status probes fall back to the Docker host gateway for `0.0.0.0`/`::` ports instead of `127.0.0.1`, fixing false yellow/red statuses on default-bridge installs without `HOST_OVERRIDE`.
+- **[Sidebar Shortcut Label]**: The "sidebar has knobs" tip now shows the correct keyboard shortcut for your OS (`⌘B`/`⌘K` on macOS, `Ctrl+B`/`Ctrl+K` elsewhere) instead of a combined string that could wrap mid-pair on narrow sidebars.
## [1.3.8] - 2026-05-04
diff --git a/backend/package.json b/backend/package.json
index 73c4d0f..b1931d1 100644
--- a/backend/package.json
+++ b/backend/package.json
@@ -1,6 +1,6 @@
{
"name": "backend",
- "version": "1.3.9",
+ "version": "1.3.10",
"description": "",
"main": "index.js",
"scripts": {
diff --git a/frontend/package.json b/frontend/package.json
index 343fd47..f150a15 100644
--- a/frontend/package.json
+++ b/frontend/package.json
@@ -1,7 +1,7 @@
{
"name": "frontend",
"private": true,
- "version": "1.3.9",
+ "version": "1.3.10",
"type": "module",
"scripts": {
"dev": "vite",
diff --git a/frontend/src/components/layout/AppSidebarLayout.jsx b/frontend/src/components/layout/AppSidebarLayout.jsx
index 5957ce7..b295e01 100644
--- a/frontend/src/components/layout/AppSidebarLayout.jsx
+++ b/frontend/src/components/layout/AppSidebarLayout.jsx
@@ -3,8 +3,10 @@ import { DashboardLayout } from "./DashboardLayout";
import { Sidebar } from "./Sidebar";
import { CollapsedSidebar } from "./CollapsedSidebar";
-const SIDEBAR_SHORTCUT_LABEL = "⌘B / Ctrl+B";
-const SEARCH_SHORTCUT_LABEL = "⌘K / Ctrl+K";
+const IS_MAC =
+ typeof navigator !== "undefined" && /Mac|iPhone|iPad/.test(navigator.platform);
+const SIDEBAR_SHORTCUT_LABEL = IS_MAC ? "⌘B" : "Ctrl+B";
+const SEARCH_SHORTCUT_LABEL = IS_MAC ? "⌘K" : "Ctrl+K";
export function AppSidebarLayout({
isSidebarOpen,
diff --git a/package.json b/package.json
index 03cbeb2..b2c4c0c 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "portracker",
- "version": "1.3.9",
+ "version": "1.3.10",
"description": "A multi-platform port-tracking dashboard",
"main": "backend/index.js",
"scripts": {