Skip to content
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

MobiFlight Project added #1949

Merged
merged 35 commits into from
Feb 26, 2025
Merged

Conversation

DocMoebiuz
Copy link
Collaborator

@DocMoebiuz DocMoebiuz commented Feb 20, 2025

MobiFligth now knows of Project

This is the first step towards a more flexible system for aggregating multiple configs into one.

  • Output & Input configs are stored in one list
  • Multiple files can be stored in one project file (but not through the UI)
  • Project files have "*.mfproj" extension
  • New JSON based file format
  • Backward compatibilty allows for loading mcc-files
  • Unit tests for JSON serialization are added

Copy link

Build for this pull request:
MobiFlightConnector.zip

Copy link

Build for this pull request:
MobiFlightConnector.zip

Copy link

Build for this pull request:
MobiFlightConnector.zip

Copy link

Build for this pull request:
MobiFlightConnector.zip

Copy link

Build for this pull request:
MobiFlightConnector.zip

Copy link

Build for this pull request:
MobiFlightConnector.zip

@joeherwig
Copy link

Hey Sebastian, That's so great to see progressing this issue! Cool! Thanks!
Looking forward seeing you in Lelystad!

Copy link

Build for this pull request:
MobiFlightConnector.zip

Copy link

Build for this pull request:
MobiFlightConnector.zip

Copy link

Build for this pull request:
MobiFlightConnector.zip

Copy link

Build for this pull request:
MobiFlightConnector.zip

@DocMoebiuz DocMoebiuz merged commit 4a1cd4c into mf2025/main Feb 26, 2025
2 checks passed
DocMoebiuz added a commit that referenced this pull request Feb 26, 2025
* First stab at JSON config and project

* Update the expected XML files after removing "trigger" attribute

* Convert the pin to common Device using DeviceConfig

* Refactor LedModule to Device

* Refactored LCD Display

* Refactor Servo to as Device

* Refactored ShiftRegister to Device

* Refactor Stepper to be Device

* Refactor CustomDevice to Device

* Removed BCD device type

* JSON Serialization is working in a first version.
Requires more unit tests

* Improve JSON serialization

* Change frontend to be comaptible with new serialization format

* Output device panels are working

* device icons are displayed correctly in UI

* Config List View working

* Unit tests working

* Fixed unit tests.

* Fix an execution bug

* Fix linter

* Proper JSON Serialization and unit tests

* Add missing CustomDevice

* On "Add" send 1 item to the UI

* Use autofocus on edit

* Add mcc to default filter.

* Complete JSON serialization for modifiers, including Unit tests

* Fixed Output DeviceConfig serialization.

* use only short type names in JSON

* Add unit test for configreflist JSON serialization

* Improve Precondition serialization

* Don't include null values for MSFS2020 CustomInputAction

* No setting node handling

* Add more unit tests for open and save of files

* Fixed ShiftRegister and also added unit tests for it

* Added exception handling for ExecuteTestOn/Off
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