0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-04-03 23:22:39 +02:00
Myers Carpenter 0b1b962ab0 Refactor column picker to use generic combo list rerender
Address review feedback from bircni and wxiaoguang:

- Add rerender(items, selectedValue) method to IssueSidebarComboList
  so any picker can dynamically rebuild its menu. This replaces the
  one-off renderColumnPicker function with a framework-level capability.

- Convert the column picker template to use the standard
  issue-sidebar-combo structure, so it is initialized by the existing
  queryElems loop alongside milestone/label/assignee pickers.

- Move projectColumnInfo struct to package level (bircni)
- Handle ProjectColumnID and MustDefaultColumn errors (bircni)
- Remove custom Fomantic dropdown setup and DOM manipulation

The rerender method is designed to support future multi-project use:
each project's column picker can independently rerender when its
parent project selection changes.
2026-03-29 23:38:06 +00:00
..
2026-03-08 17:59:46 +08:00
2026-03-08 17:59:46 +08:00