sillsdev / StoryProducer

Story Producer app
Other
5 stars 11 forks source link

Add a menu item for accessing templates from Google Drive #571

Closed Robin-rempel closed 2 years ago

Robin-rempel commented 3 years ago

Rationale: More people are now installing (and using) SP app online. More phones do not have SD card slots (but they have larger internal storage). Many online users will install the SP app with only a few story templates. Later, when they want to get more templates, there is no convenient way to access online templates because the link in the welcome screen is no longer available. Therefore adding a link users can access will be helpful for obtaining more templates.

To do:

  1. Add an item to the main menu "Get more templates".
  2. Order the menu items like this: Story Templates Update Registration Get more templates Word Links list Select 'SP Templates' folder Add demo to story list About
  3. Tapping "Get more templates" brings up a dialog box/ window with this text and hyperlinks: "Get More Templates More templates and other resources can be downloaded or viewed from Google Drive HERE(same link target as in Welcome) After downloading via Google Drive app, you'll need to use a Files app to Move or Copy the downloaded templates (.bloom files) to your SP Templates folder. Then restart Story Producer app."
  4. Tapping the link should start the Google Drive app, looking at Story Producer Resources public folder.
  5. After the user taps the link, or taps Cancel, or taps outside of the dialog/window, the dialog/window disappears and SP is in its previous state.

Future plan: SP v3.2 will add a feature to access BL.org to download directly to the current SP Templates folder. For that we'll want to modify this dialog/window to provide a UI to select templates in the desired language and initiate downloading.

bryanwussow commented 2 years ago

Pull Requests 619 and 620 have implemented the essential action of starting Google Drive app at the correct folder in Story Producer Resources. Great work! @DaleHensley Two further requests:

  1. (deleted by Bryan 2/23)
  2. If possible, make an attempt to implement a UI dialog/window as described in the ToDo section of this issue. Rationale: This would provide the basic instructions the user needs to succeed in getting more templates to work. If adding the dialog/window proves difficult - we could release v3.1 without it, but that adds complexity to the training necessary.