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

Refactor to rename viewer to pilot #446

Merged
merged 2 commits into from
Dec 26, 2024

Conversation

yungyuc
Copy link
Member

@yungyuc yungyuc commented Dec 26, 2024

Rename the Python module modmesh.view to package modmesh.pilot. modmesh.pilot will host all code related to GUI and visualization.

Also rename the GUI executable from viewer to pilot.

Plan to rename the binary naew "viewer" to a more unique name "pilot".  The first step is to rename the Python module `modmesh.view` to `modmesh.pilot`.  `modmesh.pilot` is a sub-package and will allow better GUI code organization.
@yungyuc yungyuc added refactor Change code without changing tests pilot GUI and visualization labels Dec 26, 2024
@yungyuc yungyuc self-assigned this Dec 26, 2024
Copy link
Member Author

@yungyuc yungyuc left a comment

Choose a reason for hiding this comment

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

The PR only changes Python module name and GUI executable name. Other source file names are not changed.

Change of file names will be included in a followup PR.

Copy link
Member Author

Choose a reason for hiding this comment

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

This file modmesh/pilot/_gui.py comes from modmesh/view.py.

Copy link
Member Author

Choose a reason for hiding this comment

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

modmesh.pilot will be a drop-in replacement to modmesh.view.

@yungyuc yungyuc requested a review from j8xixo12 December 26, 2024 10:13
@yungyuc yungyuc merged commit 446852d into solvcon:master Dec 26, 2024
12 checks passed
@yungyuc yungyuc deleted the refactor/rename-viewer-to-pilot branch December 26, 2024 10:13
@yungyuc yungyuc linked an issue Dec 26, 2024 that may be closed by this pull request
@yungyuc
Copy link
Member Author

yungyuc commented Dec 26, 2024

Merged the PR. Start to implement for issue #400.

@yungyuc
Copy link
Member Author

yungyuc commented Dec 26, 2024

@j8xixo12 Please help take a look when you have time. We can fix issues with followup PRs.

@j8xixo12
Copy link
Collaborator

@j8xixo12 Please help take a look when you have time. We can fix issues with followup PRs.

No problem, I will take a look on this PR and #447.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pilot GUI and visualization refactor Change code without changing tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change the "viewer" to use an official name
2 participants