Skip to content

Port plugin to Girder 5#71

Draft
zachmullen wants to merge 3 commits intomainfrom
girder-5
Draft

Port plugin to Girder 5#71
zachmullen wants to merge 3 commits intomainfrom
girder-5

Conversation

@zachmullen
Copy link
Copy Markdown
Contributor

No description provided.

Comment thread girder_volview/web_client/package.json
Comment thread girder_volview/web_client/views/open.js
@zachmullen
Copy link
Copy Markdown
Contributor Author

@manthey I believe this is now ready for you to test out.

CLIENT_SOURCE_PATH = "web_client"

def load(self, info):
plugin.getPlugin('large_image').load(info)
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I made this explicitly depend on the girder-large-image plugin given that that's listed as a required dependency in setup.py. If that's not right and this plugin doesn't actually depend on large_image, we should remove it from both places.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I forgot what side effect large-image did that this plugin depended on. This plugin may no longer need large-image. Worth a test.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Prior to my changes, it statically imported a front-end symbol from the girder-large-image plugin JS code. However, that's equivalent to just importing the one from Girder core, because they refer to the same object.

@PaulHax
Copy link
Copy Markdown
Collaborator

PaulHax commented May 1, 2025

How should we organize the repo to simultaneously support Girder 3 and Grider 5?

@zachmullen
Copy link
Copy Markdown
Contributor Author

On most of the other repos we have been keeping an integration branch called girder-5.

@PaulHax PaulHax marked this pull request as draft December 7, 2025 21:24
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