mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-26 12:38:13 +00:00
The regex pattern (\w+) didn't match 'ai-apply' or 'ai-dismiss' because \w doesn't include hyphens, causing all AI suggestion buttons to fail. Fix by handling AI links before the regex match using startsWith(). Remove dead switch cases that were never reached. Generated with [Claude Code](https://claude.ai/code) via [Happy](https://happy.engineering) Co-Authored-By: Claude <noreply@anthropic.com> Co-Authored-By: Happy <yesreply@happy.engineering>