-
Notifications
You must be signed in to change notification settings - Fork 16
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
Allow plugin to define type of downloaded file #71
Conversation
I could not find a suggestion on how the zip download is being tested so this PR does not contain any testing for the new functionality. I only did manual testing 😞 If this is approved and merged I will follow it up with a related issue and PR in webviz-config. |
Thanks for the PR @DanSava 🎉
That is totally fine - we do not have an 🤖 integration test for the (zip) download button as of now.
We will get something like this in, but I'm thinking instead of adding a new special case ( Adding the possibility of choosing filename from plugin side is a nice extra change, good idea 👍 As well as changing download button icon to the more generic Breaking changes in Opinions on this @DanSava and @HansKallekleiv? |
I think this is a good idea One small issue I can think about is that once there is only a general way of downloading a plot resource like |
I agree. Handling this from the plugin side is better 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🚀 Some minor comments to consider below, otherwise I think this is ready. 👍
Maybe most efficient to keep this PR open/unmerged until a corresponding webviz-config
PR is made, in case it becomes obvious that some adjustments in this PR would be useful.
f5ea514
to
b6571b1
Compare
657babb
to
da6546b
Compare
Thanks for the changes both here and in the related @HansKallekleiv: can you do a final review on this one? ✔️ Then we'll merge and release a new version of |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes look good to me 👍 thanks for making them!
Looks good! 👍 |
43914bb
to
d53deca
Compare
Closes #70