-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Report an unknown carriage in simulation mode #738
Report an unknown carriage in simulation mode #738
Conversation
This avoids the UI showing a particular carriage type when it's irrelevant for simulation.
WalkthroughThe pull request modifies the Changes
Assessment against linked issues
Possibly related PRs
Suggested reviewers
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🔇 Additional comments (3)src/main/python/main/ayab/engine/communication_mock.py (2)
The updated docstring accurately describes the method's functionality.
This change directly addresses issue #692 by setting the carriage type to 0xFF (unknown) in simulation mode, preventing the incorrect display of a lace carriage. src/main/python/main/ayab/tests/test_communication_mock.py (1)
The test's expected result correctly matches the new implementation where carriage type is set to unknown (0xFF). Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Quality Gate passedIssues Measures |
Fixes #692 as suggested, by reporting an unknown carriage type so that the UI does not show any carriage type.
Test release: https://github.com/jonathanperret/ayab-desktop/releases/tag/1.0.0-sim-carriage-1
Summary by CodeRabbit
New Features
Bug Fixes