-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Harlowe StoryMap missing arrow links between passages when changers are used #154
Comments
yes the workaround for SC is to have the twine passage link in a "comment", not sure if that is possible in Harlowe.
|
Thanks @Tranberry, looks like the same trick works for Harlowe:
Would be nice to not have to double-manage and have it automatically picked up still though. Looks like this may be one of the items on the long todo list in the story map source: https://github.com/cyrusfirheir/twee3-language-tools/blob/master/story-map/todo.md Poking around, looks like this is the function below which does the detection of the simple links and would need to be updated for the various function patterns for the different flavors: twee3-language-tools/src/story-map/socket.ts Lines 10 to 18 in 00f3398
Which is called just below in the same file to send this info from the backend to the frontend: twee3-language-tools/src/story-map/socket.ts Lines 38 to 56 in 00f3398
This eventually creates the LinkedPassage type in the Story Map here via this function: twee3-language-tools/story-map/src/util/passage-tools.ts Lines 32 to 37 in 00f3398
Not sure of all the various patterns across flavors myself, nor if there's a variable somewhere that stores whatever the editor is set to which could be used here to optimize it. Though, hopefully pointing this out helps someone know how to better fix this scenario. 😊 I think detecting SugarCube and Harlowe could be fairly similar like optional starting Doc links for these special formats:
|
+1 Without arrows for |
+1 Doesn't show arrows when using "link" macro in SugarCube either. Or "textbox" forwarding. |
I noticed with Harlowe, if not using straight links to passages
[[Text|Passage]]
and things like:(goto:)
(click-goto:)
(link-goto:)
(link-reveal-goto:)
(mouseover-goto:)
(mouseout-goto:)
Then the StoryMap graph doesn't show these as links to between the passages in the information sidebar nor with an arrow.
Makes it a bit misleading when there's still a connection between the passages. Would be nice if these could be detected and added to the StoryMap as well.
Related/similar to #76 for SugarCube I think?
The text was updated successfully, but these errors were encountered: