b&w_logo Created with Sketch.
  • Get Started
  • Contact
  • Sign up
  • Sign in

sharks

get started

concepts

features

syntax

 

monkeys

intro

mods

REST API

 

platypuses

github

blueprints

tickets

 

everyone

support

ideas

contact

license

 

 
 

Shallow problem with the way the link syntax is treated

help edit space_dashboard

Support Ticket

+status
answered
help edit space_dashboard
+tag
linking
help edit space_dashboard
 

+issues

help edit space_dashboard

There are two operations that can take place between cards, linking and transclusion, both of which are first class scenarios. Transclusions are great but one can't live without linking.

 

One gives you a portal to travel to content that is somewhere else, the other gives you a portal for the distant content to travel to your location.

 

However in search they are not treated the same. While renaming, transclusions to that card can be renamed with it, but the links are never processed and stay the same.

 

help edit space_dashboard

The current implementation, using the double square bracket [[ for link syntax, is however ignored when renaming cards. If you create a card or plus card and transclude it you can rename it and the transclusions point to the new card. However if you link to it and try to rename it, the links stay the same, and the integrity of what you are trying to build fades away with time.

 

I've setup this for testing while editing content here on wagn.

See step 6 of Optimizing in the card below. I have included both a link and a transclusion to http://wagn.org/Wagn_on_Apache+public_folder_symlink_prior_to_1_13

If one tries to rename Wagn on Apache+public folder symlink prior to 1.13 to something else, the transclusion still works while the link becomes outdated.

 

Please note that I'm referring to this syntax [ Wagn on Apache+public folder symlink prior to 1.13 | whatever text one may want to appear in the link ] OR [+public folder symlink prior to 1.13 | whatever text one may want to appear in the link ]. Seems plus cards are supported here also.

 

help edit space_dashboard

 

help edit space_dashboard

The way I see it, there is no easy fix since we can't really process all links?! Or is this a bug?

Maybe if we provide a transclusion syntax like this { Wagn on Apache+public folder symlink prior to 1.13 | LINK: whatever text one may want to appear in the link } for creating links we can support this scenario easier?

PS. It would be nice to have it just the way it is now and have it rename.

--Mir S......2014-09-13 12:47:02 +0000

links are supposed to auto-rename, too. I'll have to check, but I think the issue may be relative vs absolute references?

--Ethan McCutchen.....2014-09-13 15:32:19 +0000

It's supposed to work on relative and absolute links, right? There should even be tests for both scenarios.

 

I note that it won't work on external links or free links, and you have a link to this same page as a free link (always external) in the +example part of this issue. That one shouldn't rename, but the others should.

--Gerry Gleason.....2014-09-13 17:57:11 +0000

I think we have some brokenness. I renamed Wagn on Apache to Wagn one Apache and it did not rename the inclusion that had this as part of the name. The link is relative, so doesn't include the part I renamed. I'm going to try a couple more cases. (and rename things back)

--Gerry Gleason.....2014-09-13 18:32:29 +0000

Now the link is absolute. Could that have happened in the rename process?

 

I think maybe there is an issue with renaming a part, but links vs. inclusions seem to be ok.

--Gerry Gleason.....2014-09-13 18:43:02 +0000

You'll have to make sure with your own testing (or try to assign this to one of your expanding team :) ), but there definitely are some oddities here. I think it is only links that do the relative to absolute change (when you rename the +X part of the whole name).

--Gerry Gleason.....2014-09-13 18:58:59 +0000

The short reply is that there are clearly bugs, but most of the handling of links and inclusions is shared, so I would expect problems to be shallow, not systemic.

--Ethan McCutchen.....2014-09-14 02:11:34 +0000

(So I'll go ahead and mark this "answered", but we do need to do a system review of renaming cases and related test coverage)

--Ethan McCutchen.....2014-09-14 02:29:47 +0000

Great! I thought this behavior was a design decision.

I've renamed the title from systemic to shallow.

--Mir S......2014-09-14 11:28:55 +0000