bugger/Sources/Models
tigerenwork 72cff00f72 Add main window with bug detail view and in-app editing
Phase 1 — read-only detail experience:
- New main window (NavigationSplitView): searchable bug list sidebar with
  Active/All filter, detail pane with full metadata, description, and
  per-bug Open in Feishu / Copy Link
- Popover row click now opens the in-app detail (Open in Feishu kept via
  context menu and footer)
- Display extra table fields: module, source, flow status, fix notes
  (new field mappings with Chinese defaults), and screenshot attachments
  with in-app thumbnails (media download with bitablePerm extra auth)
- FieldMappings now decodes tolerantly so older persisted configs survive

Phase 2 — editing (status, fix notes, screenshots):
- OAuth scope upgraded from bitable:app:readonly to bitable:app
  (requires re-auth; permission errors prompt to reconnect)
- Status picker driven by live field metadata (option names + colors)
- Fix notes text editor with Save/Cancel
- Add screenshots: image picker -> media upload (upload_all) -> append
  file tokens to the record
- AttachmentLoader and BugEditService share one field-metadata cache

Note: flow status (流转状态) is a Bitable workflow/Stage field and cannot
be written via the OpenAPI; it stays read-only.
2026-09-08 11:11:16 +08:00
..
AppConfig.swift Add main window with bug detail view and in-app editing 2026-09-08 11:11:16 +08:00
Bug.swift Add main window with bug detail view and in-app editing 2026-09-08 11:11:16 +08:00
BugAttachment.swift Add main window with bug detail view and in-app editing 2026-09-08 11:11:16 +08:00
BugChange.swift feat: full macOS menu bar app implementation 2026-06-28 20:56:44 +08:00
BugPriority.swift feat: full macOS menu bar app implementation 2026-06-28 20:56:44 +08:00
BugStatus.swift feat: full macOS menu bar app implementation 2026-06-28 20:56:44 +08:00