From 8e299fddd46f70722e91ab5dc801f770d255493b Mon Sep 17 00:00:00 2001 From: zhom <2717306+zhom@users.noreply.github.com> Date: Tue, 19 Aug 2025 13:45:19 +0400 Subject: [PATCH] feat: docs inside ui --- src/components/settings-dialog.tsx | 174 +++++++++++++++++++++++++++++ 1 file changed, 174 insertions(+) diff --git a/src/components/settings-dialog.tsx b/src/components/settings-dialog.tsx index 836745a..34294d6 100644 --- a/src/components/settings-dialog.tsx +++ b/src/components/settings-dialog.tsx @@ -854,6 +854,180 @@ export function SettingsDialog({ isOpen, onClose }: SettingsDialogProps) { Include this token in the Authorization header as "Bearer{" "} {settings.api_token}" for all API requests.

+ {/* Temporary in-app API docs */} +
+
+ Temporary in-app API docs (alpha) +
+
+
+ Base URL:{" "} + {`http://127.0.0.1:${apiServerPort ?? settings.api_port ?? 10108}/v1`} +
+
+ Auth:{" "} + + Authorization: Bearer {settings.api_token} + +
+
+
+
Profiles
+ +
+
+
Groups
+ +
+
+
Tags
+ +
+
+
Proxies
+ +
+
+
Browsers
+ +
+
+ These docs are temporary and will be replaced with full + documentation later. +
+
)}