logancyang / obsidian-copilot

THE Copilot in Obsidian
https://www.obsidiancopilot.com/
GNU Affero General Public License v3.0
3.1k stars 220 forks source link

[BUG] List all indexed files command only lists 100 files + other related #860

Open ALE-ARME opened 12 hours ago

ALE-ARME commented 12 hours ago

Copilot version: 2.7.4

(Bug report without the above will be closed)

Describe how to reproduce Have more than 100 indexed files, run the command and manually count them

Expected behavior list all the files. also there is a subfolder, whose files are shown in full path, while for the other notes only the note name appears

Screenshots nothing appears when i run the command, so it's not necessary

Additional context wouldn't it be better to print all the [[notes]] in a new file (as "Find orphaned files and broken links" plugin does) ? in this way i can mark some of them if i want to exclude them (or annotate something beside [[note]]), and i can also see how many notes i have indexed because i have the line numbers option enabled

logancyang commented 11 hours ago

Running the command does not open a modal for you? It does nothing at all? 🤔

ALE-ARME commented 11 hours ago

Running the command does not open a modal for you? It does nothing at all? 🤔

Sorry, the useless screenshot was referred to the developer console. I get a modal like the one for custom prompt and translate, but only shows 100 notes

logancyang commented 10 hours ago

@ALE-ARME Gotcha, I'm aware of this and will update in the next release. This kind of modal is not good for this purpose, it's mostly for search.

So it's important to show all and be able to scroll and copy freely. I'll update this behavior. Thanks for the suggestion!