unfoldingWord / gateway-translate

A tool for editing and translating text in USFM markup
MIT License
2 stars 3 forks source link

Use QA DCS by default and bundle size reduction #179

Open mandolyte opened 1 year ago

mandolyte commented 1 year ago

This issue covers two things:

First, if server parameter is specified, use it. Otherwise, if URL contains localhost, develop, or deploy-preview, then use QA DCS by default.

Second, changed all mui imports so that they import just the item needed. This should reduce bundle size and help memory and performance.

birchamp commented 9 months ago

gatewayEdit is already doing this.

birchamp commented 9 months ago

@mandolyte are you saying this is done? It seems like it's written in the past tense.

mandolyte commented 9 months ago

@birchamp The PR still needs to be reviewed: https://github.com/unfoldingWord/gateway-translate/pull/180

However, the code in develop branch has most of the changes for the QA default cases (local and when server parameter points to QA). Only some console logging is missing.

The code in the PR also has the other set of MUI changes. They still need to be merged.

The PR indicates there are some conflicts. I suppose others have made changes since I did this.