kevboh / longform

A plugin for Obsidian that helps you write and edit novels, screenplays, and other long projects.
Other
610 stars 30 forks source link

I would suggest adding an archiving f eature #210

Closed kickTiger closed 5 months ago

kickTiger commented 8 months ago

Describe the solution you'd like I would suggest adding an archiving f eature, which means changing the status of a "longform" project to "archived" when it's either completed or temporarily not being edited. Here's how it can be done:

  1. You can add a new attribute in the YAML section to avoid listing the archived projects in the longform list.
  2. You can choose to archive the main "longform" project along with its corresponding draft projects, or simply archive individual versions.
  3. In the longform plugin settings, you should also have the option to restore a project to its normal status.
  4. The advantage of this is that it allows you to archive projects that are not currently being edited, preventing them from cluttering the longform display list but still retaining their status. This makes it convenient to continue editing or modifying them when the time is right.

In a recent update of the project plugin, they introduced this feature. Archiving and restoring, I believe, could be a valuable addition to the longform plugin, especially since my longform contains numerous projects that could benefit from such an archiving function.

kevboh commented 7 months ago

I like this. I would probably simplify to just a property that's hidden in Longform if set to the archived value, and people can change that property manually themselves. Thanks for filing.

kerim commented 6 months ago

I would like to have archived projects, or the ability to simply test a compile first. I was surprised that compiling destroyed the project because I was just testing it out and wasn't done with my project...

kevboh commented 6 months ago

@kerim compiling shouldn't destroy the project....it's possible you set the compiled output to be the same name as your index file, which would overwrite it (and is not something one should do).

kerim commented 6 months ago

I see, that's probably what happened. But other steps are destructive no? For instance, if I have it set to clear out %%notes%% before processing, those will be gone, there is no way to save a version of that document that retains the notes?

kevboh commented 5 months ago

No, no steps are destructive. They only apply to the final, compiled output.

(Closing this, though we can continue talking this through!)