fix: update ITs to use consolidated init.sql, remove dead code
All checks were successful
CI / cleanup-branch (push) Has been skipped
CI / build (push) Successful in 1m23s
CI / docker (push) Successful in 1m29s
CI / deploy-feature (push) Has been skipped
CI / deploy (push) Successful in 50s

- All 7 ClickHouse integration tests now load init.sql via shared
  ClickHouseTestHelper instead of deleted V1-V11 migration files
- Remove unused useScope exports (setApp, setRoute, setExchange, clearScope)
- Remove unused CSS classes (monoCell, punchcardStack)
- Update ui/README.md DS version to v0.1.28

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-03 17:03:54 +02:00
parent d4327af6a4
commit 670e458376
11 changed files with 47 additions and 139 deletions

View File

@@ -36,33 +36,5 @@ export function useScope() {
navigate(parts.join('/'));
}, [navigate, scope.appId, scope.routeId]);
const setApp = useCallback((appId: string | undefined) => {
if (!appId) {
navigate(`/${tab}`);
} else {
navigate(`/${tab}/${appId}`);
}
}, [navigate, tab]);
const setRoute = useCallback((appId: string, routeId: string | undefined) => {
if (!routeId) {
navigate(`/${tab}/${appId}`);
} else {
navigate(`/${tab}/${appId}/${routeId}`);
}
}, [navigate, tab]);
const setExchange = useCallback((appId: string, routeId: string, exchangeId: string | undefined) => {
if (!exchangeId) {
navigate(`/${tab}/${appId}/${routeId}`);
} else {
navigate(`/${tab}/${appId}/${routeId}/${exchangeId}`);
}
}, [navigate, tab]);
const clearScope = useCallback(() => {
navigate(`/${tab}`);
}, [navigate, tab]);
return { scope, setTab, setApp, setRoute, setExchange, clearScope };
return { scope, setTab };
}

View File

@@ -77,13 +77,6 @@
gap: 16px;
}
/* Cells */
.monoCell {
font-size: 12px;
font-family: var(--font-mono);
color: var(--text-primary);
}
.appNameCell {
display: flex;
align-items: center;
@@ -134,12 +127,6 @@
gap: 16px;
}
.punchcardStack {
display: flex;
flex-direction: column;
gap: 16px;
}
/* Toggle button row */
.toggleRow {
display: flex;