You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/templates
wxiaoguang 698ae7aa5b
Fix dynamic content loading init problem (#33748)
1. Rewrite `dirauto.ts` to `observer.ts`. 
* We have been using MutationObserver for long time, it's proven that it
is quite performant.
    * Now we extend its ability to handle more "init" works.
2. Use `observeAddedElement` to init all non-custom "dropdown".
3. Use `data-global-click` to handle click events from dynamically
loaded elements.
* By this new approach, the old fragile selector-based
(`.comment-reaction-button`) mechanism is removed.
4. By the way, remove unused `.diff-box` selector, it was abused and
never really used.

A lot of FIXMEs in "repo-diff.ts" are completely fixed, newly loaded
contents could work as expected.
2 weeks ago
..
admin Improve admin user view page (#33735) 2 weeks ago
api/packages/pypi Fix links in PyPI Simple Repository API page (#30594) 11 months ago
base Remove superflous tw-content-center (#33741) 2 weeks ago
custom
devtest Always show the "rerun" button for action jobs (#33692) 3 weeks ago
explore Refactor template ctx and render utils (#32422) 4 months ago
mail Remove unnecessary SanitizeHTML from code (#29575) 1 year ago
org Improve button layout on small screens (#33633) 3 weeks ago
package Trivial fixes (#33304) 2 months ago
projects Fix project issues list and counting (#33594) 4 weeks ago
repo Fix dynamic content loading init problem (#33748) 2 weeks ago
shared Fix dynamic content loading init problem (#33748) 2 weeks ago
status Remove urls from translations (#31950) 6 months ago
swagger allow filtering /repos/{owner}/{repo}/pulls by target base branch queryparam (#33684) 2 weeks ago
user Improve "generate new access token" form (#33730) 2 weeks ago
webhook Fix incorrect tailwind migration (#30007) 12 months ago
home.tmpl Remove urls from translations (#31950) 6 months ago
install.tmpl Supplement and Improvement for #32558 (#32585) 4 months ago
post-install.tmpl Optimize the installation page (#32994) 2 months ago