Coder Social home page Coder Social logo

Comments (7)

hauselin avatar hauselin commented on July 1, 2024

That's not possible right not. I'll consider implementing it in a future release.

from obsidian-alfred.

kenanmike avatar kenanmike commented on July 1, 2024

from obsidian-alfred.

sanchitsharma avatar sanchitsharma commented on July 1, 2024

Hey @hauselin, can I try working on this? I would like to add some other features too, like option add a note directly via alfred. But this seems a good starting point.

from obsidian-alfred.

hauselin avatar hauselin commented on July 1, 2024

Hey @sanchitsharma, yes, go ahead and take a stab at it! Thanks!

from obsidian-alfred.

sanchitsharma avatar sanchitsharma commented on July 1, 2024

Thanks!!. Will do.

from obsidian-alfred.

sanchitsharma avatar sanchitsharma commented on July 1, 2024

@hauselin I looked at the workflow in detail, and I think the best way to provide this functionality would be the following.
introduce two new variables - defaultVaultPath and defaultVaultName
add a new input "oadddefaultvault" to change/add the default vault name and path.
on addition of first new vault, it is automatically made the default vault as well (it can be changed via above input anytime later)
current "on" keyword is remapped to "onv" (v=vault)
"on" is now used to add directly to add to the default vault [Vault name shown in title by showing "Creating {query} in {defaultVaultName}]"

I have done a basic testing of above flow. Please let me know your thoughts.

from obsidian-alfred.

sanchitsharma avatar sanchitsharma commented on July 1, 2024

@hauselin I looked at the workflow in detail, and I think the best way to provide this functionality would be the following.
introduce two new variables - defaultVaultPath and defaultVaultName
add a new input "oadddefaultvault" to change/add the default vault name and path.
on addition of first new vault, it is automatically made the default vault as well (it can be changed via above input anytime later)
current "on" keyword is remapped to "onv" (v=vault)
"on" is now used to add directly to add to the default vault [Vault name shown in title by showing "Creating {query} in {defaultVaultName}]"

I have done a basic testing of above flow. Please let me know your thoughts.

I am basing above thought on the philosophy that many users will like to have a default vault at least even if they they don't just have a single vault. Users with single vault will directly be able to use the functionality without any configuration. Also we can use the default vault config to add other default functionalities as well, example search etc.

from obsidian-alfred.

Related Issues (20)

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.