bbc / react-transcript-editor

A React component to make correcting automated transcriptions of audio and video easier and faster. By BBC News Labs. - Work in progress
https://bbc.github.io/react-transcript-editor
Other
565 stars 164 forks source link

UI export option for various file formats #142

Open pietrop opened 5 years ago

pietrop commented 5 years ago

Is your feature request related to a problem? Please describe.

At the moment the parent app needs to use the TranscriptEditor interface to implement export functionality such as text file, word document (https://github.com/bbc/react-transcript-editor/pull/125) etc... (see demo app as example) or the user needs to select text in the TimedTextEditor and copy and paste elsewhere.

Describe the solution you'd like

I still think the app interface needs to expose this functionality to the parent component, for flexibility of integration.

However it be good if the user could also export some file formats from the exporters adapters directly from the component. eg text, word but not draftJs json etc..

And there could be a number of modular ways to achieve this.

Describe alternatives you've considered

Keeping it as it is.

Additional context

Currently UI/UX looks likes this

Transcript Editor v 0 4 1 copy 2

Could add a download/export icon next to the settings and keyboard shortcut one

Transcript Editor v 0 4 1 copy (Alternate 392d)

and a modal (?) to give some options around file type to export as well as some preferences around presence of time-codes and speaker labels

Transcript Editor v 0 4 1 (Alternate 392d)

pietrop commented 5 years ago

addressed as first pass in PR https://github.com/bbc/react-transcript-editor/pull/175 in https://github.com/bbc/react-transcript-editor/pull/175/commits/a176e54f852864651106b252c14cc5faf41d6377

Screen Shot 2019-08-13 at 18 55 26

see current demo

could be more sleek, but closing this as implemented as first pass, can be re-opened if it gets revisited.