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

Show backlinks in a post #50

Open
zgq354 opened this issue May 25, 2023 · 1 comment
Open

Show backlinks in a post #50

zgq354 opened this issue May 25, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@zgq354
Copy link
Member

zgq354 commented May 25, 2023

Like Notion's backlinks feature
image

@zgq354 zgq354 added the enhancement New feature or request label May 25, 2023
@hsxfjames
Copy link
Contributor

hsxfjames commented May 25, 2023

Interesting! But we should also consider the UI and interaction. Here are some points:

  • Thread backlinks: show the total number of backlinks to each post in the current thread. Maybe there should be a setting to decide whether to show it or not.
  • Post backlinks: show the total number of backlinks to the current post. Same style and similar setting as above.

Both UI can be similar to the Notion's backlinks example, that they are elements placed in the post header (or like the replies placed in the post footer, e.g. "xxx, yyy, and more referred to this") and can be triggered by hovering to show the tooltip with their backlink list.

And also:

  • Forward links: a low priority option, but may be useful in some cases where a post has many links to other posts or threads. Similar UI, interaction and settings to backlinks.
  • Short links: should it support mentioning a thread or post by id like Github's autolinked references?
  • Autolinks: how to automatically parse the links in a newly published post? A quick thought is to test the domain name and url format, and this behaviour is better to be configurable. And also how to update the ones already published? This is essential and necessary, as the author can add new links by editing the post.
  • Link tags: the link elements within a post. Should the links also be hoverable to show the info or summary of the referenced post (like Github's autolinked references)? How can they be distinguished from normal links?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants