feat(ui): update ui style

This commit is contained in:
RhenCloud 2026-08-16 21:25:57 +08:00
parent ca6dfd3f64
commit 47d7c9105b
No known key found for this signature in database
GPG key ID: A574A617378C4E0B
35 changed files with 1577 additions and 591 deletions

View file

@ -2,6 +2,7 @@ import { describe, it, expect, beforeEach, afterEach } from "bun:test";
import { sendMessage } from "../server/lib/drivers/discord/rest";
import { renderNeutralMessage } from "../server/lib/drivers/discord/render";
import { dispatchEvent } from "../server/lib/core/dispatch";
import { invalidateGroupsCache } from "../server/lib/web/groups";
import type { Env, Route } from "../server/lib/types";
function mockFetch(handler: (url: string, init?: RequestInit) => Response): void {
@ -102,6 +103,7 @@ describe("discord role mentions", () => {
});
describe("dispatchEvent fallback routing", () => {
beforeEach(() => invalidateGroupsCache());
function createMockKV(): KVNamespace {
const store = new Map<string, string>();
return {