Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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.

  • 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
  • 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
  • The link tool turns a web address into a link
    • Shared: EditorSessionTest.linkOnSelectionAndInsertion
    • Android UI: NoteEditingUiTest.linkToolTurnsAWebAddressIntoALink
    • iOS UI: NoteEditingUITests.LinkToolTurnsAWebAddressIntoALink
  • Typing right after a link doesn’t extend it
    • Shared: EditorSessionTest.typingAfterLinkDoesNotExtendIt
    • Not tested: Android UI, iOS UI
  • Web addresses are recognized
    • Shared: NoteLinksTest.recognisesWebAddresses
    • Not tested: Android UI, iOS UI
  • Plain-text web addresses become links in read-only views (D-29)
    • Shared: NoteLinksTest.plainTextWebAddressesBecomeLinksInTheView
    • Not tested: Android UI, iOS UI
  • A closing bracket that belongs to the address is kept
    • Shared: NoteLinksTest.aClosingBracketThatIsPartOfTheAddressIsKept
    • Not tested: Android UI, iOS UI
  • Note link addresses round-trip
    • Shared: NoteLinksTest.noteLinksRoundTrip
    • Not tested: Android UI, iOS UI
  • Custom labels are marked in the address (?label=custom)
    • Shared: NoteLinksTest.customLabelsAreMarkedInTheAddress
    • Not tested: Android UI, iOS UI
  • Labels follow the target’s title unless custom (D-39)
    • Shared: NoteLinksTest.labelsFollowTheTargetTitleUnlessCustom, EditorSessionTest.noteLinksFollowTheTitleUnlessTheUserChoseTheWords, NotesCoreTest.noteLinkLabelsFollowRenamesUntilTheUserChoosesTheWords
    • Not tested: Android UI, iOS UI
  • Picking a new target for a following link relabels it
    • Shared: EditorSessionTest.choosingANewTargetForAFollowingLinkRelabelsIt
    • Not tested: Android UI, iOS UI
  • Typing inside a label makes it custom
    • Shared: EditorSessionTest.typingInsideALabelMakesItCustom
    • Not tested: Android UI, iOS UI
  • Relabelling keeps the styles around and after the link
    • Shared: NoteLinksTest.relabellingKeepsStylesAroundAndAfterTheLink
    • Not tested: Android UI, iOS UI

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
  • Find note jumps to a note; swipes move back and forward
    • Shared: NoteTrailTest.movesBackAndForwardLikeABrowser
    • Android UI: NoteEditingUiTest.findNoteJumpsAndSwipesMoveThroughTheTrail
    • iOS UI: NoteEditingUITests.FindNoteJumpsAndSwipesMoveThroughTheTrail
  • A deleted note drops out of the trail and its neighbors merge
    • Shared: NoteTrailTest.forgettingADeletedNoteSkipsItAndMergesNeighbours
    • Not tested: Android UI, iOS UI

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.