Skip to content

Feature Request: Option to apply property to scenes based on order #244

Open
@b-camphart

Description

@b-camphart

Describe the solution you'd like
Longform defines an ordering for the scenes within a project, but this ordering is removed when longform is uninstalled. It's also not readable by other plugins. I'm wondering if there could be a toggle, possibly on a per-project basis in the longform index file, that tells longform to add/modify a property for each scene with the given index as the value. This would allow other plugins in Obsidian to read the ordering, without having to directly interface with longform.

I'd be happy to implement this, but I want to ensure it's inline with your vision @kevboh . Considering some recent issues opened around syncing, I'm not sure how you feel about longform actually modifying the scene files.

Alternative Options

  • A small, custom plugin that directly interfaces with Longform to read the index file and apply the property. Users would have to hunt for it. (though, the plugin could be listed in longform's README for easier discovery).
  • A compile step that simply applies the property. Possibly in a new workflow that is included by default, but not used unless selected. However, this would mean users would have to remember to "compile" the project every time they change the scene order if they want other plugins to detect the change. But, maybe a small modification to the way longform works could be to ask the user, after the scene order has been changed, if they want to apply it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions