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

Add direct editing to the file manager extension #1735

Merged
merged 3 commits into from
Jan 18, 2020

Conversation

misch7
Copy link
Member

@misch7 misch7 commented Jan 18, 2020

Screenshot 2020-01-18 at 12 48 42

Share context menu: Use directEditing capability in SocketApi

  • Allow direct editing "Edit" when an editor is available for the mime type
  • Show "Open in browser" if editing is unavailable (as previously, both now on top of the menu list)
  • Rename the menu title to the app name, "Nextcloud" instead of "Share via ..."

Add support for the directEditing capability

  • Fetch in ConnectionValidator::slotCapabilitiesRecieved
  • Add editors to a list made of the new DirectEditor class

TODO:

  • Add support for re-fetch and continuously check for changes (ETag)

Further improvements:

  • JsonApiJob: Add method usePOST to allow anonymous POST requests

Thanks to @tobiasKaminsky and @juliushaertl for guidance! ❤️
And to @camilasan for the super helpful PR #1442 🚀

Signed-off-by: Michael Schuster <michael@schuster.ms>
- Fetch in ConnectionValidator::slotCapabilitiesRecieved
- Add editors to a list made of the new DirectEditor class

TODO:
- Add support for re-fetch and continously check for changes (ETag)

Signed-off-by: Michael Schuster <michael@schuster.ms>
- Allow direct editing "Edit" when an editor is available for the mime type
- Show "Open in browser" if editing is unavailable (as previously)
  (now on top of the menu list)
- Rename the menu title to the app name, "Nextcloud" instead of "Share via ..."

Signed-off-by: Michael Schuster <michael@schuster.ms>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant