Skip to content

radekkaluzik/insights-rbac-ui

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Insights RBAC Service UI

Build Status Maintainability Test Coverage

Contributing

This repository is now using experimental workflow checks. Your commits must use the conventional commits format.

Getting Started

npm install
npm run start

Available Scripts

This project includes several npm scripts that automate various tasks. Below are descriptions of some of the most commonly used scripts:

npm start

Starts the development server. This script will compile your code and open a browser window displaying the application. It also sets up hot reloading so changes in your code are reflected instantly.

npm run build

Builds the production version of the application. The output will be placed in the dist directory, ready for deployment.

npm test

Runs the unit tests suite using Jest.

npm test:e2e

Runs the e2e (end-to-end) test suite. This script requires environment variables to be set for authentication purposes, and a working VPN connection. You can use a command like:

E2E_USER=<your-e2e-user> E2E_PASSWORD=<your-e2e-password> E2E_WORKSPACES_USER=<your-workspaces-user> E2E_WORKSPACES_PASSWORD=<your-workspaces-password> npm test

Replace the placeholders with appropriate values.

npm run cypress

Opens the Cypress GUI for running end-to-end tests. Similar to npm test, this script requires environment variables for authentication:

E2E_USER=<your-e2e-user> E2E_PASSWORD=<your-e2e-password> E2E_WORKSPACES_USER=<your-workspaces-user> E2E_WORKSPACES_PASSWORD=<your-workspaces-password> npm run cypress -- open

Replace the placeholders with appropriate values.

npm run lint

Runs ESLint to check for code style issues and potential errors in your JavaScript/TypeScript files. It will report any problems found according to the rules defined in the .eslintrc configuration file.

npm run format

Formats all JavaScript, TypeScript, and other supported files using Prettier. This ensures consistent formatting across the entire project.

License

This project is available as open source under the terms of the Apache License 2.0.

Quickstarts Test Environment

In order to test current Quickstarts tutorials iteration, you must enable the testing local variable through your browser's console.

localStorage.setItem('quickstarts:enabled', true)

You'll be able to see the buttons for testing both the quickstart tutorial and the catalog page. Once the flag is enabled, you can access the catalog directly via its route: .../settings/rbac/quickstarts-test

About

RBAC UI

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 68.6%
  • TypeScript 29.9%
  • SCSS 1.1%
  • Other 0.4%