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

ENH: Fixing Axes functionality on the Archive Viewer #25

Merged
merged 15 commits into from
Aug 28, 2024

Conversation

aksharsarvesh
Copy link
Contributor

@aksharsarvesh aksharsarvesh commented Jul 19, 2024

Builds on #24

Requires the pydm PR to go through, but allows the user to cleanly navigate adding, removing, and hiding axes; as well as hiding/removing curves and it properly hiding their axes. Finally, it defaults new curves to the correct axes upon creation and allows for easy switching between axes.

archive_viewer/table_models/axis_model.py Show resolved Hide resolved
archive_viewer/table_models/axis_model.py Outdated Show resolved Hide resolved
archive_viewer/table_models/axis_model.py Outdated Show resolved Hide resolved
archive_viewer/table_models/axis_model.py Outdated Show resolved Hide resolved
archive_viewer/table_models/axis_model.py Outdated Show resolved Hide resolved
archive_viewer/table_models/axis_model.py Show resolved Hide resolved
archive_viewer/table_models/curve_model.py Outdated Show resolved Hide resolved
archive_viewer/table_models/curve_model.py Outdated Show resolved Hide resolved
archive_viewer/table_models/curve_model.py Show resolved Hide resolved
archive_viewer/widgets/item_delegates.py Outdated Show resolved Hide resolved
@aksharsarvesh
Copy link
Contributor Author

Ok so after much butchering, I have taken out all of the formula dependent things about axis handling. Now, if a curve is linked or unlinked, or hidden or shown (all of which have nothing to do with formulas), then axis handling is all done in the back

Copy link
Collaborator

@YektaY YektaY left a comment

Choose a reason for hiding this comment

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

Just a few small changes and requests. Also I see the PR has some merge conflicts. once these are fixed I will merge this in!

archive_viewer/table_models/curve_model.py Outdated Show resolved Hide resolved
archive_viewer/table_models/curve_model.py Outdated Show resolved Hide resolved
archive_viewer/table_models/curve_model.py Outdated Show resolved Hide resolved
archive_viewer/table_models/curve_model.py Outdated Show resolved Hide resolved
archive_viewer/widgets/item_delegates.py Outdated Show resolved Hide resolved
archive_viewer/widgets/item_delegates.py Outdated Show resolved Hide resolved
archive_viewer/widgets/item_delegates.py Outdated Show resolved Hide resolved
@YektaY YektaY merged commit 283f638 into slaclab:main Aug 28, 2024
0 of 14 checks passed
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.

3 participants