Skip to content
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

Node references do not appear on blocks that contain a tag unless they are specified in a node schema property #43

Closed
1 of 2 tasks
Zyrohex opened this issue Aug 27, 2024 · 3 comments
Assignees
Labels
bug Something isn't working can reproduce in review

Comments

@Zyrohex
Copy link

Zyrohex commented Aug 27, 2024

Search first

  • I searched and no similar issues were found

What Happened?

Adding node references to a block that contains a tag does not show the block references, even though the targeted block shows the red indicator incrementing with each reference created.

Reproduce the Bug

  1. Create a tag called "#CNC"
  2. Add the Description Property
  3. Add a second property called "Related" and set it to a schema type of "Node" with multiple values checked
  4. Navigate to your journal page and create a new block - name it whatever you want but you do not need to specify any tags on the block.
  5. Open this block in the right side panel so you can keep an eye on the changes
  6. Now create a second block in your journal page -- name it whatever and then create a node reference to the previous node you created.
  7. Make note that the node reference appears in the side panel for that block
  8. Now on the second block add the tag "#CNC" and make note that the node reference now disappears from the reference section in the side panel.
  9. Add the node reference back to the second block in the "Related" property and make note that the reference now appears again in the side panel.

Expected Behavior

Node references should always be visible regardless of where they are defined on a block that contains a tag.

Screenshots

chrome_N8yzg2zqaz.mp4

Browser, Desktop or Mobile Platform Information

Logseq DB Test Version

Additional Context

No response

Are you willing to submit a PR? If you know how to fix the bug.

  • I'm willing to submit a PR (Thank you!)
@Zyrohex
Copy link
Author

Zyrohex commented Sep 2, 2024

Bit more context to this. This appears to only affect node references, page and tag references work as expected.

@tiensonqin tiensonqin self-assigned this Sep 4, 2024
@tiensonqin tiensonqin added bug Something isn't working can reproduce labels Sep 4, 2024
@tiensonqin
Copy link
Contributor

Thanks for the report! https://logseq-db-demo.pages.dev/#/ will be ready in 10m.

@Zyrohex
Copy link
Author

Zyrohex commented Sep 4, 2024

This is resolved!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working can reproduce in review
Projects
None yet
Development

No branches or pull requests

2 participants