Clear-Bible / ClearDashboard

The ClearDashboard project
Other
1 stars 2 forks source link

Ensure that Dashboard doesn't throw errors when offline #818

Open GeoDirk opened 1 year ago

GeoDirk commented 1 year ago

Description:

Dashboard is required to function in both online and offline states. In the offline state, the features that depend on being online will not be functional but without errors. We need to provide test coverage for this requirement.

Currently, there are no features that queue data during the offline state and then batch-process sending these data after re-connecting.

Acceptance Criteria:

  1. Create a list of specific features that depend on being online
  2. Provide test coverage for each

Online Dependant Functional Areas:

  1. Setup/Registration
  2. Collaboration
  3. Update notifications
  4. User messages/emails to Biblica
  5. User suggestions (Jira tickets)
  6. Azure Analytics

Test Cases:

bpetri5 commented 11 months ago

I ran some tests while offline and did not see any errors

romanpoz commented 10 months ago

Test Passed - in 1.2.0.18

GeoDirk commented 9 months ago

Allow Dashboard to be started and run (for the most part) without requiring Paratext to also run. This will eliminate the following things:

Importing new Paratext projects for tokenization
New project wizard
PINS panel (Term Search)
Biblical Terms Panel
Text Collections

However, all the Collaboration and actual running of the Enhanced Views should run normally.

bpetri5 commented 9 months ago

While offline and Paratext closed, I am able to do the following with what appear to be no issues: Open a project completely Change CD language Interlinear and Alignment text came up PINS panel, Marble, Biblical Terms, Text Collection, all loaded, but you can't search for anything. Collaboration options are not selectable User can change verses Make notes User is able to Parallelize Corpora (should this work??) Add Alignment and Interlinear Views (New and Old) Set gloss Create new labels, new groups and more

Potential issues Tokenized texts did not show up Image

I was able to open project wizard and new project windows from File dropdown Image

Corpus Right click options are all available including the ones to get something from Paratext, nothing happens when clicked, but bad user experience Image

robertsonbrinker commented 9 months ago

I agree that the tokenized text should show up and that the menu items should be either removed or disabled when paratext is disconnected. I think the File Menu dropdown is fine though.

bpetri5 commented 7 months ago

I need to break this up into more tickets