TiddlyRemember icon indicating copy to clipboard operation
TiddlyRemember copied to clipboard

Permalink only links tiddlywiki file, not the full permalink.

Open Marxsal opened this issue 3 years ago • 7 comments

The permalink that is created and displayed within Anki only links to the originating file (file:///my/file/is/here.html), not to the full permalink address (e.g. file:///my/file/is/here.html#mytiddler) .

Marxsal avatar Dec 21 '21 03:12 Marxsal

Sorry, I should have been clearer when I asked you to post here. It works with the settings I use, so can you include the wiki configuration and an example of a call to rememberq (or whatever remember macro you're using) that produces a card without an #anchor in its permalink field?

sobjornstad avatar Dec 21 '21 04:12 sobjornstad

It actually produces the note permalink correctly. e.g.

file:///home/mark/temp/anki-tw/anki2.html#GIT/List%20all%20the%20files%20in%20a%20commit

But when it launches, it only goes to file:///home/mark/temp/anki-tw/anki2.html. Using Chromium 95.0.4638.69 on Xubuntu 18.04.

Marxsal avatar Dec 22 '21 01:12 Marxsal

Oh, sorry, I misunderstood. Mine has started doing that lately too and I don’t think there’s anything I can do to fix it — guessing it has to do with some security policy changes for file:// links. You can copy and paste to get around it.

I’ll still keep this open though and take a closer look at what’s going on to be sure there’s nothing I can fix.

On Tue, Dec 21, 2021, at 19:14, Marxsal wrote:

It actually produces the note permalink correctly. e.g.

file:///home/mark/temp/anki-tw/anki2.html#GIT/List%20all%20the%20files%20in%20a%20commit

But when it launches, it only goes to file:///home/mark/temp/anki-tw/anki2.html. Using Chromium 95.0.4638.69 on Xubuntu 18.04.

— Reply to this email directly, view it on GitHub https://github.com/sobjornstad/TiddlyRemember/issues/62#issuecomment-999205810, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARUZRUU4334BRG7BHOEDWDUSEQ7LANCNFSM5KPFMLVQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.Message ID: @.***>

sobjornstad avatar Dec 22 '21 14:12 sobjornstad

When I right click on the permalink link it says "copy". I click on copy. But nothing actually goes into the system clipboard.

Marxsal avatar Dec 22 '21 15:12 Marxsal

Yeah, you have to edit the card and copy it from there.

On Dec 22, 2021, at 9:47 AM, Marxsal @.***> wrote:

When I right click on the permalink link it says "copy". I click on copy. But nothing actually goes into the system clipboard.

— Reply to this email directly, view it on GitHub https://github.com/sobjornstad/TiddlyRemember/issues/62#issuecomment-999677843, or unsubscribe https://github.com/notifications/unsubscribe-auth/AARUZRSSTF2HCKM6YOBS3QTUSHXKLANCNFSM5KPFMLVQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you commented.

sobjornstad avatar Dec 23 '21 15:12 sobjornstad

Since linking no longer works, and since right-copy doesn't work, perhaps the full text of the reference could be presented so the user could select that and navigate to the source?

Marxsal avatar Jan 19 '22 21:01 Marxsal

Good idea – if I can't find a way to fix it, I'll look into making that an optional behavior.

sobjornstad avatar Jan 20 '22 15:01 sobjornstad