Skip to content

Conversation

@toc-assistant
Copy link
Contributor

Summary

Adds comprehensive test coverage and documentation for the new feed customization components.

Tests Added

ArticleThumbnailTest (11 tests)

  • Basic construction and factory methods (fromUrl, fromBundle)
  • All properties: caption, accessibilityCaption, explicitContent
  • Fluent interface verification
  • Optional properties not included when null
  • Fully configured component serialization

ArticleTitleTest (10 tests)

  • Basic construction and role verification
  • TextStyle and format (html/markdown) support
  • InlineTextStyles and additions support
  • Extends TextComponent verification
  • Empty and unicode text handling

Documentation Updates

COOKBOOK.md

  • Added ArticleTitle to Text Components table
  • Added ArticleThumbnail to Media Components table
  • New "Feed Customization Components" section with usage examples

CHEATSHEET.md

  • Added ArticleTitle to Text section
  • Added ArticleThumbnail to Media section

Test Count

  • Before: 658 tests
  • After: 679 tests (+21)

- ArticleThumbnailTest: 11 tests covering construction, factory methods,
  all properties (caption, accessibilityCaption, explicitContent),
  fluent interface, and optional property handling

- ArticleTitleTest: 10 tests covering basic construction, text styles,
  format (html/markdown), inline styles, additions, unicode support

Also updates COOKBOOK.md and CHEATSHEET.md with documentation for
these new feed customization components.
@tomgould tomgould merged commit 3880ee1 into tomgould:master Feb 7, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants