forgejo/web_src
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
..
css chore(ui): improve hashbox (#8721) 2025-08-03 05:49:24 +02:00
fomantic Lock file maintenance (forgejo) (#8777) 2025-08-04 09:21:41 +02:00
js chore: simplify storing and sending custom emoji's 2025-08-10 21:45:55 +02:00
svg feat(ui): redesign migration selection screen (#6795) 2025-04-19 13:51:35 +00:00