Giter Site home page Giter Site logo

charleshtrenholm / kbase-ui-plugin-samples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kbase/kbase-ui-plugin-samples

0.0 1.0 0.0 287.71 MB

A kbase-ui plugin for viewing samples

License: MIT License

JavaScript 1.73% HTML 0.82% CSS 2.99% TypeScript 91.43% Shell 0.16% Less 1.70% Ruby 1.16%

kbase-ui-plugin-samples's Introduction

samples KBase UI Plugin

A kbase-ui plugin providing a viewer for samples

Similar to other viewer plugins (dataview, typeview), this plugin provides a ui endpoint for viewing and exploring samples.

Usage

As a kbase-ui plugin, the sample landing page is invoked with a base of https://ENV.kbase.us, where ENV is the deployment environment such as narrative for production, and a path formed by the url fragment, commonly know as the _ hash_ due to the usage of the # character to prefix it, the base of which is #samples

Install

This plugin is a dependency of kbase-ui.

Background

This plugin exists to provide an endpoint for inspecting a taxonomic reference.

API

General URL

The general form is:

https://ENV.kbase.us#samples/view/ID[/VERSION]

where:

  • ENV is the KBase deployment environment, narrative, next, ci, and others.
    • samples is the dispatch name for the samples plugin
  • view indicates we want the sample viewer
  • ID is the sample id; the sample id is generated by KBase when the sample is imported into the system
  • VERSION is an optional version; it is an integer. When a sample is updated, it is assigned a new version. Omitting the version references the most recent version.

URL Examples

The sample landing page is meant to be linked to from other apps which expose the sample for viewing.

Some Sample

https://ci.kbase.us#samples#samples/view/bfe37f5b-2e3d-4d2c-84f4-7698fecb5352/1

Developing

The samples plugin is a standard create-react-app standalone web app, wrapped in components which allow integration into kbase-ui as a plugin.

The kbase-ui integration provides configuration and authentication.

When developing locally, this wrapper provides a development copy of the kbase-ui configuration, and a ui for adding a KBase authentication token.

References

License

SEE LICENSE IN LICENSE.md

kbase-ui-plugin-samples's People

Contributors

eapearson avatar

Watchers

James Cloos avatar

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.