feat: make status bar a default-off appearance preference (#2523)
This commit is contained in:
@@ -659,7 +659,7 @@ async function collectSettingsRoutes(root) {
|
||||
"utf8",
|
||||
);
|
||||
const routeTable = source.match(
|
||||
/const SETTINGS_ROUTES[\s\S]*?\n};[\s\S]*?export function SettingsRoutes/,
|
||||
/const SETTINGS_ROUTES[\s\S]*?\n};(?=[\s\S]*?\nexport (?:const SETTINGS_ROUTE_PATHS|function SettingsRoutes))/,
|
||||
)?.[0];
|
||||
if (!routeTable) {
|
||||
throw new Error("could not locate SETTINGS_ROUTES in settings-routes.tsx");
|
||||
|
||||
@@ -54,7 +54,7 @@ async function createCoverageRepo({
|
||||
"docs/public/index.md": validPage,
|
||||
"apps/web/src/settings-routes.tsx": `const SETTINGS_ROUTES = {\n${settingsRoutes
|
||||
.map((route) => ` "${route}": () => null,`)
|
||||
.join("\n")}\n};\n\nexport function SettingsRoutes() {}`,
|
||||
.join("\n")}\n};\n\nexport const SETTINGS_ROUTE_PATHS = new Set(Object.keys(SETTINGS_ROUTES));\n\nexport function SettingsRoutes() {}`,
|
||||
"apps/web/src/settings-routes.test.ts": "// settings route coverage",
|
||||
"apps/backend/internal/mcp/server/server.go": mcpTools
|
||||
.map((tool) => `mcp.NewTool("${tool}")`)
|
||||
|
||||
Reference in New Issue
Block a user