latitude-dev / latitude-llm

Work in progress
28 stars 3 forks source link

Move files from one folder to another in Sidebar #96

Open andresgutgon opened 1 month ago

andresgutgon commented 1 month ago

What?

We have to allow users to reorganize files. The same as with renaming files we need to take into account that moving a file or renaming it will possibly break others prompts that are referencing the moved file.

TODO

samulatitude commented 1 month ago

I'd try to reduce the scope here, if the modal showing a warning is much easier, I'd go with that.

Anyway, an idea for the autoupdate is that if we don't use the full path, just the name, we could search for that file at any level by default. The problem would be two files with the same name, but I'm not sure if that would be a common case 🤔 (probably will cause us problems xD)

andresgutgon commented 1 month ago

probably will cause us problems

Yes, if we do this we have to do it perfectly right. Otherwise better do nothing and show the warning