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

[ui] Add allocator support to menu, misc UI refactoring #949

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from

Conversation

JTran-UW
Copy link

Merged with the original modm

MatthewMArnold and others added 7 commits July 19, 2021 20:06
* [menu] Add optional allocator for ui menu classes, used for destroying AbstractViews

* [menu] remove coupling between modm gui and modm menu view and menu

This is because the gui stuff requires colored menus
but the menu code should not have to have colored
menus. This wouldn't be an issue if we could dynamic
cast but on certain devices you can't do this.
Previously, if the compiler was not on PATH, shutil.which would return
None and the error from "realpath" would be:

    TypeError: expected str, bytes or os.PathLike object, not NoneType
@salkinium
Copy link
Member

Since I cannot push to your branch, I've pushed my refactorings to my fork. Please force push that to your branch.

In future, please add a bit more context to your PRs to make it easier for me to review 🫠

@salkinium salkinium added this to the 2023q1 milestone Feb 5, 2023
@salkinium salkinium changed the title Upgrade Modm [ui] Add allocator support to menu, misc UI refactoring Feb 5, 2023
@salkinium
Copy link
Member

Ping @ProfJAT? Did you have a look at my refactoring?

@rleh rleh modified the milestones: 2023q1, 2023q2 Apr 8, 2023
@rleh rleh added the stale ♾ label Apr 8, 2023
@rleh rleh removed this from the 2023q2 milestone Apr 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

5 participants