Giter Site home page Giter Site logo

Comments (8)

nothingislost avatar nothingislost commented on July 21, 2024 7

Whatever we use, we'd just want to be careful not to use anything that might conflict with user added frontmatter keys. I could see users possibly already using document-type.

view-type
view-type-tag
view-type-extension
document-type-tag
document-type-extension
registered-view-type
registered-document-type
custom-view
custom-view-type

🤷‍♂️ this is the hard part so if someone could just pick one, I'll do the rest :)

from obsidian-kanban.

mgmeyers avatar mgmeyers commented on July 21, 2024 1

Yeah, good point. file-explorer-type seems pretty unique and possibly more understandable to users. What do you think of that?

from obsidian-kanban.

mgmeyers avatar mgmeyers commented on July 21, 2024

This would be great. I'm not sure exactly how it would be accomplished, since we only know the files are kanbans from to the frontmatter key. Worth investigating, though.

from obsidian-kanban.

jokysatria avatar jokysatria commented on July 21, 2024

I think it's better for a different plugin. So that functionality can be used for giving any kind label to a note.

from obsidian-kanban.

mgmeyers avatar mgmeyers commented on July 21, 2024

That's a great idea @jokysatria. I'm sure a lot of folks would appreciate such a plugin.

from obsidian-kanban.

nothingislost avatar nothingislost commented on July 21, 2024

I could probably do this by patching the File Explorer's ItemDom.updateTitle() method but if we're going to go down this path, we should probably use a more standard frontmatter key. Maybe something like view-type: kanban? Or maybe view-type-tag? Whatever the value is would be what I added to the tag.

Are there any other plugins doing this sort of conditional view loading based on frontmatter values?

edit: Looks like Excalidraw also does this

image
image

from obsidian-kanban.

mgmeyers avatar mgmeyers commented on July 21, 2024

Yeah, not sure how many other plugins do this, but I'd be happy to output a more standard frontmatter key. I imagine everyday users would appreciate this, as well. What if the key was something like document-type: whatever?

from obsidian-kanban.

nothingislost avatar nothingislost commented on July 21, 2024

file-explorer-type works for me

from obsidian-kanban.

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.