Gusted
da635229bf
chore: simplify storing and sending custom emoji's
...
- Using a map to store the CustomEmojis is unncessary, the values can be
derived by the key easily. We still need to know if a certain name is
custom emoji, so store the custom emojis in a `Set`.
- Instead of constructing a map in `window.config`, construct a `Set`
and reconstruct the value in `emoji.js`. This has the main benefit of
reducing the amount of text being sent for each request, which is quite
noticable if a Forgejo instance has many (>1000) custom emojis.
- Remove the default value of `CustomEmojisMap`, it will be constructed anyway.
2025-08-10 21:45:55 +02:00
..
2025-04-06 12:25:29 +00:00
2025-07-21 22:33:17 +02:00
2024-03-30 07:17:31 +01:00
2024-03-26 19:04:27 +01:00
2024-07-20 15:48:57 +02:00
2024-03-20 08:46:29 +01:00
2024-03-26 19:04:27 +01:00
2024-05-12 20:03:10 +02:00
2024-04-07 15:40:31 +02:00
2025-08-08 01:53:23 +02:00
2024-03-26 19:04:27 +01:00
2023-09-27 04:37:13 +00:00
2024-02-17 23:24:31 +01:00
2024-03-26 19:04:27 +01:00
2024-12-15 13:21:02 +01:00
2024-04-07 15:40:31 +02:00
2022-12-24 00:03:11 +08:00
2025-08-10 21:45:55 +02:00
2024-10-23 08:10:18 +02:00
2023-11-06 21:14:32 +00:00
2024-03-20 08:20:08 +01:00
2024-04-28 15:39:01 +02:00
2024-04-05 23:37:36 +02:00
2024-04-07 15:40:31 +02:00
2025-04-01 03:59:12 +02:00
2024-03-06 12:10:44 +08:00
2024-03-26 19:04:27 +01:00
2024-03-30 07:17:31 +01:00
2025-04-01 04:43:06 +02:00
2023-09-27 04:37:13 +00:00
2024-11-19 10:27:57 +05:00
2025-04-16 12:28:39 +00:00
2024-03-30 07:17:29 +01:00
2023-07-28 21:18:12 +02:00
2025-01-19 18:56:18 +01:00
2025-01-19 18:56:18 +01:00
2025-07-21 22:33:17 +02:00
2024-03-30 07:17:30 +01:00
2023-09-27 04:37:13 +00:00
2024-07-07 20:26:30 +02:00
2024-10-13 08:06:49 +03:00
2024-04-07 15:40:31 +02:00
2024-04-07 15:40:31 +02:00
2022-12-24 00:03:11 +08:00
2023-11-07 18:53:35 +00:00
2025-07-19 16:34:21 +02:00
2024-09-24 14:20:33 +02:00
2025-07-19 15:03:10 +02:00
2024-08-21 19:57:08 +00:00
2025-03-29 19:35:01 +00:00
2024-10-22 19:58:44 +02:00
2024-05-12 20:03:10 +02:00
2025-02-23 08:30:39 +00:00
2024-03-06 12:10:46 +08:00
2025-04-01 03:59:12 +02:00
2025-04-01 03:59:12 +02:00
2024-03-15 14:00:34 +01:00
2024-03-26 19:04:27 +01:00
2024-02-17 23:24:31 +01:00
2024-02-26 22:30:26 +01:00
2022-12-24 00:03:11 +08:00
2024-03-30 07:17:29 +01:00
2024-03-26 19:04:27 +01:00
2025-03-03 18:05:01 +00:00