Giter VIP home page Giter VIP logo

lostpaul / obsidian-folder-notes Goto Github PK

View Code? Open in Web Editor NEW
316.0 316.0 15.0 2.68 MB

Create notes within folders that can be accessed without collapsing the folder, similar to the functionality offered in Notion.

Home Page: https://lostpaul.github.io/obsidian-folder-notes/

License: GNU Affero General Public License v3.0

JavaScript 0.62% TypeScript 97.21% CSS 2.17%
obsidian obsidian-md obsidian-plugin

obsidian-folder-notes's People

Contributors

cdloh avatar github-actions[bot] avatar lostpaul avatar mara-li avatar milan-tom avatar ryotaushio avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

obsidian-folder-notes's Issues

Outline tab collapse-icon position is being changed in Obsidian 1.3.2

The collapse icon in the Files tab is fine, but in the Outline tab it isn't aligned.

ng

Turn on restricted mode and close/open that vault. The icons are in the correct position.

ok

It seems to be this 4px here in styles.css is affecting the Outline tab instead of only the Files list.

.fn-whitespace-stop-collapsing .collapse-icon {
    margin-top: 4px;
}

Thanks!

SYSTEM INFO:
	Obsidian version: v1.3.2
	Installer version: v1.2.8
	Operating system: Windows 10 Pro 10.0.22621
	Login status: logged in
	Catalyst license: supporter
	Insider build toggle: on
	Live preview: on
	Legacy editor: off
	Base theme: light
	Community theme: none
	Snippets enabled: 0
	Restricted mode: off
	Plugins installed: 1
	Plugins enabled: 1
		1: Folder notes v1.2.2

issues if using file tree alternative plugin

I use the file tree alternative plugin instead of the built in file manager. It is pretty popular and have 110K+ downloads according to obsidian. I know you support the built in capability but it would be helpful to also support this plugin. When I use this plugin a bunch of stuff doesn't work/breaks. The plugin does have its own folder note capability but it did work with other folder notes. I have turned off its folder note capability. But even when I turn on doesn't work.

Recursive Excluded Folder

First, wonderful plugin, definitely more feature complete and actively being developed, than some other of the many folder note plugins out there!

But I am not sure whether I understand the feature to exclude folders fully, or maybe I am missing something. So my question is hopefully quite straightforward:

How do I exclude a folder and all its subfolders?

I tried just adding /* to a folder, but doesn't seem to work. The new regex feature just now doesn't seem to achieve that either, right?

Thanks in advance

Error creating folder overview

Love using this plugin. Good work. Currently I've been encountering an issue while creating folder overviews in folder notes. Obsidian keeps showing me an error message: "Error creating folder overview (folder notes plugin) - check console for more details." Even though the folder overview is successfully rendered in the note, I still receive this error message every time I open the note.

Also, when folder overviews can't rendered after folder note file created, I try to delete these lines: ' showEmptyFolders: true
onlyIncludeSubfolders: false' then overviews shows (but error message still there😳)

Here's screen recording:
https://github.com/LostPaul/obsidian-folder-notes/assets/873649/a47e3dcf-d1ee-40e6-856b-3cffd654fc72

Feature Request: Canvas file as folder note

Hey there! Many thanks for the plugin and keeping it up to date.

I'd love to be able to use a canvas file as the folder note for a folder. That is, just like how in a Folder, a file called Folder.md is treated as the note for that folder, I'm hoping a Folder.canvas file would be treated in a similar manner.

My use case is that I have a folder of media files, and a canvas for layout out those media files. Right now, to get to the canvas, I need to expand the folder and click on the canvas. I'd like to be able to just click on the folder and see the canvas instead.

Update internal-links when folder name changes

My folder structure is this:
/folder/folder.md
/folder/file1.md
/folder/file2.md

file1.md and file2.md have a fileClass property with a wikilink to [[/folder/folder.md]]

If I change /folder/folder.md name it changes succesfully, then appears the error "ENOENT: no such file or directory open" and file1.md and file2.md don't update the wikilink


Obsidian v1.4.5

[FR] - Suggestions for the folder overview

I love the new addition! I would ask for two things:

  1. Can we have the title as [Folder name] Overview?
  2. I was using upto now the Zoottelkeeper plug-in, but this one seems much more clean! However, with yout plugin links will not appear in the graph view. You know if we can change that?

Thanks for the great work!

the new blank note with the same name overwrites the existing note.

When I right-click on an existing Note and use the "Create Folder Note" command, the newly created blank note overwrites the existing note.
Previously, the same would have happened.
When I open the "Note Folder Autorename" "Folder notes" plugin at the same time, for a particular existing Note, even if I execute "Make-This-Note-A-folder-note"(belonging to the "Note Folder Autorename"), "Folder Notes" also takes precedence over the "Create-Folder-Note" action, creating a blank "Note" with the same name.

Also, the new blank note overwrites the existing note. Therefore, I closed folderNotes.

Graph nodes bug

After Obsidian released v1.4.0, when I enable the plugin, the graphs don't show any nodes

suggestion of having the option of canvas or markdown at creation

I noticed in settings, there is a possibility to choose to have the note to be either canvas or markdown.
Is there a technical reason for this?
If not, it would be helpful to be able to choose either canvas or markdown with each new created folder note as
an option in dropdown submenu. Right after option of "create folder note" could be "create folder canvas"

[Issue] Folder Overview - Explorer Mode Not Collapsible & Detecting Additional File Extensions

Hello!

Love your folder note plugin. It definitely overcomes some of the limitations of earlier folder note plugins.

First, I'm noticing that Folder Overviews, when set to Explorer format, seem not to be collapsible. Is this supposed to be the case? I ask only because one of the options in "Folder overview settings" is "Store collapsed condition." That suggests to me that there should be some collapse/expand ability in the Explorer-style folder overview. Is that right?

Second, I notice that in the plugin settings, I can add additional file extensions beyond the Obsidian defaults of canvas/markdown/pdf. However, I'm not seeing files with the additional extensions (e.g. docx) appearing in the Explorer-style Folder Overview. Am I doing something wrong?

On the relevant folder overview, I've modified the "include type" settings to "include all file types." Is there something else that needs to be tweaked?

Thanks for your help, and for making this excellent plugin!

Dragging Folder Note to Bookmarks view links Folder not Note

If you drag a folder note to the bookmarks view, it creates a link to the folder, not the folder note.

It could be that linking folders in the bookmarks view has some use, but when "folder notes" are enabled, it would be more useful to put a link to the folder note into the bookmarks bar than just the folder.

version 1.5.9 not loading

I am having a problem loading the latest version.
In the Obsidian 'Community plugins' modal I click 'update', I get a 'successfully installed plugin' notification, but the installed version still shows as '1'5.8', and the 'update' button remains

[FR]: Folder note name

Hi! I tried all the "folder note" plugins and this is by far the best, it's just missing the option to be able to "customize" the created filename:

  • To be either a fixed name, like name "Index" all your files
  • To use a prefix, like for example "Index of: ${filename}"

I'd be open to implement it and send a PR your way. Thx for the great work!

not excluding a folder pattern

i have entered _attachments" as my exclude pattern as per this:

image

but when I create a folder note for a folder with an _attachments sub folder I get this:

image

here is the source view of the folder note

image

[FR] Support for Excalidraw

Hello! First and foremost, I'd like to congratulate you on the plugin – I'm a big fan.

I've been experimenting with the canvas feature for the past few months. While it's good, I feel there's room for enhancement. Have you considered integrating Excalidraw drawings? It's a widely-recognized tool, and in my opinion, it offers a more dynamic experience compared to the existing canvases.

Command: create folder note with a new folder note for the active note in the current folder error

Hi. First of all thank you so much for this great plugin!

When I use the command for "Folder notes: create folder note with a new folder note for the active note in the current folder" it does what it's supposed to do just fine except that the file type gets added to the file name without a period to show that its a file type. Resulting in the folder note note working properly because it is renamed as "foldernotenamemd" instead of "foldernotename.md".
Screenshot 2023-11-02 235253

Sure it's an easy fix if I just manually add a period in front of "md", but still would appreciate it a lot if it just worked.

Not working on MacOS

Plugin is not working on macOS and iOS.
After right click on folder -> Create Folder Note nothing happen...

Canvas turned into Folder Note doesn't show as a canvas when reopened

Hello, this is a very useful plugin that suits my needs very well. However, there seems to be a bug: when turning a canvas note into the folder note, everything seems to initially work, but whenever the note is reloaded, it's viewed as a normal text note instead of a canvas note. Would this be a hard bug to fix?

allow collapsing of folder contents display

The generated folder note doesn't allow the displayed folders in the folder note to be collapsed. so if I have 5 folders and each 50 notes, the display is hard to work with. can you generate markdown headers to allow the various folders to be collapsed/expanded. Also an option in the ```folder-overview settings have an option to show folders collapsed other than the top level. If I have folder X and 3 subfolders, A,B,C I would get the following collapsed:

note1
note2
..
note-n
A
B
C

Folder notes plugin breaks multi-selection of folders

I want to report an issue when the plugin is enabled. Before the plugin was enabled, I was able to use Alt key to select multiple folders in File Explorer pane and perform further actions to them. It's no longer possible when the plugin is enabled. Can this function be restored while the plugin is still enabled? Thx

Broken Links when renaming folder notes

When having the settings "General -> Sync folder name" is activated (default), then renaming a folder or its note will break all links to that note.

It looks like a race condition, where both - the folder and the note - were renamed too quickly, such that Obsidian has no time to update the links to the note, while the folder name changes at the same time.

Collapse indicator doesn't vanish after deleting a file

I am transitioning from cherrytree to obsidian.
In obsidian I would use just folders(no notes). Can you add a feature so that empty folders(as in no child elements) does not have an .nav-folder-collapse-indicator ?

And there is a issue when creating folder notes(I have 'create folder notes by default on'). When creating new folder there is 50/50 chance that the focus is not on folder name(so I can rename it) but on folder note.
( clicking 'New folder' at the top of file explorer, or right click on a folder and click on 'New folder')

Alternate Flow

Right now we have folders, and notes. I don't know how far a plugin can go, but imagine this.

Idea:
There is no concept of folders in the UI, just parent notes, and child notes. An item without a sub-item has no expand arrow. An item with a sub-item has an expand arrow.

Implementation:
You can drag anything onto a regular note, to turn it into a folder, with that item inside.
Taking everything out of a folder, converts it back into a note.
The UI no longer has a make folder option.
If you need a folder, you can make a placeholder note, and use it to turn another note into a folder.

This turn it into a folder concept applies to anything, not necessarily a note.

items list isn't updating dynamically

I had a folder note open and a note that is listed in the folder note open in another tab. I deleted the note but the folder note didn't update its contents display. I would have expected that to happen. Closing and opening the folder note and the contents are updated

Create folder note from note

Hey, I think it would be useful to convert an existing note into a folder note. Possibly automatically while refactoring a selection into a note (so you'd have a note, select a word you want to turn into a "sub-note" and the existing note would be turned into a folder-note with the new note in the folder).

If you think this is useful and not already implemented by a plugin I've missed, I can look into trying to implement it myself.

"Turn into folder note" and more.

  1. Prompt function:

A is a folder containing two notes "B.md" and "A.md".

"b.md" is a general note and "A.md "is a "FolderNote".

Use "Turn into folder note" on "b.md" , so that the existing A folder and "A.md" are modified equally.

But I don't want to change the original folders A and A.md.

I need it to tell me that "A.md exists" or "A Folder has have the note A.md", to give me a chance to quit.

  1. The function of converting existing general notes into FolderNote.

Take the existing note "b.md" and create folder b, move "b.md" into folder b.

Many notes are generated directly in a folder, I need to manually change to "FolderNote".

I want to implement a folder that contains only one note.

Prefer to integrate "xpgo →folder-note" and "Note folder autorenamer".

Purpose of "exclude" feature?

Can you please explain the purpose of the "exclude" feature? When I added a folder to the excluded list, it appears to still behave exactly like the other un-excluded folders. Also, it looks like the wrong video may be included in the readme on this topic (and the word "excluded" is misspelled).

Documentation of Settings?

I don't normally create issues for questions. Apologies but I didn't see a better way to contact the developer.

I've had this plugin installed for a while. But there seems to be no documentation or explanation of all the Settings. Especially the "Folder Overview" behind the "Manage" button. Can that be explained, please? Thanks.

Option to convert normal note to folder note when file attachments are added

This plugin is exactly was I was looking for, this is wonderful, thank you!

It would be great to set the option for the plugin to automatically convert a normal note (not yet a folder note) to a folder note as soon as file attachments are added to the note.

However, this needs to be compatible with Obsidian's Default location for new attachments-setting.
I currently have set this to In subfolder under current folder (called assets), and I would expect the behavior that the file attachment gets saved into the folder note folder in a subfolder called assets (and not into a folder assets on the same level as the folder note).
In other words, the plugin would need to convert the note to a folder note before Obsidian moves the file attachment to the specified location.

Folder Overview depth 1

The new folder overview seems great (even though a bit hidden) :)
Just one thing, and maybe I don't understand the options yet: A depth of 1 doesn't seem. to render anything:
Screenshot 2023-07-09 at 21 39 30
I can only set it to two to get two levels deep overview:
Screenshot 2023-07-09 at 21 39 14
But I wan't the same as the other plugin above.
Thanks

community plugin

Hello!
Are you planing to add it to the community plugins in Obsidian to make install and update process easier?

last of a simple example plus issue with include types

LOVE including the folder contents display. 2 things:

  • there should be a note in the README that to use the folder overview you use '''folder-overview There was nothing about this and the video on discord doesn't show the tag.

  • when I click the </> to get option and then go to the include types I see folder and markdown but the list also shows a pdf file I have. that is good for me, but since the list doesn't have pdf it is confusing. also, when I click the + at the end of the line to add a folder type I get a dropdown with canvas and a +. when I click the + nothing happens. Am I supposed to be able to add filetypes?

template not being applied

From a folder-note i click a heading for a folder and a new folder note is created. However the template I specified in settings isn't applied. I get an empty note. The name of the template in the settings is correct. This is the content of the template:

image

If I then use the templater command to insert the template all looks good.

Command to detach note from folder [FR]

Right now there doesn't seem to be a command to detach a note from a folder. This is especially convenient if you (a) have the folder note hidden, or (b) want to keep the note in the same folder, but not as a folder note.

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.