- Change GitHub repository links from 'your-username' to 'lockin-bot' for accurate references.
- Ensure all instances of the repository URL are updated for consistency.
This improves clarity for users accessing the repository.
- Create images directory for screenshots
- Add placeholder image files (to be replaced with actual screenshots)
- Update README with Screenshots section showcasing all example bots
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Install react-router-dom dependency
- Create react-router-experiment.tsx demonstrating React Router usage
- Implement navigation with Routes, nested routes, and navigation hooks
- Add example pages: Homepage, BlogsIndex, and BlogPage with params
- Use MemoryRouter for in-memory routing suitable for Telegram bots
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add README.md to packages/examples for docs workflow
- Fix CI workflow bun filter commands and add test env vars
- Add security permissions for SARIF upload in security workflow
- Document NPM_TOKEN requirement in release workflow
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Add CI workflow for testing, type checking, and building
- Add publish workflow for npm releases
- Add automated release workflow with changesets
- Add PR checks for changesets and formatting
- Add security scanning workflow
- Add documentation validation workflow
- Configure changesets for version management
- Add Prettier for code formatting
- Add unit tests for core and adapter packages
- Add contributing guidelines and release documentation
- Configure Dependabot for dependency updates
- Update README with CI badges
This establishes a complete CI/CD pipeline for automated testing,
versioning, and publishing of the React Telegram packages.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Split project into three packages:
- @react-telegram/core: Core React reconciler
- @react-telegram/mtcute-adapter: MTCute Telegram adapter
- @react-telegram/examples: Example bots (private)
- Add <br /> tag support for line breaks
- Update all examples to use <br /> instead of {'\n'}
- Configure Bun workspaces for better package management
- Update imports to use package names instead of relative paths
- Update README with new installation instructions
- Remove test files (moved to separate testing setup)
BREAKING CHANGE: Package names changed from react-telegram to @react-telegram/*
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Introduced a new <br /> tag for line breaks in JSX, enhancing readability and usability.
- Updated multiple example components to utilize the <br /> tag instead of newline characters for better formatting.
- Added a new BrDemo component to showcase the <br /> tag functionality.
- Fixed button text extraction to handle arrays, expressions, and mixed content
- Buttons with template literals now display correctly (e.g., "Switch to {mode} Mode")
- Added comprehensive tests for button text extraction edge cases
- Removed accidentally committed editReactMessage method
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
- Update MTCute imports to use correct types from @mtcute/tl
- Fix MessageEntity construction with proper discriminated union types
- Fix callback query data handling for string/Uint8Array
- Update inline keyboard markup structure
- Fix reconciler host config type issues
- Add @ts-expect-error for complex React reconciler types
Note: One persistence mode test is still failing - static content
in formatted elements loses children on re-render. This appears
to be a complex issue with how React's persistence mode handles
child reconciliation.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>