unfoldingWord / gateway-translate

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

Implement Book navigation #195

Open larsgson opened 1 year ago

larsgson commented 1 year ago

Of the three navigation buttons in the app bar, only chapter and verse are working.

For getting the book navigation to work, there are some conceptual adaptations needed.

Alternative 1: Will we have all Bible books loaded in the background, for instance, through making use of Proskomma succint packages?

Alternative 2: Will we keep on loading more USFM books, step by step, into the same Proskomma instance - and limit the list of books to only what has been manually added (one book at a time)

Alternative 3 Will we show all available Bible books from a certain package (where is the information available, as to what books are available?) and dynamically add new Books from USFM, whenever a user selects a new Bible book

larsgson commented 1 year ago

Update: I have found a way to make Alternative 2 work quite well, so that is now what I have implemented - and I have tried to do it in a way where it seems to be usable for now.

Preview of this mode here: https://deploy-preview-197--gateway-translate.netlify.app/

@birchamp - This will still be good to find out more from users of what the expected behaviour should be.

birchamp commented 1 year ago

gE shows what's available. IOW alternative 3.