200ok-ch / organice

An implementation of Org mode without the dependency of Emacs - built for mobile and desktop browsers
https://organice.200ok.ch/
GNU Affero General Public License v3.0
2.44k stars 151 forks source link

Share button for headlines and support for OS share functionality #142

Open schoettl opened 4 years ago

schoettl commented 4 years ago

Use case:

As a supervisor in a company, I want to be able to share header items (via e-mail, instant messenging, or other smartphone apps) to request more information on that item or to send information to the assigned employee.

Solution:

The share system depends on the operating system (Android, iOS, Desktop, other). I don't know yet how to use such share systems.

-> https://w3c.github.io/web-share/ not sure if Smartphone OS already support that.

As a fallback, there is already the mailto: action.

munen commented 4 years ago

@schoettl FYI: There's prior work regarding native share functionality in this issue: https://github.com/200ok-ch/organice/issues/52

In that issue, the idea is to get things shared into organice, though. In any case, there might be overlap in the implementation.

@dotcs Pinging you here so that you know that there's another interested party in implementing native share functionality.

dotcs commented 4 years ago

What I have implemented in the PoC in #52 is a receiver for the Android (and maybe iOS?) system intent when a text/link is shared. I'm not sure if this overlaps with triggering such an event on the mobile OS, but as soon as I find some time (which is likely next year) I'll try to understand the issue better. I like the idea of this PR. So in the future it might be possible to share from and to organice. That's a great idea.

schoettl commented 4 years ago

I change this issue to aim for a future support of the OS share systems.