Note links, web links, lookup and back/forward
Links between notes (jotry://note/<id>), web addresses, the fuzzy note lookup, and back/forward through visited notes. Decisions: D-17, D-20, D-25, D-29, D-36, D-39.
Links
- Typing
[[picks a note, inserts a link, and tapping the link opens that note- Android UI:
NoteEditingUiTest.typingDoubleBracketLinksToANoteAndTheLinkOpensIt - iOS UI:
NoteEditingUITests.TypingDoubleBracketLinksToANoteAndTheLinkOpensIt - Not tested: Shared
- Android UI:
- When no note matches, the link lookup creates one with the typed title and links to it
- Shared:
OrganizingTest.aNoteCreatedFromALinkKeepsItsTitleAndIsKept - Android UI:
NoteEditingUiTest.linkLookupCreatesTheNoteItLinksTo - iOS UI:
NoteEditingUITests.LinkLookupCreatesTheNoteItLinksTo
- Shared:
- The link tool turns a web address into a link
- Shared:
EditorSessionTest.linkOnSelectionAndInsertion - Android UI:
NoteEditingUiTest.linkToolTurnsAWebAddressIntoALink - iOS UI:
NoteEditingUITests.LinkToolTurnsAWebAddressIntoALink
- Shared:
- Typing right after a link doesn’t extend it
- Shared:
EditorSessionTest.typingAfterLinkDoesNotExtendIt - Not tested: Android UI, iOS UI
- Shared:
- Web addresses are recognized
- Shared:
NoteLinksTest.recognisesWebAddresses - Not tested: Android UI, iOS UI
- Shared:
- Plain-text web addresses become links in read-only views (D-29)
- Shared:
NoteLinksTest.plainTextWebAddressesBecomeLinksInTheView - Not tested: Android UI, iOS UI
- Shared:
- A closing bracket that belongs to the address is kept
- Shared:
NoteLinksTest.aClosingBracketThatIsPartOfTheAddressIsKept - Not tested: Android UI, iOS UI
- Shared:
- Note link addresses round-trip
- Shared:
NoteLinksTest.noteLinksRoundTrip - Not tested: Android UI, iOS UI
- Shared:
- Custom labels are marked in the address (
?label=custom)- Shared:
NoteLinksTest.customLabelsAreMarkedInTheAddress - Not tested: Android UI, iOS UI
- Shared:
- Labels follow the target’s title unless custom (D-39)
- Shared:
NoteLinksTest.labelsFollowTheTargetTitleUnlessCustom,EditorSessionTest.noteLinksFollowTheTitleUnlessTheUserChoseTheWords,NotesCoreTest.noteLinkLabelsFollowRenamesUntilTheUserChoosesTheWords - Not tested: Android UI, iOS UI
- Shared:
- Picking a new target for a following link relabels it
- Shared:
EditorSessionTest.choosingANewTargetForAFollowingLinkRelabelsIt - Not tested: Android UI, iOS UI
- Shared:
- Typing inside a label makes it custom
- Shared:
EditorSessionTest.typingInsideALabelMakesItCustom - Not tested: Android UI, iOS UI
- Shared:
- Relabelling keeps the styles around and after the link
- Shared:
NoteLinksTest.relabellingKeepsStylesAroundAndAfterTheLink - Not tested: Android UI, iOS UI
- Shared:
Links in exported files are in export-import.md.
Lookup and back/forward
- The lookup ranks title matches first and skips trashed notes
- Shared:
OrganizingTest.lookupRanksTitleMatchesFirstAndSkipsTrash - Not tested: Android UI, iOS UI
- Shared:
- Find note jumps to a note; swipes move back and forward
- Shared:
NoteTrailTest.movesBackAndForwardLikeABrowser - Android UI:
NoteEditingUiTest.findNoteJumpsAndSwipesMoveThroughTheTrail - iOS UI:
NoteEditingUITests.FindNoteJumpsAndSwipesMoveThroughTheTrail
- Shared:
- A deleted note drops out of the trail and its neighbors merge
- Shared:
NoteTrailTest.forgettingADeletedNoteSkipsItAndMergesNeighbours - Not tested: Android UI, iOS UI
- Shared:
Gaps
- A link to a trashed or purged note (what tapping it does) is untested.
- Tapping a plain web address in the read view opening the browser is untested in the UI.
- Back/forward skipping a deleted note is tested only in the shared trail, not in the apps.