unfoldingWord / translationCore

Repository for the desktop application translationCore
https://www.translationcore.com
Other
36 stars 11 forks source link

Add ability to use QA server in tCore #7449

Open PhotoNomad0 opened 1 year ago

PhotoNomad0 commented 1 year ago

Story Explanation

User Story

As a [type of user], I want [some goal] so that [some reason].

Features / Specifications

Definition of Done

Additional Context

Mockups

PhotoNomad0 commented 1 year ago

Notes:

In GWE here are the paths:

export const BASE_URL = 'https://git.door43.org'
export const QA_BASE_URL = 'https://qa.door43.org'
PhotoNomad0 commented 1 year ago

Notes:

PhotoNomad0 commented 1 year ago

@birchamp @elsylambert - We will need an easy way for user to remove downloaded QA content so that it does not impact operation of the regular tCore. Have a few options:

  1. use a different resource folder for QA (e.g. resource-QA). Will consume more disk space, but no chance of contamination of the resources in the regular app. Also add another button to bottom of resource download dialog to "Delete All QA resources" to free up disk space once they are done testing.
  2. add way of resetting resources to just the bundled resources
  3. flag qa downloaded resources in manifest so they can be removed easily. Also add another button to bottom of resource download dialog to "Delete All QA resources"

It seems that option one is the safest.

birchamp commented 1 year ago

@PhotoNomad0 it also seems like option 1 is the simplest to develop. Since this isn't intended for every user, I think the disk space issue is a good compromise.

Also I think it should be obvious in the titlebar or a UI color or something that the user is on the QA server.

elsylambert commented 1 year ago

@PhotoNomad0 Yes Option 1, it looks similar to the way we have pre-released Resources deleted. And downloads in a separate folder like we have for USFM URLs

Screenshot 2022-11-11 at 8 55 40 AM

Since we are adding a way to toggle between QA and Prod servers, Would it make sense to add the option to toggle on the user login page.

Screenshot 2022-11-11 at 8 52 07 AM Screenshot 2022-11-11 at 8 50 42 AM
PhotoNomad0 commented 1 year ago

Notes:

PhotoNomad0 commented 1 year ago

This is how we are showing we are in QA mode:

Screenshot 2022-11-15 at 6 59 19 AM
PhotoNomad0 commented 1 year ago

@elsylambert - Have a test build for you to look at: translationCore 3.4.0-QA (da05ef4)

See Notes above on how to enable QA mode.

PhotoNomad0 commented 1 year ago

USFM import not preserving alignments - looks like folder naming problem.

PhotoNomad0 commented 1 year ago

@elsylambert This is in translationCore 3.4.0-QA (https://github.com/unfoldingWord/translationCore/commit/d482d0937fc31e77fcb216e3e08d95c64a071318).

elsylambert commented 1 year ago

Looks good in translationCore 3.4.0-QA (d482d09).