feat: linkify #NNN references in ChangeLog to Codeberg issues #482

Merged
guettlibot merged 0 commits from issue-472-changelog-issue-links into main 2026-06-06 20:35:10 +00:00
guettlibot commented 2026-06-06 15:03:05 +00:00 (Migrated from codeberg.org)

Summary

  • Adds _linkifyIssueRefs() to ChangeLogScreen which replaces every #NNN pattern in the changelog text with a Markdown link pointing to https://codeberg.org/guettli/sharedinbox/issues/NNN.
  • The conversion runs before the existing _injectInstallMarkers step, so the flutter_markdown_plus renderer picks up the links automatically.
  • The existing onTapLink handler already opens URLs in an external browser — no further changes needed.

Closes #472

Test plan

  • New widget test ChangeLogScreen renders #NNN as a tappable link verifies that #42 text appears in the rendered output after linkification.
  • All 5 changelog_screen_test.dart tests pass.

🤖 Generated with Claude Code

## Summary - Adds `_linkifyIssueRefs()` to `ChangeLogScreen` which replaces every `#NNN` pattern in the changelog text with a Markdown link pointing to `https://codeberg.org/guettli/sharedinbox/issues/NNN`. - The conversion runs before the existing `_injectInstallMarkers` step, so the `flutter_markdown_plus` renderer picks up the links automatically. - The existing `onTapLink` handler already opens URLs in an external browser — no further changes needed. Closes #472 ## Test plan - New widget test `ChangeLogScreen renders #NNN as a tappable link` verifies that `#42` text appears in the rendered output after linkification. - All 5 `changelog_screen_test.dart` tests pass. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.