diff options
author | Ben Harris <ben@tilde.team> | 2023-05-30 20:41:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-30 19:41:56 -0500 |
commit | 7458b6f600a3d25812a64d93096b2a94676a7bb6 (patch) | |
tree | 637a70ae7b3b53e4406a85a5435c27995e16061d /src/lib/constants.ts | |
parent | 023922579647ce08f716e1b566cc974b8d491a06 (diff) | |
download | voidsky-7458b6f600a3d25812a64d93096b2a94676a7bb6.tar.zst |
Move MAX_GRAPHEME_LENGTH to constants.ts (#735)
Diffstat (limited to 'src/lib/constants.ts')
-rw-r--r-- | src/lib/constants.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/constants.ts b/src/lib/constants.ts index 41aab1431..ada7b2059 100644 --- a/src/lib/constants.ts +++ b/src/lib/constants.ts @@ -4,6 +4,8 @@ export const FEEDBACK_FORM_URL = export const MAX_DISPLAY_NAME = 64 export const MAX_DESCRIPTION = 256 +export const MAX_GRAPHEME_LENGTH = 300 + // Recommended is 100 per: https://www.w3.org/WAI/GL/WCAG20/tests/test3.html // but increasing limit per user feedback export const MAX_ALT_TEXT = 1000 |