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

In the receiver for the “share” intent, allow passing ID of the parent node in extra data (for sharing via Tasker and such apps) #435

Open
decadent opened this issue Jan 10, 2019 · 1 comment

Comments

@decadent
Copy link

(Hi. I'm submitting a feature request.)

In the receiver for the “share” (“send”) intent, please add the new node under an existing one if the ID of the existing node is specified in extra data of the intent.

This would allow to quickly file shared items under specific nodes of a notebook―but the user would need to send the intent with an app like Tasker (and possibly the companion AutoShare).

This is related to #354, but would postpone the need for a GUI widget for choosing the parent node (which widget may be tricky to get right). However, it would still be preferable to see the target parent node in the “new note” dialog, even without the ability to change it―so it's clear what's happening.

In the future, when the target-choosing widget arrives, this feature would still allow to file new items quicker to a bunch of favourite nodes.

It seems that the receiver can currently get the destination notebook from extra data―I guess the parent node ID could be specified in the same way (and probably the same field). However, I don't really know what the existing format for the data (“query”) looks like and who defines it. The format for the parent node ID should preferably be simple and textual, as the users would need to specify it by hand in the sending app.

For reference, I'm currently using Orgzly version 1.6.12

@decadent decadent changed the title In the receiver for the “share” intent, allow passing ID of the patent node in extra data (for sharing via Tasker and such apps) In the receiver for the “share” intent, allow passing ID of the parent node in extra data (for sharing via Tasker and such apps) Jan 10, 2019
@decadent
Copy link
Author

On further thought, this is also related to #299, for in some cases it would be very convenient to add new nodes ‘programmatically’ under existing ones and without opening the ‘New note’ dialog.

I suggest that the different parameters could be combined, so that the user can choose the desired combination for their workflow: create a top-level or nested note, with or without opening the dialog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants