-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Page alias not working in published subgraph #4143
Comments
Hi. Could you try 0.8.8? This is working for me on the latest version |
@MrVPlusOne Unfortunately I can't reproduce this. Hovering over the alias of a page isn't blank for me |
I'm also encountering this issue. To add more info, if all pages are marked public for export then the alias works fine. The problem occurs when not all pages are exported. For an example, see https://notes.tzcl.me/#/page/andy%20matuschak vs https://notes.tzcl.me/#/page/andy |
It appears that the published public subgraph isn't working as expected in various contexts, including page links, tag links, and aliases, as we can see here. For instance, suppose a public page [[A]] is linked to (or tagged with) a non-public page [[B]] (or #B). In that case, when we click through from [[A]] to [[B]] in the exported graph, [[B]] is rendered as a completely empty and dysfunctional page instead of showing [[A]] as one of its linked references. This makes publishing a fully "functional" public subgraph very tedious, as we need to ensure that we materialize a page file for everything that's linked, tagged, or used as an alias in a public page, then explicitly mark every such page file as public. A more robust general solution might be to treat anything non-public referenced by a public page, be it aliases, tags, or other pages, as empty pages, and then index and render them accordingly. However, I'm unsure of how much work this solution would require. |
What happened?
Hi, I noticed that alias references seem broken in the exported graph (when viewing inside a browser), as shown in the following two examples. They just resolve to an empty page.
Within the original page:
Outside references:
Reproduce the Bug
alias::
property.Expected Behavior
The alias should work like in the desktop app.
Screenshots
No response
Desktop Platform Information
Mobile Platform Information
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: