Skip to content

Export media: add the result to Recents as a new project #693

Description

@maboa

Export media can only download. Offer a second destination, Add to Recents as a new project, so a clip of a selection (#689), or an edited version, becomes a project of its own in the library, ready to open, edit and export.

Why it's close: the export pipeline already builds a complete project for its output. The "project" option under Also download writes a .hyperaudio file with the rendered media, the retimed transcript and captions (buildFlattenedProjectBlob), and the editor opens .hyperaudio files into the library. This writes that project into the library instead of downloading it.

Proposal

  • Under Format and Save as, a Destination choice: Download (as now) or Add to Recents. It works for every source: Entire, Edited and Selection. For example, "save the edited version as a new project", as well as clips.
  • Add to Recents renders as usual, then creates a new project named after Save as (e.g. "My Interview-0m42s"), with the rendered media, the retimed transcript and captions, and the original's language and provenance. It appears in Recents without opening, so the current project stays open, with a notice offering to open it.
  • The new project is independent. Its media is the rendered file, so deleting the original leaves it intact.
  • Also download options (VTT, SRT, interactive transcript) don't apply to this destination and are hidden while it's chosen.
  • Media given as a URL (kind: link): rendering needs the media's bytes, which the server may refuse (CORS). If they can't be read, the dialog says so before rendering, as exports already do.

Why here and not a menu on selection: the Export button is always visible, so the feature is discoverable without selecting anything. And nothing appears on selection, which matters because double-clicking a word to correct it is constant while editing.

Activity

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions