Giter Club home page Giter Club logo

content-validation-app's People

Contributors

mandolyte avatar photonomad0 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

content-validation-app's Issues

Trigger to refresh prefetched repo data

As of this writing, the trigger is when app first starts or on a page refresh. This means that once a session begins, the data is fixed, unchanging.

It may be desirable to clear the cache and fetch fresh data each time the user returns to the first step where org and lang is selected.

Add radio button group for choosing a 3x3 language

Allow the user to choose the target language for the validator using a radio button group.

The languages/orgs are:
Russian (RU)/ru_gl
Hindi (HI)/translationCore-Create-BCS
Kannada (KN)/translationCore-Create-BCS
Latin-American Spanish (ES-419)/Es-419_gl

Infinite Spinner Problem

If you quickly click next on first step, the repo validation step is rendered before having data; it then shows the spinner, but when data arrives it does not update, so the spinner stays.

Workaround: click back, then next again.

No version number available

When discussing CV results with others, it would be nice to confirm that we're using the same software. This app displays no version number, nor could I find one in Help / About or anywhere similar.

Secondly, since the guts of this app is the uw-content-validation package, it would actually be very helpful to display the version of this as well, as we discuss what bugs in the checks may or may not have been fixed.

I expect the need for these version numbers to multiply once we also start having GL users (as well as our own BP editors).

EPIC: Handle 3x3 GLs

  • 1st iteration: Validate English content
  • 2nd iteration: Add 3x3 GLs (Hindi, Kannada, ES-419, Russian)
    Allow the 4 GLs in the 3x3 strategy to use the validator on their own repos.

Ideas for further performance improvements

Just so we don't lose track of ideas we might try to improve performance. I found that prefetching all the org/lang repos actually decreased performance slightly. Not enough to undo the prefetching, but enough to wonder what might be going on to slow things down.

  • Use a different library for zip reading that performs better (do not know if any are optimized for reading, but this seems to be a slow part of the app)
  • Process all repos for a given book concurrently; for example using PromiseAll. Currently repos are processed in series.
  • Ensure that the new unzipped-store is always checked first (since it is new, perhaps something was missed?)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.