No description
  • TypeScript 98.4%
  • SCSS 0.7%
  • Shell 0.6%
  • JavaScript 0.2%
Find a file
2026-02-05 12:34:26 +00:00
.cursor/rules chore: upgrade from Yarn Classic to Yarn Berry (v4.6.0) 2026-02-02 20:24:06 +05:30
.devcontainer chore: upgrade from Yarn Classic to Yarn Berry (v4.6.0) 2026-02-02 20:24:06 +05:30
.github feat: limit rights to run a PR check to konflux-ui devs (#670) 2026-02-05 12:34:26 +00:00
.husky fix(KFLUXUI-941): Assisted-by message support for MacOS (#616) 2026-01-12 08:31:06 +00:00
.tekton ci: enable hermetic builds for Konflux UI (#643) 2026-02-04 15:57:29 +00:00
.yarn/releases fix(docker): bypass corepack ESM issues by bundling Yarn locally 2026-02-03 17:33:08 +05:30
@types fix: types errors for svgs 2026-01-28 20:31:52 +05:30
config feat(FeatureFlag): enhance feature flags implementation (#370) 2025-08-26 07:08:11 +00:00
docs feat: onboard coverport for reporting e2e coverage (#564) 2025-11-28 14:44:07 +00:00
e2e-tests feat: use yarn wrapper script instead of direct node invocation 2026-02-04 13:46:04 +05:30
public fix: add env variables based on infra-deployment PR 2026-01-28 20:31:52 +05:30
scripts fix: increase GH repo number to go through per run, fix quay token secret (#636) 2026-01-14 08:54:31 +00:00
src [New Component Model] add Component Details page (#660) 2026-02-05 12:00:19 +00:00
.codecov.yml chore(test): make codecov patch mandatory (#581) 2025-12-10 10:38:04 +00:00
.coderabbit.yaml feat(KFLUXUI-569): integrate coderabbit (#338) 2025-07-28 03:09:47 +00:00
.dockerignore fix(docker): bypass corepack ESM issues by bundling Yarn locally 2026-02-03 17:33:08 +05:30
.env fix: add ReleasePlan, ReleasePlanAdmission and Releases forms 2024-10-21 18:14:55 +05:30
.eslintignore fix: add env variables based on infra-deployment PR 2026-01-28 20:31:52 +05:30
.eslintrc.cjs feat(KFLUXUI-541): create snapshot list page + kubearchive (#316) 2025-07-11 15:30:21 +00:00
.eslintrc.restrict-imports.cjs chore: update eslint config 2026-01-08 11:33:36 +05:30
.gitignore chore: upgrade from Yarn Classic to Yarn Berry (v4.6.0) 2026-02-02 20:24:06 +05:30
.prettierignore Bootstrap Konflux UI (#1) 2024-07-25 14:31:15 +05:30
.prettierrc Bootstrap Konflux UI (#1) 2024-07-25 14:31:15 +05:30
.stylelintrc.json Bootstrap Konflux UI (#1) 2024-07-25 14:31:15 +05:30
.swcrc Bootstrap Konflux UI (#1) 2024-07-25 14:31:15 +05:30
.yarnrc.yml fix(docker): bypass corepack ESM issues by bundling Yarn locally 2026-02-03 17:33:08 +05:30
AI_authorized_emails.txt chore: adds mtakac to list of AI authorized emails (#518) 2025-11-11 09:29:41 +00:00
aliases.config.js fix: add aliases for file imports and create utils for jest/webpack 2025-03-02 16:17:55 +05:30
commitlint.config.js Bootstrap Konflux UI (#1) 2024-07-25 14:31:15 +05:30
CONTRIBUTING.md chore: update config to enable yarn berry (4.12.0) 2026-02-02 21:27:34 +05:30
Dockerfile feat: use yarn wrapper script instead of direct node invocation 2026-02-04 13:46:04 +05:30
Dockerfile.instrumented feat: use yarn wrapper script instead of direct node invocation 2026-02-04 13:46:04 +05:30
jest.config.js fix: v8 as coverage provider, bump codecov action (#578) 2025-12-03 09:56:30 +00:00
LICENSE Initial commit 2024-07-02 17:07:10 +03:00
package.json chore: pin typescript version (#672) 2026-02-05 08:45:42 +00:00
pr_check.sh feat: add job for watching changes in konflux-ci sanity test files 2026-01-16 10:19:08 +01:00
README.md chore: update config to enable yarn berry (4.12.0) 2026-02-02 21:27:34 +05:30
tsconfig.json fix: workspace migrations for snapshot details view 2025-03-07 10:51:39 +05:30
webpack.config.js feat(KFLUXUI-607): add icons for dark theme (#352) 2025-08-21 14:04:19 +00:00
webpack.dev.config.js fix: configure sass-loader with modern API to fix deprecation warnings 2026-02-04 14:09:07 +05:30
webpack.instrumented.config.js feat: onboard coverport for reporting e2e coverage (#564) 2025-11-28 14:44:07 +00:00
webpack.prod.config.js fix: configure sass-loader with modern API to fix deprecation warnings 2026-02-04 14:09:07 +05:30
yarn.lock chore: pin typescript version (#672) 2026-02-05 08:45:42 +00:00

Konflux UI

UI for Konflux

Contributing

We welcome contributions! Please read our Contributing Guidelines to get started. If you find a bug or want to request a feature, feel free to open an issue as well.

Setting up development environment

This project contains a DevContainer which has all dependencies for developing Konflux UI pre-installed. You can find out more information for how to configure your environment to use the DevContainer in the included README.md.

Manual installation

If you do not want to or cannot use the DevContainer, you can also setup the repository yourself.

Prerequisites:

  • Node.js version >= 20
  • Corepack enabled (included with Node.js 20+)

Note: This project uses Yarn Berry (v4.x) as the package manager. The correct Yarn version is automatically managed via the packageManager field in package.json and Corepack.

A step by step series of examples that tell you how to get a development environment running:

  1. Clone the repository

  2. Enable Corepack (required for Yarn Berry)

    corepack enable
    

    On some systems you may need sudo corepack enable

  3. Install dependencies

    yarn install
    
  4. Run the app in development mode

    yarn start
    

Running with Konflux-ci

By default, the UI uses the stage cluster for API calls. However, if you want to run the UI with a local Konflux deployment, follow the steps below.

  1. Follow the guide at https://github.com/konflux-ci/konflux-ci to deploy Konflux locally (use branch: new-ui)

  2. Once you have Konflux deployed, make the following changes to your .env file:

# .env

+ AUTH_URL=https://127.0.0.1:9443/
+ REGISTRATION_URL=https://127.0.0.1:9443/
+ PROXY_URL=https://127.0.0.1:9443/
+ PROXY_WEBSOCKET_URL=wss://127.0.0.1:9443
- AUTH_URL= https://konflux-ui.apps.stone-stg-rh01.l2vh.p1.openshiftapps.com/
- REGISTRATION_URL=https://konflux-ui.apps.stone-stg-rh01.l2vh.p1.openshiftapps.com/
- PROXY_URL=https://konflux-ui.apps.stone-stg-rh01.l2vh.p1.openshiftapps.com/
- PROXY_WEBSOCKET_URL=wss://konflux-ui.apps.stone-stg-rh01.l2vh.p1.openshiftapps.com/
  1. Update your webpack.dev.config.js file with the following changes:
@@ webpack.dev.config.js:14 @@
    historyApiFallback: true,
    hot: true,
    server: 'https',
    proxy: [
      {
+        context: (path) => path.includes('/oauth2/') || path.includes('/idp/'),
-        context: (path) => path.includes('/oauth2/'),
        target: process.env.AUTH_URL,
        secure: false,
        changeOrigin: true,
+        autoRewrite: true,
-        autoRewrite: false,
        toProxy: true,
        headers: {
          'X-Forwarded-Host': `localhost:${DEV_SERVER_PORT}`,
        },
        onProxyRes: (proxyRes) => {
          const location = proxyRes.headers['location'];
          if (location) {
            proxyRes.headers['location'] = location.replace(
+              'localhost:9443',
+              `localhost:${DEV_SERVER_PORT}`,
-              'konflux-ui.apps.stone-stg-rh01.l2vh.p1.openshiftapps.com%2Foauth2',
-              `localhost:${DEV_SERVER_PORT}/oauth2`,
            );
          }
        },

Available Scripts

In the project directory, you can run:

  • yarn build: Builds the app for production using webpack with the production configuration file.
  • yarn start: Runs the app in development mode. Opens the app in your default browser.
  • yarn test: Runs unit tests using jest.
  • yarn coverage: Runs the test suite with coverage report.
  • yarn lint: Runs both TypeScript and SASS linting.
  • yarn lint:ts: Lints TypeScript files.
  • yarn lint:sass: Lints SASS files.

Built With