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/modules/templates
wxiaoguang a928739456
Refactor sidebar assignee&milestone&project selectors (#32465)
Follow #32460

Now the code could be much clearer than before and easier to maintain. A
lot of legacy code is removed.

Manually tested.

This PR is large enough, that fine tunes could be deferred to the future if
there is no bug found or design problem.

Screenshots:

<details>

![image](https://github.com/user-attachments/assets/35f4ab7b-1bc0-4bad-a73c-a4569328303c)

</details>
3 months ago
..
eval Use a general Eval function for expressions in templates. (#23927) 2 years ago
scopedtmpl Replace `interface{}` with `any` (#25686) 2 years ago
vars Implement FSFE REUSE for golang files (#21840) 2 years ago
base.go Replace `util.SliceXxx` with `slices.Xxx` (#26958) 1 year ago
dynamic.go Use a general approach to access custom/static/builtin assets (#24022) 2 years ago
helper.go Refactor sidebar assignee&milestone&project selectors (#32465) 3 months ago
helper_test.go Refactor names (#31405) 8 months ago
htmlrenderer.go Enable more `revive` linter rules (#30608) 10 months ago
htmlrenderer_test.go Show friendly 500 error page to users and developers (#24110) 2 years ago
mailer.go Refactor names (#31405) 8 months ago
static.go Use a general approach to access custom/static/builtin assets (#24022) 2 years ago
templates_bindata.go Implement FSFE REUSE for golang files (#21840) 2 years ago
util_avatar.go Lazy load avatar images (#32051) 5 months ago
util_date.go Fix milestone deadline and date related problems (#32339) 3 months ago
util_date_legacy.go Refactor template ctx and render utils (#32422) 3 months ago
util_date_test.go Refactor DateUtils and merge TimeSince (#32409) 3 months ago
util_dict.go Use `Set[Type]` instead of `map[Type]bool/struct{}`. (#26804) 1 year ago
util_json.go Improve template helper (#24417) 2 years ago
util_misc.go Refactor names (#31405) 8 months ago
util_render.go Refactor template ctx and render utils (#32422) 3 months ago
util_render_legacy.go Refactor template ctx and render utils (#32422) 3 months ago
util_render_test.go Support quote selected comments to reply (#32431) 3 months ago
util_slice.go Improve template helper functions: string/slice (#24266) 2 years ago
util_string.go Refactor some Str2html code (#29397) 11 months ago
util_test.go Improve template helper functions: string/slice (#24266) 2 years ago