-
Notifications
You must be signed in to change notification settings - Fork 54
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
Implement file actions menu #15
Conversation
Signed-off-by: John Molakvoæ (skjnldsv) <[email protected]>
Have the issue been addressed? |
@ChristophWurst No, I'm asking for input 😁 |
This needs some deeper digging into apps/files/js/tagsplugin.js. But I fear that we won't be able to easily reuse the existing tagsplugin and get reactivity. A quick test with forcing the rerendering of the actions computed property after executing the action didn't have any effect, since the tagsplugin seems to manually change the element of the rendered popoer in the file list.
👍 Otherwise we could also introduce some editing view in the modal header (where the filename is), but not sure if we should have this logic added to the viewer.
I'd say so, although we will need to extend FileList.scrollTo to disable the details view.
The only way I see here, would be to use backbone events on the files list collection to trigger update of the viewer if the file list data changes.
The sidebar has a z-index of 10001 so it still has precendence as the modal has 9998. Anyway we should close the modal if we show the sidebars or take some other action that is happening in the main files view. |
Yes, this is out of scope for the viewer I'd say.
Let's see if I can select the file like that.
Doable externally with pure js events?
Or disable the menu when the sidebar is opened? |
Not with our current file app implementation.
I think the modal should still overlay the sidebar as well and be closed once the sidebar is accessed. Otherwise we run into overlaying issues on bigger images/smaller screen size: |
Very nice!! :)
|
@skjnldsv guessing this is on hold cause of other commitments? Is this still on for 17, or likely not? |
@jancborchardt Yes this is still pending :'( Looks like a great idea to tackle during the hackweek ;) |
@juliushaertl Samy still uses a copy of the current menu html dom. |
I'm not sure right now how we could fetch the file list in the background properly apart from a hacky call to |
Sry but any update here? |
@szaimen would be nice :) |
Fix #7
Issues, please give your insight