feat: refactor several components and clean up ui

This commit is contained in:
Aarnav Tale
2026-03-09 22:09:58 -04:00
parent a53fd31d27
commit 6470f5a821
49 changed files with 1522 additions and 1355 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import { eq, isNotNull } from "drizzle-orm";
import log from "~/utils/log";
import type { Route } from "../../layouts/+types/dashboard";
import type { Route } from "../../layout/+types/app";
import { ephemeralNodes } from "./schema";
export async function pruneEphemeralNodes({ context, request }: Route.LoaderArgs) {
+1
View File
@@ -234,6 +234,7 @@ export class AuthService {
* Get the Headscale API key for making API calls.
* OIDC sessions use the configured oidc.headscale_api_key.
* API key sessions use the user-provided key stored in the cookie.
* TODO: Get rid of this AI garbage
*/
getHeadscaleApiKey(principal: Principal, oidcApiKey?: string): string {
if (principal.kind === "api_key") {