Keep emoji whole where stored text is cut short
- github
- github/openchronology/timeline-app
- commit
- main
- github/athanclark
The real cause of the import's 500: a duration's band keeps a 2,000-character notes preview in JSON, and slicing it inside an emoji left half a surrogate pair, which PostgreSQL's jsonb refuses ("Unicode low surrogate must follow a high surrogate"). Any duration whose notes had an emoji at that point could not be saved. clip() moves to the core and cuts between whole characters. It now shortens band previews and titles, suite descriptions, syslog and log-mapping notes, the search text and hover previews, as well as mirrored forge text. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_011fFY8eruEi1xAkkMBni13B https://github.com/openchronology/timeline-app/commit/ceab20dc26d4e88400c89df358e0199d91efb057
Open Keep emoji whole where stored text is cut short in the timeline