client->server stuff, nav on mobile improvements

This commit is contained in:
Michael Freno
2025-12-19 20:35:21 -05:00
parent 76fb86d519
commit 3e606d2354
12 changed files with 420 additions and 124 deletions

View File

@@ -205,7 +205,8 @@ export function debounce<T extends (...args: any[]) => any>(
// ============================================================================
/**
* Validates that a comment body meets requirements
* Validates that a comment body meets requirements (client-side UX only)
* Server validation is in src/server/api/schemas/validation.ts
*/
export function isValidCommentBody(body: string): boolean {
return body.trim().length > 0 && body.length <= 10000;