Skip to content

Commit e8820c8

Browse files
committed
Merge feat/feature-flags — feature flags v1 (eval engine + admin UI)
2 parents 7fcb32a + ad4f4c0 commit e8820c8

10 files changed

Lines changed: 1167 additions & 2 deletions

File tree

admin/src/App.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import ApiPreview from "./pages/ApiPreview.tsx";
2222
const Records = lazy(() => import("./pages/Records.tsx"));
2323
const CollectionEdit = lazy(() => import("./pages/CollectionEdit.tsx"));
2424
const HooksPage = lazy(() => import("./pages/Hooks.tsx"));
25+
const FlagsPage = lazy(() => import("./pages/Flags.tsx"));
2526

2627
function RequireAuth({ children }: { children: React.ReactNode }) {
2728
const isAuthed = useAuth((s) => s.isAuthed);
@@ -129,6 +130,7 @@ export default function App() {
129130
<Route path="settings" element={<Settings />} />
130131
<Route path="users" element={<Superusers />} />
131132
<Route path="hooks" element={<HooksPage />} />
133+
<Route path="flags" element={<FlagsPage />} />
132134
<Route path="*" element={<NotFound />} />
133135
</Route>
134136
<Route path="*" element={<Navigate to="/_/" replace />} />

admin/src/components/Shell.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ const SECTIONS: NavSection[] = [
2121
label: "Logic",
2222
items: [
2323
{ to: "/_/hooks", label: "Hooks", icon: "webhook" },
24+
{ to: "/_/flags", label: "Feature flags", icon: "zap" },
2425
],
2526
},
2627
{
@@ -45,7 +46,7 @@ export const Sidebar: React.FC = () => {
4546
<VaultbaseLogo size={22} />
4647
</span>
4748
<div className="sb-brand-name">vaultbase</div>
48-
<div className="sb-brand-version mono">v0.2.2</div>
49+
<div className="sb-brand-version mono">v0.3.0</div>
4950
</div>
5051
{SECTIONS.map((sec) => (
5152
<div className="sb-section" key={sec.label}>

0 commit comments

Comments
 (0)