Add Settings admin page and settings service proxy

Wire /admin/settings route and sidebar link; proxy /settings/api/ to the
new settings service at 10.10.10.116. Admin can configure integration
credentials and manage Newbook room ordering from the portal.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
jtricerolph 2026-07-01 18:56:27 +00:00
parent affb1368ac
commit e9cd40c80a
4 changed files with 406 additions and 1 deletions

View file

@ -1,6 +1,6 @@
import { useState } from 'react'
import { NavLink, useNavigate, useLocation } from 'react-router-dom'
import { LayoutGrid, Users, Activity, LogOut, ChevronDown } from 'lucide-react'
import { LayoutGrid, Users, Activity, Settings, LogOut, ChevronDown } from 'lucide-react'
import { AppIcon } from './AppIcon'
import type { User, App } from '../types'
@ -127,6 +127,10 @@ export function Sidebar({ user, activeSlug }: Props) {
<Activity size={14} strokeWidth={1.75} />
Monitor
</NavLink>
<NavLink to="/admin/settings" style={({ isActive }) => navItem(isActive)}>
<Settings size={14} strokeWidth={1.75} />
Settings
</NavLink>
</>
)}
</nav>