-
-
Notifications
You must be signed in to change notification settings - Fork 145
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
Refactor to common page logic #266
Refactor to common page logic #266
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like where this is going - especially for pages that require custom functionality this will make maintenance a lot easier. 👍
Gone as far as I can without feedback, ideas for further refactoring, etc. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me now, apart from needing a rebase.
@raphaelcoeffic: What are your thoughts?
956a887
to
000b0af
Compare
Now that OpenTx has aligned around screen size rather than device, it seems to make sense to refactor the BF lua script code in the same way.
I have tried to extract the page logic into device agnostic common pages, and the actual screen layout in to resolution dependent "Layouts." As part of this I have also moved some settings up to the radio level from the pages where it seemed to make sense.
Opening as a draft for comments...