Skip to content

Split PreviewModal by type #489

Open

Description

@Bohreromir

storage/modals/PreviewModal.svelte has about 1000 lines and handles every preview type, archive navigation, editing and saving in one component.

  • Move each preview type's loading and state into its own component next to the existing renderers in modals/preview/.
  • Keep PreviewModal as a thin wrapper: modal, header, navigation, choosing the preview component.
  • No behaviour change; the existing E2E tests must pass unchanged.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions