Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Component: TranscriptForm #7

Closed
3 of 17 tasks
allishultes opened this issue Aug 15, 2019 · 0 comments
Closed
3 of 17 tasks

Component: TranscriptForm #7

allishultes opened this issue Aug 15, 2019 · 0 comments
Labels
generic component A non-workspace component for the storybook

Comments

@allishultes
Copy link
Contributor

allishultes commented Aug 15, 2019

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

Describe the solution you'd like
We'd like a form that allows users to create new transcripts. Because the transcript creation process requires users to upload audio and/or video content, it requires a separate form to the paper edits and projects.

To be accepted, the component must include:

  • A text input labelled 'Transcript Title' that takes a transcript title
  • A text input labelled 'Transcript Description' that takes the transcript description
  • A file upload component that takes audio or video files (@pietrop and @emettely — any limitations on format?)
  • A Save button that submits the information in the form and generates a new transcript card based on the data.

For this issue to be marked as complete, it must:

  • Have been added to the Storybook
  • Have been published on NPM
  • Have been refactored for use in DPE client

Out of scope:

  • The modal (this is another ticket)

Received Props:

  • projectId
  • title (string)
  • description (string)
  • id
  • handleSaveForm (function)
  • handleCloseModal (function)

Example of the TranscriptForm component being called: https://github.com/bbc/digital-paper-edit-client/blob/master/src/Components/Transcripts/NewTranscriptFormModal.js

Screen Shot 2019-08-19 at 10 26 04

Describe alternatives you've considered

We have discussed whether the form for creating new paper edits and projects could be passed additional props to re-use the same component for the creation of new transcripts. This will be up to the engineer to evaluate.

Additional context

Link to code: https://github.com/bbc/digital-paper-edit-client/blob/master/src/Components/Transcripts/TranscriptForm.js

Checklist

  • Fork the repository (external contributors)
  • Create a branch with a meaningful name eg component-<component name>
  • Add automated tests*
  • Test suite passes (npm run test)
  • Code is linted (npm run lint)
  • Update documentation and QA docs - see updating the documentation*
  • re-factoring for code quality and readability
  • Setup your PR for review (start with a draft PR)
  • Demonstrated (attach link or image)

*where appropriate

@allishultes allishultes added the generic component A non-workspace component for the storybook label Aug 19, 2019
@allishultes allishultes changed the title Component: Transcript form Component: TranscriptForm Aug 19, 2019
@allishultes allishultes mentioned this issue Sep 2, 2019
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
generic component A non-workspace component for the storybook
Projects
None yet
Development

No branches or pull requests

2 participants