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

Issue: Complex JSON -> RPC -> Redux -> Ui data handling #108

Open
6 tasks
oenu opened this issue Dec 12, 2022 · 2 comments
Open
6 tasks

Issue: Complex JSON -> RPC -> Redux -> Ui data handling #108

oenu opened this issue Dec 12, 2022 · 2 comments
Assignees

Comments

@oenu
Copy link
Member

oenu commented Dec 12, 2022

Duplicating state from json -> sqlite -> redux was a massive headache that should be avoided

My proposal is using Realm to store the data in a fast and local mongoDB instance, then each audio file can have multiple 'jobs' attached to it as documents, each with collections of 'lines' from the script. These could be added from multiple streams without having to worry about attribution or FS collisions.

Realm (as a database for fast mobile development) has the ability to be queried from the render process.

Steps to implement

  • Test Realm connection
  • Design Database Schema
  • Init database
  • Hook up stdio
  • Remove redux functions
  • Migrate pages to request driven rendering
@oenu oenu mentioned this issue Dec 12, 2022
2 tasks
@oenu oenu self-assigned this Dec 12, 2022
@petersterne
Copy link
Member

How long will this take you to implement?

@petersterne
Copy link
Member

@oenu I know you looked into using Realm DB and found it wouldn't be feasible. Should we close this issue or do you still want to find another way to handle the transcription database?

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

No branches or pull requests

2 participants