feat: Add custom fields on issues #8

Open
opened 2026-05-08 03:26:37 +00:00 by jmiller · 1 comment
Owner

Track upstream progress on custom issue fields.

This would allow repos to define dropdown, date, number, and text fields on issues � enabling structured project management beyond labels.

Use Case

  • Priority/effort scoring
  • Sprint assignment
  • Client/project tagging
  • Due date tracking

Status

Not yet in upstream roadmap. Consider implementing in MokoGitea if not planned.

Track upstream progress on custom issue fields. This would allow repos to define dropdown, date, number, and text fields on issues � enabling structured project management beyond labels. ## Use Case - Priority/effort scoring - Sprint assignment - Client/project tagging - Due date tracking ## Status Not yet in upstream roadmap. Consider implementing in MokoGitea if not planned.
Author
Owner

Progress Update

Done

  • Data model: CustomFieldDef + CustomFieldValue (EAV pattern)
  • Migration v343: creates both tables
  • Model CRUD: create/read/update/delete field definitions
  • Model values: get/set per-issue, map interface
  • Settings handler: CustomFields, CreatePost, EditPost, DeletePost
  • Settings template: table listing, create modal, edit/delete buttons
  • Route: /settings/custom-fields
  • Navbar entry with icon
  • 16 locale keys

TODO

  • Issue create/edit form: render custom fields
  • Issue view: display custom field values in sidebar
  • Save custom field values on issue create/edit POST
  • API: custom field values in issue response
  • Search/filter by custom field values
  • Edit modal JS (populate form from data attributes)
## Progress Update ### Done - [x] Data model: CustomFieldDef + CustomFieldValue (EAV pattern) - [x] Migration v343: creates both tables - [x] Model CRUD: create/read/update/delete field definitions - [x] Model values: get/set per-issue, map interface - [x] Settings handler: CustomFields, CreatePost, EditPost, DeletePost - [x] Settings template: table listing, create modal, edit/delete buttons - [x] Route: /settings/custom-fields - [x] Navbar entry with icon - [x] 16 locale keys ### TODO - [ ] Issue create/edit form: render custom fields - [ ] Issue view: display custom field values in sidebar - [ ] Save custom field values on issue create/edit POST - [ ] API: custom field values in issue response - [ ] Search/filter by custom field values - [ ] Edit modal JS (populate form from data attributes)
Sign in to join this conversation.