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/shared
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
..
actions Use env GITEA_RUNNER_REGISTRATION_TOKEN as global runner token (#32946) 3 months ago
misc Prevent tab shifting, remove extra margin on fluid pages (#31090) 10 months ago
search Fix dynamic content loading init problem (#33748) 2 weeks ago
secrets Refactor DateUtils and merge TimeSince (#32409) 4 months ago
user Add a option "--user-type bot" to admin user create, improve role display (#27885) 1 month ago
variables Refactor DateUtils and merge TimeSince (#32409) 4 months ago
webhook Update feishu icon (#33470) 1 month ago
avatar_upload_crop.tmpl Add cropping support when modifying the user/org/repo avatar (#33498) 1 month ago
combomarkdowneditor.tmpl Refactor tmpl and blob_excerpt (#32967) 3 months ago
fileisempty.tmpl Improve detecting empty files (#31332) 9 months ago
filetoolarge.tmpl Improve detecting empty files (#31332) 9 months ago
issueicon.tmpl Trivial fixes (#33304) 2 months ago
issuelist.tmpl Add No Results Prompt Message on Issue List Page (#33699) 3 weeks ago
repo_search.tmpl Improve repo search UI (#29767) 1 year ago
searchbottom.tmpl Refactor DateUtils and merge TimeSince (#32409) 4 months ago
searchfile.tmpl Fix wrong line number in code search result (#29260) 1 year ago