/rollout_dashboard

Rollout-Dashboard is a beautiful user interface for rollout gem.

Primary LanguageTypeScript

Rollout-Dashboard

Rollout-Dashboard is a beautiful interactive user interface for rollout gem.

It allows you to perform CRUD operations and send them to Rollout-Service (a Grape service that expose rollout gem with RESTful endpoints).

Features:

  • Search field.
  • Table view with action buttons
  • Delete, Create, Edit actions.
  • Validations, error messages and confirm message.
  • New fields - author, author mail, history, last update and description.
  • Security:
    • You must connect via google in order to access the application.
    • You can restrict the authentication only to specific google apps domain.
    • The token gets validate on Rollout-Service

Technology stack:

  • Typescript
  • React for view layer
  • Redux for state management
  • Webpack for bundling
  • Node Express service for serving the static assets

How it works?

Rollout-Dashboard communicates with Rollout-Service via AJAX requests to perform actions on rollout gem.

On page load, we're fetching from Rollout-Service all the features (~2 seconds for ~240 features).

Preview:

a 2

FAQ

How to run it?

Start it by running npm run start:dev

What's the 'history' field?

The history field is a list of the last 50 percentage changes.

How do I restrict the google authentication to a specific domain.

This feature is already supported!

You can easily do that by editing the config file in Rollout-Service

Where do I get google auth credentials?

You can generate the credentials at google console.

You'll need to place clientId and apiKey in the configuration file config/app.js.

For development environment, add the credentials in .gauthrc file in the root folder.

I want to use Rollout-Dashboard without google auth, is it supported?

Currently this feature is not supported.

Add an issue on that and we'll refer that.