Closed klappy closed 6 years ago
@benjore @jag3773: After working with @richmahn on using the selected GL for the tW tool, we realized that only the UI components were created for the GL selection and this story is needed to make it usable.
@cckozie What has been updated to use the language selected from a tools Gateway language selector is as follows:
Changing the language of a tool of the open project (e.g. Hindi) and then leaving that page and going back (but NOT selecting a new project) will continue to remember the selected language in the tool card's GL selector. However, if you open a new project or close/open the app, it will NOT persist. There is another story to persist that data.
Going into tW should use that Gateway language for all the places tW helps is accessed: left sidebar, middle check info pane, right tHelps article display. This is NOT for use with the Verse Check pane as the noted word that the user is to select will come from the aligned Bible of the gateway language, not the tHelps.
So in short, this just currently just tells tW what language to display the title and body of a tW article. No Bible/Scripture implementation nor save of selected GL for a project/tool.
I am seeing 3 issues when testing this although I'm not sure if they are problems created herein or if they are data issues or problems somewhere else. In the following images note:
All of the noted issues are data issues. The only thing to be tested is whether or not the dropdown works, and that does.
The GL Selection UI was created but not the actions/reducer.
To be able to complete the GL Selection we need a reducer to hold the selected GL and actions to populate it.
Needs to update hardcoded
en
inProjectDataLoadingActions.js:29
that dynamically loads the GroupIndex aka Menu Titles from the GL.Needs to update the tW Article loading from the GL's copy of tW articles in the user resources path. Via
ResourceActions.js:134
updateen
to selected GL from new reducer.