From 4fc1175ad420ad2ce3084c011b89e29877667f24 Mon Sep 17 00:00:00 2001 From: Scott Anderson <662325+scottanderson@users.noreply.github.com> Date: Sun, 29 Jun 2025 20:09:26 -0400 Subject: [PATCH] Add new patterns (#1294) ## Description: Add a new patterns - Cats - Shells ![image](https://github.com/user-attachments/assets/36b4c832-8879-45f8-bfbb-d5a1b5b7aefe) ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [x] I understand that submitting code with bugs that could have been caught through manual testing blocks releases and new features for all contributors --- resources/cosmetics/cosmetics.json | 8 ++++++++ resources/lang/en.json | 2 ++ src/core/Schemas.ts | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/resources/cosmetics/cosmetics.json b/resources/cosmetics/cosmetics.json index 30d02b72e..cd6023c60 100644 --- a/resources/cosmetics/cosmetics.json +++ b/resources/cosmetics/cosmetics.json @@ -64,6 +64,10 @@ "name": "vertical_bars", "role_group": "donor" }, + "AHEgzGfznzu43XPoL2fMn_O4O3fdL-g": { + "name": "shells", + "role_group": "donor" + }, "AHEYAAAAAAAAAkCCQUQiLnQWaA": { "name": "-w-", "role_group": "donor" @@ -76,6 +80,10 @@ "name": "goat", "role_group": "donor" }, + "ALF1AAAAAAAAABABAAAAAACwAQAAAAAA8AEAAAAAIFABIoABABDwATbAA4gQ9AU-wBPZIPgDKoSx-UD4Az4C9Kmf8AEcUlj5v_ABPvb9-X_wAX7k__A_8AN-_H_gH_AFfuJ_wBiwJf_BP0AIEBkAAAAAAAAAAAAAAAAAAAAAAAAAIgAAAAAAADYAiAAA-AA-ANgAELEBKgD4ALDhI_4HqgDwsSf-H_oIUPlH_C9xBP_BT_gn-YT_wD_8J_rEf-Af_hP8yD_gHwAM-NAf4B8AAvzhP8APAAAAAAAAAA": { + "name": "cats", + "role_group": "donor" + }, "AJhYAAAAGACABACQAAASAEACAMgBAMkBIMkAJCngJAkSIEECIEgABAKAQAAQEAACAiCAAAQQgAAECIAAAfA_AAAA": { "name": "hand", "role_group": "donor" diff --git a/resources/lang/en.json b/resources/lang/en.json index dc2848d5c..9e57b68df 100644 --- a/resources/lang/en.json +++ b/resources/lang/en.json @@ -498,9 +498,11 @@ "scattered_dots": "Scattered Dots", "circuit_board": "Circuit Board", "vertical_bars": "Vertical Bars", + "shells": "Shells", "-w-": ".w.", "white_rabbit": "White Rabbit", "goat": "Goat", + "cats": "Cats", "cursor": "Cursor", "hand": "Hand", "radiation": "Radiation", diff --git a/src/core/Schemas.ts b/src/core/Schemas.ts index 44f492563..873278125 100644 --- a/src/core/Schemas.ts +++ b/src/core/Schemas.ts @@ -181,7 +181,7 @@ export const UsernameSchema = SafeString; export const FlagSchema = z.string().max(128).optional(); export const RequiredPatternSchema = z .string() - .max(128) + .max(1403) .base64url() .refine( (val) => {