forgejo/templates/base
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
..
alert.tmpl Update module github.com/editorconfig-checker/editorconfig-checker/v2/cmd/editorconfig-checker to v3 2024-08-09 21:03:37 +02:00
alert_details.tmpl Rename Str2html to SanitizeHTML and clarify its behavior (#29516) 2024-03-06 12:10:45 +08:00
disable_form_autofill.tmpl Disable form autofill (#17291) 2021-10-19 01:08:41 +03:00
footer.tmpl feat(ui): make JS asset load error message translatable (#7388) 2025-04-01 16:14:38 +00:00
footer_content.tmpl chore(branding): strip metadata information from the footer 2024-12-29 22:40:13 +00:00
head.tmpl feat(ui): redesign user profile actions layout (#7906) 2025-06-24 14:16:51 +02:00
head_navbar.tmpl chore(ui): improve svg icon margin consistency (#7172) 2025-03-09 15:05:34 +00:00
head_opengraph.tmpl Rewrite OpenGraph Header 2025-01-01 20:43:20 +01:00
head_script.tmpl chore: simplify storing and sending custom emoji's 2025-08-10 21:45:55 +02:00
head_style.tmpl Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 2023-10-06 09:46:36 +02:00
modal_actions_confirm.tmpl chore(ui): always use primary button color inside modals (#7161) 2025-03-09 07:45:58 +00:00
paginate.tmpl Remove superflous tw-content-center (#33741) 2025-03-03 23:39:54 +01:00