VictoriaMetrics/app/vmui/packages/vmui
Yury Molodov 47b4f25c7b
vmui: optimize public directory by cleaning up files (#6972)
### Describe Your Changes

### Pull Request Description:

1. **HTML File Structure Optimization**: Adjusted the location of HTML
files for different builds to prevent redundant files in the final
output. See issue #6900
2. **Metadata Fixes**: Corrected metadata in HTML files for each build
configuration.
3. **Favicon Update**: Replaced PNG favicon (`14 KB` and `1.58 KB`) with
SVG (`1.35 KB`).
4. **Social Media Optimization**: Optimized the social preview image,
reducing its size by `60.2 KB`.
5. **Git Ignore Update**: Added `public/index.html` to `.gitignore` as
it is dynamically generated during the build process.

### Checklist

The following checks are **mandatory**:

- [x] My change adheres [VictoriaMetrics contributing
guidelines](https://docs.victoriametrics.com/contributing/).

(cherry picked from commit 4e976f66f3)
2024-09-19 15:48:10 +02:00
..
nginx app/vmui: move source code from https://github.com/VictoriaMetrics/vmui to app/vmui 2021-07-09 17:13:51 +03:00
public vmui: optimize public directory by cleaning up files (#6972) 2024-09-19 15:48:10 +02:00
src vmui: optimize public directory by cleaning up files (#6972) 2024-09-19 15:48:10 +02:00
web all: make fmt via the upcoming Go1.19 2022-07-11 19:23:25 +03:00
.dockerignore app/vmui: move source code from https://github.com/VictoriaMetrics/vmui to app/vmui 2021-07-09 17:13:51 +03:00
.env vmui: add explore tab for exploration of metrics, which belong to a particular job/instance (#3470) 2022-12-22 17:17:47 -08:00
.eslintrc.js vmui/refactor (#3298) 2022-11-17 01:21:54 +02:00
.gitignore vmui: optimize public directory by cleaning up files (#6972) 2024-09-19 15:48:10 +02:00
config-overrides.js vmui: optimize public directory by cleaning up files (#6972) 2024-09-19 15:48:10 +02:00
package-lock.json vmui: update dependencies in package.json to latest versions (#7007) 2024-09-19 15:48:08 +02:00
package.json vmui: update dependencies in package.json to latest versions (#7007) 2024-09-19 15:48:08 +02:00
README.md vmui: predefined dashboards docs (#3895) 2023-03-12 17:22:27 -07:00
TESTCASES.md vmui/refactor (#3298) 2022-11-17 01:21:54 +02:00
tsconfig.json vmui: autocomplete usability improvements (#5422) 2023-12-13 00:33:27 +02:00

Getting Started with Create React App

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
Open http://localhost:3000/#/icons to view the icons used in the project.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you cant go back!

If you arent satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point youre on your own.

You dont have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldnt feel obligated to use this feature. However we understand that this tool wouldnt be useful if you couldnt customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.