Skip to content

Conversation

@Volgat
Copy link

@Volgat Volgat commented Jan 7, 2026

Tests: Migrated
test_models.py
and porting tools from unittest to pytest to align with project standards and resolve TID251 (banned-import) lint violations. Replaced setUpClass with scoped fixtures and legacy assertions with native assert.
UI: Refactored Scroller.scroll_to to use absolute offsets instead of relative deltas, resolving a FIXME regarding padding correction. Updated
MiciMainLayout
and
Dialog
callers to match the new API.
Verification:

Verified tests pass via pytest.
Confirmed UI layout transitions remain smooth and correctly positioned.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2026

mici raylib UI Preview

✅ Videos are identical! View Diff Report

@github-actions
Copy link
Contributor

github-actions bot commented Jan 7, 2026

raylib UI Preview

All Screenshots

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for contributing to openpilot! In order for us to review your PR as quickly as possible, check the following:

  • Convert your PR to a draft unless it's ready to review
  • Read the contributing docs
  • Before marking as "ready for review", ensure:
    • the goal is clearly stated in the description
    • all the tests are passing
    • the change is something we merge
    • include a route or your device' dongle ID if relevant

@sshane
Copy link
Contributor

sshane commented Jan 11, 2026

Make sure to not do too many things. This PR addresses two completely different topics at once, you should split one out

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