So another thing that might be useful for shortcuts is to be able to find a note by its content and not its title. This intent itself doesn't do anything except for search notes and present them as an option, but if you connect it to Append Note then you can find a note by it's content, and add content to it in one shortcut. pretty cool I think. So that is what I have done in this PR.
As a bonus, While I was at it I realized that you might also want to open a note that you found based on its content. So I have updated the Open Note Intent to accept a note from other shortcuts.
This is the last planned shortcut to be added, so this:
fixes #1569
fixes #1487
Test
okay, so testing this requires a bit of understanding of shortcuts.
find and append to note
build app to device to ensure the entitlements are handled correctly
background the app, open shortcuts, add a shortcut and tap on add action. Find Simplenote and add Find Note With Content
tap on content and choose "Ask each time" and hit done in the drawer
at the bottom of the page you should see Simplenote in a hidden modal, slide that up and select Append to note
tap on content and hit Ask each time
now run the shortcut.
type in some text you know is in one of your notes and then hit done. (note if you have two notes with the same content you will be asked to choose which note you want. Make sure to test this too)
then enter in some content in the next view and hit done
Open Simplenote and confirm your text was added to your note
find and open note
background the app again, open shortcuts, add a shortcut and tap on add action. Find Simplenote and add Find Note With Content
tap on content and choose "Ask each time" and hit done in the drawer
at the bottom of the page you should see Simplenote in a hidden modal, slide that up and select Open Note
now run the shortcut.
confirm that the note you searched for is opened in Simplenote
Review
(Required) Add instructions for reviewers. For example:
Only one developer is required to review these changes, but anyone can perform the review.
Release
(Required) Add a concise statement to RELEASE-NOTES.txt if the changes should be included in release notes. Include details about updating the notes in this section. For example:
Fix
So another thing that might be useful for shortcuts is to be able to find a note by its content and not its title. This intent itself doesn't do anything except for search notes and present them as an option, but if you connect it to Append Note then you can find a note by it's content, and add content to it in one shortcut. pretty cool I think. So that is what I have done in this PR.
As a bonus, While I was at it I realized that you might also want to open a note that you found based on its content. So I have updated the Open Note Intent to accept a note from other shortcuts.
This is the last planned shortcut to be added, so this: fixes #1569 fixes #1487
Test
okay, so testing this requires a bit of understanding of shortcuts.
find and append to note
Open Simplenote and confirm your text was added to your note
find and open note
confirm that the note you searched for is opened in Simplenote
Review
(Required) Add instructions for reviewers. For example:
Release
(Required) Add a concise statement to
RELEASE-NOTES.txt
if the changes should be included in release notes. Include details about updating the notes in this section. For example: