Giter VIP home page Giter VIP logo

hawkular-ui-components's Introduction

Hawkular UI Components

Build Status

Hawkular UI Components is the home of UI Components that comprise the Hawkular console for Hawkular. This console is based on Hawt.io 2, which a javascript based client-side framework. The various directories underneath console directory are Hawt.io 2 plugins and the various plugins eventually compose a Hawkular console. This modular approach to creating hawtio console plugins allows us to create individual plugins that comprise a console or can easily be plugged into other Hawtio based consoles. The plugin system makes it easy to add/remove functionality (even dynamically).

Hawkular UI Architecture

Bower Component

This git repository is published as bower component and consumed by the Hawkular Console. Assets such as html/css/images/javascript can be published.

Directory Structure

dist - directory for artifacts that need to published via bower package.

plugins - directory containing Hawt.io 2 plugins for Hawkular console. Multiple plugins can be packaged into a single bower component by adding the artefacts to the 'main' section of the bower.json file.

The general idea here being that Hawt.io UIs which are composed of plugins (that can swapped around like legos between the various other Hawt.io UIs)

Dev Install

Dev Installs allow for live previewing changes as development occurs. Its an interactive environment that allows one to prototype quickly, seeing their changes instantly when they save since the browser refreshes with the changes.

Assuming node.js/npm is already installed:

sudo npm install -g bower gulp typescript
cd into the appropriate plugin directory `cd plugins/metrics`
npm install
bower install
gulp
In web browser: Navigate to http://localhost:2772/

For further detail the Hawt.io plugin structure is described here.

Publish Builds

The publish builds process make content available to the consumer of the bower package (muliple consumers can be using this package).

cd into the appropriate plugin directory cd plugins/metrics

gulp build

This will build the assets into the hawkular-ui-components/dist directory. The artefacts are now ready for publishing via bower.

Note: if you are adding new assets make sure they get added to the main section of the ../bower.json file.

And from root of this git repo:

git ci -m "Checkin new artefacts"
bower version [patch|release]

which bumps the version and tags it.

git push && git push --tags

This pushes and publishes the hawkular-ui-components bower component so it can be used in the Hawkular UI hawkular-console or any other Hawt.io 2 console.

hawkular-ui-components's People

Contributors

mtho11 avatar jkremser avatar ammendonca avatar pilhuhn avatar theute avatar

Watchers

Matthew Wringe avatar James Cloos avatar  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.