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

Timed text editor fixes #221

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Timed text editor fixes #221

wants to merge 6 commits into from

Conversation

jamesdools
Copy link
Contributor

Is your Pull Request request related to another issue in this repository ?

#150 (comment)

Describe what the PR does

  • Stops the re-alignment from running during the JSON save. This caused every WrapperBlock to be created again from scratch.
  • Rewrote / refactored various methods
  • Pulled complex draft logic into utils
  • Fixed some prop types etc.

State whether the PR is ready for review or whether it needs extra work

Worth a review now. It's difficult to measure the performance. But plan to also optimise the TranscriptEditor component and it's settings / high level state to stop those rendering also.

Additional context

For testing performance with long media, best to review via:

npm run build:storybook
npm run build:storybook:serve

This is because npm start will use the development build of React, which is a lot slower, and not a correct comparison if testing with what's on the GH pages.

@jamesdools jamesdools mentioned this pull request Jan 24, 2020
@emettely emettely self-requested a review May 22, 2020 08:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant