Coder Social home page Coder Social logo

ui's Introduction

Packages

Adding new packages

To add a new package, run

yarn add packageName

Adding devDependency

yarn add packageName --dev

Updating a package

First, run the command:

yarn outdated

... to determine which packages may need upgrading.

We really should not upgrade all packages at once, but, one at a time and make darn sure to test.

To upgrade a single package named packageName:

yarn upgrade packageName

Testing

Tests can be run via command line with yarn test, from within the /ui directory. For more detailed reporting, use yarn test -- --reporters=verbose.

Cypress Testing

e2e tests: For the end to end tests to run properly, the server needs to be running in the e2e testing mode with the in-memory data store. From the influxdb directory: $ ./bin/darwin/influxd --assets-path=ui/build --e2e-testing --store=memory

monitor-ci From the ui directory. Build the javascript with $ yarn start To run Cypress locally with monitor-ci: $ yarn cy:dev

k8s-idpe From the ui directory. Build the javascript with $ yarn start:kind To run Cypress locally with k8s-idpe: $ yarn test:e2e:kind

Starting Dev Server

Running /ui locally depends on monitor-ci or k8s-idpe.

Zuora Form

Troubleshooting: If your Zuora form isn't rendering or calling your callback function which you passed in client.render. When running UI locally using Monitor CI, get Zuora PageID which you are using to render the form. Then, from Zuora admin console, get the Host and Port that PageID is corresponding to. Make sure to match those Host and Port with your INGRESS_HOST and PORT_HTTPS provided in the .env file of monitor-ci.

ui's People

Contributors

121watts avatar alexpaxton avatar aliriegray avatar asalem1 avatar bthesorceror avatar chitlangesahas avatar chnn avatar cryptoquick avatar desa avatar drdelambre avatar ebb-tide avatar goller avatar hoorayimhelping avatar imogenkinsman avatar ischolten avatar jaredscheib avatar jsternberg avatar leodido avatar lukevmorris avatar mavarius avatar nathanielc avatar nhaugo avatar ofthedelmer avatar palakp41 avatar russorat avatar shmuellotman avatar subirjolly avatar tcl735 avatar timraymond avatar zoesteinkamp avatar

Watchers

 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.