Open mandolyte opened 1 year ago
gatewayEdit is already doing this.
@mandolyte are you saying this is done? It seems like it's written in the past tense.
@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.
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.