Giter Site home page Giter Site logo

obsidian-people-link's Issues

Setup Issues

I found that after installing via BRAT, I was able to turn on an configure the plugin options. When I went to a note to test it, typing at opened a menu with the options "Today, Yesterday, Later". I found that the popular "Natural Language Dates" pluggin uses @ by default to trigger a menu. I turned off that feature of it's plugin, but then found that People Link still wasn't working, @ didn't do anything. I tried to go back to the configuration page, but People Link now doesn't show a configuration page. It's in the list of plugins, shows it's turned on, has a heart and an X option, but no configuration icon. Note that I've exited Obsidian a number of times hoping to get it to open fresh and work, but no dice.

please add support for "full/canonical" links

Is your feature request related to a problem? Please describe.

I have the plugin setup and working. DataView is properly returning a list of files from my $root/contacts folder.

If i have a $root/contacts/sam.md file, I can type @ and will see sam as one of the auto-complete entries.

When I hit enter to confirm that I want @sam, I am left with [[sam]]. Since there is only one sam.md in my entire vault, the link is very short but this breaks some other personal workflow/automation/tooling in place that relies on full and canonical paths in all links.

Describe the solution you'd like

In obsidian settings, under Files & Links I have the New link format set to Absolute path in vault. If it's not possible for a plugin to observe the state of this user setting, I would like a simple control exposed on the plugin settings page to adjust the behavior to "full/explicit path" rather than the current behavior of "shortest possible".

Describe alternatives you've considered

Right now, I have a very crude script that looks for [[$someStringHere]] and - provided that there is also a contacts/someStringHere.md file - the script will adjust the link.

Additional context

Doesn't work when @ is added to a bullet

Describe the bug
When typing @ on a bullet, it doesn't display the people menu.

Environments (please complete the following information):

  • OS: MacOS
  • Obsidian v1.3.5

To Reproduce
Steps to reproduce the behavior:

  1. Add a bullet using "-" (no quotes)
  2. Then type "@" (not quotes)
  3. People list doesn't appear (but it works fine when not in a bullet)

Expected behavior
Display the list of people.

Screenshots
An example (with source view off):
image

The same example (in source view):
image

Other plugins active:
image

Add Template to "Create person if not exists"

Is your feature request related to a problem? Please describe.
I'd like to add a template to each person I'm creating.

Describe the solution you'd like
Allow setting to add from template or add to document on creation.

Describe alternatives you've considered
Manually adding the information to the page after it is created.

Additional context
My sample use case is to use dataview to add to the page all the instances where I have mentioned the individual. This snippet displays a table that shows all backlinks to the person page.

TABLE WITHOUT ID 
file.inlinks AS Mentions
WHERE 
file.name = this.file.name 

Add support for a template to create the person page

Is your feature request related to a problem? Please describe.
When creating new person/contact, the file is a 0 byte file. I would like to have an option to define a free chosable template file here, so I can fill up it later with additional information.

Describe the solution you'd like
another option field to define a template for new contacts file creation.

Describe alternatives you've considered
replacing the new 0-byte file with a suitable template file.

Additional context

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.