-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Adds edit and view buttons, #1752 #1755
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
Conversation
@@ -595,6 +597,20 @@ define([ | |||
$('.delete-button').css('display', 'none'); | |||
} | |||
|
|||
// View is visible when an item is renderable or downloadable |
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.
I think these are only going to be appropriate for the length === 1 case. I don't think we can open all the selected files at once.
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.
I considered that, but I have already found this useful (eg, for "grading" in a non-nbgrader environment).
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.
Oh, I meant literally "can't" because I assumed the browser wouldn't let us open a bunch of new tabs/windows. Does it really work?
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.
As far as I have tested, it seems to work (Chrome). I had to create a local variable to assign the window to, otherwise I only got the one window. I haven't checked to see if there is a maximum number ... yet.
@dsblank I'm happy to help with this PR. Can you make the changes suggested by @minrk or check the "Allow edits from maintainers" box in the right column on this page and I will give it a try? |
@takluyver Sure thing! |
Thanks for picking this up! |
Closing this in favour of #1905, which build on it. |
Puts [Edit] and [View] buttons before the trashcan. Allows editing and viewing of files. Addresses #1752