fix: update ITs to use consolidated init.sql, remove dead code
- 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:
@@ -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 };
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user