
Security News
NVD Concedes Inability to Keep Pace with Surging CVE Disclosures in 2025
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
@kiali/kiali-ui
Advanced tools
:toc: macro :toc-title:
toc::[] = Kiali UI image:https://coveralls.io/repos/github/kiali/kiali-ui/badge.svg?branch=master[Coverage Status, link=https://coveralls.io/github/kiali/kiali-ui?branch=master]
== Introduction
A UI for the Kiali Istio Observability Project
== Technologies
A new browser window should automatically open.
But, if it doesn't then use:
http://localhost:3000
This launches a development environment that instantly reloads any changes to the browser for rapid development.
== Directory Structure
build
: Production build outputpublic
: Home of index.htmlsrc
: Source and test codesrc/app
: React top level componentsrc/assets
: Images and other assetssrc/components
: Stateless components (pure functions)src/pages
: Top level pages and nested componentssrc/types
: Shared modelstories
: Storybook files== Developing
When developing, is usual to run this application outside of https://github.com/kiali/kiali[kiali].
package.json
with the url of kiali.
[source, json]npm start
and try it!
[source, bash]$ curl -u jdoe:password http://localhost:3000/api Namespaces: [default istio-system kube-public kube-system myproject openshift openshift-infra openshift-node]
Namespace: default Services [docker-registry kubernetes router]
WARNING: The proxy will only serve requests without the text/html accept header, using the browser directly won't work.
=== Styling
PatternFly is the main UI components framework. It defines style based on SASS preprocessor.
All Patternfly build assets are copied to src
.
Any React component may have its related SCSS file (such as App.scss
- this one includes all PatternFly Sass along with
PatternFly React Sass extensions).
Once Sass compiles, the resulting CSS can be found next to its SCSS counterpart (ex: src/app/App.css
).
Note:
Only static assets which are import
'ed into your application will be included in your resulting build output.
npm test
is valid,
but since some tests are using link:https://facebook.github.io/jest/docs/en/snapshot-testing.html[snapshots] the preferred command is to update them in the same time:
[source,shell]Then hit a
to run all tests.
After running the tests, if any snapshot has been modified (check git status), the diff should be reviewed to make sure it's an intentional or trivial change. Modified snapshots must be part of the commit so that they're reviewed collectively and won't make CI build fail.
== Production Builds
Use npm run build
which will bundle the build artifacts using webpack into the build
directory.
== General
This project was bootstrapped with https://github.com/facebookincubator/create-react-app[create-react-app]
== License and Copyright See the link:./LICENSE[LICENSE file].
FAQs
React UI for [Kiali](https://github.com/kiali/kiali).
The npm package @kiali/kiali-ui receives a total of 13 weekly downloads. As such, @kiali/kiali-ui popularity was classified as not popular.
We found that @kiali/kiali-ui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Security experts warn that recent classification changes obscure the true scope of the NVD backlog as CVE volume hits all-time highs.
Security Fundamentals
Attackers use obfuscation to hide malware in open source packages. Learn how to spot these techniques across npm, PyPI, Maven, and more.
Security News
Join Socket for exclusive networking events, rooftop gatherings, and one-on-one meetings during BSidesSF and RSA 2025 in San Francisco.