Files
gitocean/web_src/js/features
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
..
2024-07-20 15:48:57 +02:00
2022-12-24 00:03:11 +08:00
2023-11-06 21:14:32 +00:00
2024-03-20 08:20:08 +01:00
2023-09-27 04:37:13 +00:00
2024-11-19 10:27:57 +05:00
2025-01-19 18:56:18 +01:00
2022-12-24 00:03:11 +08:00
2022-12-24 00:03:11 +08:00