Skip to content

[Feature Request] Open related content in lateral pane and/or modal #493

@m4rrc0

Description

@m4rrc0

Hey.

I have a lot of UX ideas for Sveltia that I keep for myself because I think now is not the time to be picky about click target sizes and keyboard shortcuts. 😊

But there is this one thing I really want to bring up...

Wouldn't it be awesomely cool to be able to edit related content (the one using the Relation widget) in parallel with the 'source' content?

I feel like most of the functionality needed is already there since we can edit multiple files in parallel when using multiple languages.

What I imagine is some kind of button ( like a "new tab" icon ) in the relation widget.

  • When the relation is properly configured and data is valid, the button is enabled.
  • When clicked, it opens the related data in the lateral pane or in a modal
    • When the related data is saved, the pane or modal is closed
  • We can continue editing the 'source' content

Some questions to be answered:

  • In the case we can edit both the source and the related content in parallel, what happens if we save the source content? Does it automatically save the related content as well? The most conservative behavior would probably be to pop an alert, forcing the user to save (or cancel editing) the related content first.
  • What happens if the related content has a relation widget? Can we open another lateral pane or modal on top? Is this feature limited to a certain depth?
  • ...

What do you think? Was it on your radar already?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions