Skip to content

🏗️ Refactoring of the Lib#109

Merged
Hirschfuchs merged 3 commits into
mainfrom
feature/refactoring-lib
Nov 25, 2025
Merged

🏗️ Refactoring of the Lib#109
Hirschfuchs merged 3 commits into
mainfrom
feature/refactoring-lib

Conversation

@Hirschfuchs
Copy link
Copy Markdown
Member

In preparation of #106, the lib.rs got split up into separate files, each with it's own single responsibility. It makes the code more structured and improves testability.

@Hirschfuchs Hirschfuchs self-assigned this Nov 25, 2025
@Hirschfuchs Hirschfuchs added documentation 📝 Improvements or additions to documentation refactoring ♻️ Something existing, which should be improved or optimized (no new features) labels Nov 25, 2025
@Hirschfuchs Hirschfuchs force-pushed the feature/refactoring-lib branch 2 times, most recently from 3362c2e to 695ed3a Compare November 25, 2025 21:17
- separated code for single responsibility files
- changed no outer APIs or behaviour
- documented public transport functions
@Hirschfuchs Hirschfuchs force-pushed the feature/refactoring-lib branch from 695ed3a to 8f9a5c9 Compare November 25, 2025 21:37
@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 25, 2025

Codecov Report

❌ Patch coverage is 0% with 398 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/libs/camera/transport.rs 0.00% 81 Missing ⚠️
src/libs/camera/camera.rs 0.00% 62 Missing ⚠️
src/libs/camera/command02.rs 0.00% 47 Missing ⚠️
src/libs/camera/status.rs 0.00% 47 Missing ⚠️
src/libs/camera/commands/goto_preset_position.rs 0.00% 35 Missing ⚠️
src/libs/camera/enums.rs 0.00% 31 Missing ⚠️
src/libs/camera/commands/tracking_speed.rs 0.00% 24 Missing ⚠️
src/libs/camera/commands/sleep.rs 0.00% 23 Missing ⚠️
src/libs/camera/commands/exposure_mode_type.rs 0.00% 19 Missing ⚠️
src/libs/camera/commands/ai_mode.rs 0.00% 14 Missing ⚠️
... and 4 more
Files with missing lines Coverage Δ
src/gui/main.rs 0.00% <ø> (ø)
src/gui/styles/button_non_styled.rs 0.00% <ø> (ø)
src/gui/styles/general_area_style.rs 0.00% <ø> (ø)
src/gui/styles/theme.rs 0.00% <ø> (ø)
src/gui/styles/tooltip_style.rs 0.00% <ø> (ø)
src/gui/ui_modules/button_exposure_mode.rs 0.00% <ø> (ø)
src/gui/ui_modules/button_hdr.rs 0.00% <ø> (ø)
src/gui/ui_modules/button_sleep_wake.rs 0.00% <ø> (ø)
src/gui/ui_modules/button_tracking_mode.rs 0.00% <ø> (ø)
src/gui/ui_modules/button_window_mode_change.rs 0.00% <ø> (ø)
... and 19 more

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Hirschfuchs Hirschfuchs merged commit 5ea948c into main Nov 25, 2025
4 of 5 checks passed
@Hirschfuchs Hirschfuchs deleted the feature/refactoring-lib branch November 25, 2025 22:02
@Hirschfuchs Hirschfuchs mentioned this pull request Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation 📝 Improvements or additions to documentation refactoring ♻️ Something existing, which should be improved or optimized (no new features)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant