favoritter/internal/handler
Ole-Morten Duesund 485d01ce45 feat: add notes field to favorites and enhance OG meta tags
Add an optional long-form "notes" text field to each favorite for
reviews, thoughts, or extended descriptions. The field is stored in
SQLite via a new migration (002_add_fave_notes.sql) and propagated
through the entire stack:

- Model: Notes field on Fave struct
- Store: All SQL queries (Create, GetByID, Update, list methods,
  scanFaves) updated with notes column
- Web handlers: Read/write notes in create, edit, update forms
- API handlers: Notes in create, update, get, import request/response
- Export: Notes included in both JSON and CSV exports
- Import: Notes parsed from both JSON and CSV imports
- Feed: Notes used as Atom feed item summary when present
- Form template: New textarea between URL and image fields
- Detail template: Display notes, enhanced og:description with
  cascade: notes (truncated) → URL → generic fallback text

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-04 00:40:08 +02:00
..
api feat: add notes field to favorites and enhance OG meta tags 2026-04-04 00:40:08 +02:00
admin.go fix: address security and quality issues from code review 2026-03-29 16:19:44 +02:00
auth.go feat: add profiles, public views, settings, and code quality fixes 2026-03-29 16:01:41 +02:00
fave.go feat: add notes field to favorites and enhance OG meta tags 2026-04-04 00:40:08 +02:00
feed.go feat: add notes field to favorites and enhance OG meta tags 2026-04-04 00:40:08 +02:00
handler.go fix: address code review findings for Phase 7-8 2026-03-29 16:39:10 +02:00
handler_test.go feat: add notes field to favorites and enhance OG meta tags 2026-04-04 00:40:08 +02:00
import_export.go feat: add notes field to favorites and enhance OG meta tags 2026-04-04 00:40:08 +02:00
profile.go fix: address code review findings for Phase 7-8 2026-03-29 16:39:10 +02:00
web_test.go feat: add notes field to favorites and enhance OG meta tags 2026-04-04 00:40:08 +02:00