From ef2183ffb7670ab6225eba32b5d8bd9dc528fcda Mon Sep 17 00:00:00 2001 From: amaliadwiy Date: Tue, 19 May 2026 15:40:05 +0800 Subject: [PATCH 1/4] chore: bump version to 0.1.10 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d5a066f..9af70ef 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bun-react-template", - "version": "0.1.9", + "version": "0.1.10", "private": true, "type": "module", "scripts": { -- 2.49.1 From 058dd95b4f076a0f428e8c90d2465424d4359431 Mon Sep 17 00:00:00 2001 From: amaliadwiy Date: Wed, 20 May 2026 12:32:06 +0800 Subject: [PATCH 2/4] refactor: rename and reorder dev panel tabs for clarity MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Rename "API Keys" → "Desa Mandiri Keys" (tab + panel title + description) - Rename "Settings" → "App Config" (tab + panel title) - Move "Desa Mandiri Keys" to last position with a divider separator - Import Divider from @mantine/core --- src/frontend/routes/dev.tsx | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/frontend/routes/dev.tsx b/src/frontend/routes/dev.tsx index 84f6af5..944cd99 100644 --- a/src/frontend/routes/dev.tsx +++ b/src/frontend/routes/dev.tsx @@ -9,6 +9,7 @@ import { Card, Center, Container, + Divider, Group, Loader, Menu, @@ -77,7 +78,7 @@ import { notifications } from '@mantine/notifications' import { type Role, useLogout, useSession } from '@/frontend/hooks/useAuth' import { usePresence } from '@/frontend/hooks/usePresence' -const validTabs = ['overview', 'operators', 'bugs', 'app-logs', 'activity-logs', 'database', 'project', 'api-keys', 'settings'] as const +const validTabs = ['overview', 'operators', 'bugs', 'app-logs', 'activity-logs', 'database', 'project', 'settings', 'api-keys'] as const export const Route = createFileRoute('/dev')({ validateSearch: (search: Record) => ({ @@ -117,8 +118,9 @@ const navItems = [ // { label: 'Activity Logs', icon: TbActivity, key: 'activity-logs' }, { label: 'Database', icon: TbDatabase, key: 'database' }, { label: 'Project', icon: TbSitemap, key: 'project' }, - { label: 'API Keys', icon: TbKey, key: 'api-keys' }, - { label: 'Settings', icon: TbSettings, key: 'settings' }, + { label: 'App Config', icon: TbSettings, key: 'settings' }, + { divider: true, key: '__divider-external__' }, + { label: 'Desa Mandiri Keys', icon: TbKey, key: 'api-keys' }, ] function DevPage() { @@ -201,7 +203,8 @@ function DevPage() { {navItems.map((item) => { - const Icon = item.icon + if (item.divider) return + const Icon = item.icon! if (collapsed) { return ( @@ -1590,7 +1593,7 @@ function SettingsPanel() {
- Application Settings + App Config Manage the URL API and API Key for each application.
@@ -1798,8 +1801,8 @@ function ApiKeysPanel() {
- API Keys - Kelola API key untuk akses endpoint /api/ai/* + Desa Mandiri Keys + Manage access tokens for the Desa Mandiri system