Code Monkey home page Code Monkey logo

patchman-ui's Introduction

Build Status semantic-release GitHub release codecov Commitizen friendly

Patchman UI

Patch is one of the applications for console.redhat.com. It allows users to display and manage available patches for their registered systems. This repository containes source code for the frontend part of the application which uses the REST API available from Patchman Engine.

First time setup

  1. Make sure you have Node.js version >= 18 installed
  2. Run script to patch your /etc/hosts
  3. Make sure you are using Red Hat proxy if working against the stage environment.

Running locally

  1. Make sure you are connected to the Red Hat VPN
  2. Install dependencies with npm install
  3. Run development server with npm run start:proxy and select desired environment (stage-preview is recommended)
  4. Local version of the app will be available at URL printed out to the console (https://stage.foo.redhat.com:1337/preview/insights/patch/ if you selected stage-preview)

Testing

Cypress and Jest are used as the testing frameworks

  • npm run test - run all Jest tests
  • npm run test:ct - open Cypress in the component testing mode.
  • npm run lint - run linter
  • npm run coverage - generate lect coverage information after running the tests

Deploying

The app uses containerized builds which are configured in app-interface.

Environment Available at Deployed version
stage preview https://console.stage.redhat.com/preview master branch
stage stable https://console.stage.redhat.com master branch
production preview https://console.redhat.com/preview up to the commit configured in app-interface
production stable https://console.redhat.com up to the commit configured in app-interface

Design System

This project uses Patternfly React.

Insights Components

This app imports components from Insights Front-end Components library. ESI tags are used to import Insights Chrome which takes care of the header, sidebar, and footer.

patchman-ui's People

Contributors

jiridostal avatar mkholjuraev avatar semantic-release-bot avatar lesamo avatar dependabot[bot] avatar dependabot-preview[bot] avatar karelhala avatar adonispuente avatar hyperkid123 avatar gkarat avatar fewwy avatar astonlele avatar johnsonm325 avatar bastilian avatar gabipodolnikova avatar liorkgow avatar xmicha82 avatar digitronik avatar niyazredhat avatar ryelo avatar rvsia 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.