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

Merge Pupil Remote and Frame Publisher plugins #1881

Merged
merged 18 commits into from
May 29, 2020

Conversation

romanroibu
Copy link
Contributor

@romanroibu romanroibu commented May 20, 2020

Changes

  • Merged the Frame Publisher and Pupil Remote plugins into a single Network API plugin


# UI
self.__frame_publisher_ui_menu = FramePublisherMenu(self.__frame_publisher)
self.__pupil_remote_ui_menu = PupilRemoteMenu()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UI should not be initialized in __init__() if possible.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the components themselves don't call any UI function and don't create any pyglui instances in their __init__.

do you still think that initializing these objects should move to init_ui?

@romanroibu romanroibu marked this pull request as ready for review May 22, 2020 06:45
@romanroibu romanroibu requested a review from papr May 22, 2020 06:45
@romanroibu romanroibu force-pushed the merge-pupil-remote-and-frame-publisher-plugins branch from 93f68b5 to 885aacb Compare May 29, 2020 11:01
@papr papr merged commit 2c7728c into develop May 29, 2020
@papr papr deleted the merge-pupil-remote-and-frame-publisher-plugins branch May 29, 2020 13:12
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