Giter Club home page Giter Club logo

Comments (2)

birchamp avatar birchamp commented on July 25, 2024

@jincypjose has done work on the UI and plans to use the DCS React hooks to get the orgs/ langs / resource.

from translation-helps-print-preview.

mandolyte avatar mandolyte commented on July 25, 2024

So here is current thinking on this...
An RCL which consists of two parts:

  • a hook that manages state for user navigation
  • a simple UI as a reference implementation for the hook

The Reference UI

The UI will consists of three dropdowns:

  • The first dropdown will contain a list of all orgs in DCS. This will be pre-populated at the beginning.
  • The second dropdown will contain a list of all repos in the selected org. This dropdown will be disabled until an org is selected
  • The third dropdown will consist of all branches in the selected repo. It will default to "master" (or whatever the default branch is). This dropdown will be disabled until a repo is selected.

The fourth dropdown has a couple of alternatives

Alternative A: Select by File
The fourth dropdown will be a file picker of all the files in the selected branch. For now, propose that only files in the root be considered. This works for all tsv and usfm resources, but not for TA or TW. A tree navigation feature would be needed to support going beyond the root folder.

Alternative B: Select by Book
If selected by book, some built-in intelligence is need to compute the filename based on the type of resource the repo is supposed to contain.

  • For TSV and USFM resource types, the derivation of the filename is straightforward
  • For TA, the TN is needed to identify which TA articles to include for the book
  • For TW, the TWL is needed to identify which TW articles to include for the book.

from translation-helps-print-preview.

Related Issues (9)

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.