-
Notifications
You must be signed in to change notification settings - Fork 138
Share a single note / publish #38
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
Comments
Note that you can share a not by sharing the file (in the But the note will be stored in the root folder of the user, not in Notes folder. |
@roipoussiere yep, of course. That requires you to switch the app, find the note, share it, and go back to the Notes app. ;) Hence the direct integration is needed. |
With the markdown app there is currently also no option to share the rendered markdown (as it was requested here), but there is a related request for such feature icewind1991/files_markdown#29 |
It needs to be shared in the notes folder not the files folder. This is not sharing a note - it is sharing a file. I'd like the shared note to be available in the notes app on the phone. |
You should be able to make it visible in the notes app by moving the shared file to the Notes folder manually. However this is really annoying. I looked into the file sharing code and unfortunately the target folder is always set to the system default folder for sharing, usually the user's root folder, so there's no easy way to solve sharing a note directly using the file sharing API unless something changes in the files_sharing app. As I'm still fairly new to the whole code-base I'm still unsure how/if dependencies between apps would be handled. |
@nextcloud/sharing @schiessle any help regarding sharing here is appreciated. :) |
Works now when switching to another account, but still does not work on the very first sign in.
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
@jancborchardt There are a few things not very clear to me, so maybe you can clarify the full user flow especially in terms of file shares.
|
Share to accounts, but yeah the original issue also includes "publishing", so sharing by link.
Yeah sounds good, however we need to keep in mind that Notes already uses the 3 column layout, which is why I suggested the modal. But yes the content could be the same as in the Files sidebar.
Yeah would probably be good, and we then probably also need an indicator in the list for sharer and sharee.
Yeah and that is fine, right? It would still be in the Notes folder for the sender, and the receiver can move it wherever they like. It will not be in their Notes app but that’s cause they moved it out. |
All right, let me summarize the implementation idea then a bit:
|
My suggestion would be to try with the sidebar as a first step. We can later on still see if we can isolate the sharing tab and have it also available in a modal, but I think we should not implement our own logic for file sharing as there are just too many edge cases to consider. |
Sounds good @juliushaertl! |
Uh oh!
There was an error while loading. Please reload this page.
It would be shown in »read only« mode of course (see also #23). Basically the page like for share links with the blue header, in the content only the note text, formatted properly (no Markdown highlight stuff) and on the top right a download function.
The share icon could be in a 3-dot menu in the left navigation, where also »Delete« should be placed now that we get more stuff. We could layout it like in the Spreed app, where quick sharing by link is possible:

Clicking on »Share link« shows the link in an input field below and also shows a copy button. We could also use the clipboard API to directly copy the share link to the clipboard.
We don’t need full-blown sharing with others on the same instance yet I’d say since there’s no realtime collab anyway. This is about publishing mainly. :)
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: