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

Tx data refactor3 #92

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

Tx data refactor3 #92

wants to merge 12 commits into from

Conversation

relatko
Copy link
Contributor

@relatko relatko commented Jun 19, 2022

Suggestion to introduce improved SCREEN macros.
Our current screen showing code contains _getItem and _getNumItems that depend on each other quite a lot.
In previous PR's i introduced SCREEN macro and an approach to merge these two function into one _internal function.
However, this was a bit hacky and not general.

Here I try to generalize the approach so that it can be used on all screens, while making it more straightforward. It is stil a bit complex, due to the fact, that _internal function implements two interfaces at once, but I believe now, besides this, it is all very natural.

@pgebheim pgebheim requested a review from Wolog2021 July 13, 2022 16:36
@pgebheim pgebheim added this to the v0.10.2 milestone Sep 7, 2022
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