mirror of
https://github.com/outline/outline.git
synced 2026-11-21 05:24:03 +03:00
* fix: Vertically center empty state in notifications popover The empty state relied on percentage heights to center, but the height chain was broken by the outer container only setting min/max height. Switch to flexbox growth so the scroll region fills the available space and the empty message centers reliably. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01J7kMKxnH5gfziT5GNgsXZW * chore: Add development util to create test notifs --------- Co-authored-by: Claude <noreply@anthropic.com>
21 lines
499 B
TypeScript
21 lines
499 B
TypeScript
import { z } from "zod";
|
|
import { BaseSchema } from "../schema";
|
|
|
|
export const CreateTestUsersSchema = BaseSchema.extend({
|
|
body: z.object({
|
|
count: z.coerce.number().prefault(10),
|
|
}),
|
|
});
|
|
|
|
export type CreateTestUsersReq = z.infer<typeof CreateTestUsersSchema>;
|
|
|
|
export const CreateTestNotificationsSchema = BaseSchema.extend({
|
|
body: z.object({
|
|
count: z.coerce.number().prefault(10),
|
|
}),
|
|
});
|
|
|
|
export type CreateTestNotificationsReq = z.infer<
|
|
typeof CreateTestNotificationsSchema
|
|
>;
|