chirpstack/ui
Orne Brocaar 103e4298fb Add device-profile option to configure region configuration.
By selecting a region configuration, devices using the device-profile
will only stick to the selected region configuration, rather than the
configurations provided by the selected region common-name.

This change also renames the region 'name' option to 'id' in the region
configuration, as well it adds a 'description' to provide a human
readable description, which is used in the drop-down in the UI.

This also fixes the JS API generation. In a previous commit the the
protobuf package was updated, but the latest protobuf compiler no longer
supports generating JS code (this now requires an external plugin). This
has been fixed.

Please note that if you have implemented custom ADR algorithms that are
referring to the 'regionName' key, that you must change this to
'regionConfigId' (see the ADR code example).
2023-01-09 12:04:10 +00:00
..
public Add IFTTT integration. 2022-07-06 15:43:00 +01:00
src Add device-profile option to configure region configuration. 2023-01-09 12:04:10 +00:00
.dockerignore Initial commit. 2022-04-06 21:18:32 +01:00
.env Initial commit. 2022-04-06 21:18:32 +01:00
.prettierignore Implement automatic formatting for JS / TSX source code. 2022-05-02 10:58:26 +01:00
.prettierrc.json Implement automatic formatting for JS / TSX source code. 2022-05-02 10:58:26 +01:00
Dockerfile-devel Update to latest Rust and Alpine versions. 2022-12-05 10:00:21 +00:00
Makefile Initial commit. 2022-04-06 21:18:32 +01:00
package.json Add device-profile option to configure region configuration. 2023-01-09 12:04:10 +00:00
README.md Initial commit. 2022-04-06 21:18:32 +01:00
tsconfig.json Implement automatic formatting for JS / TSX source code. 2022-05-02 10:58:26 +01:00
yarn.lock Add device-profile option to configure region configuration. 2023-01-09 12:04:10 +00:00

Getting Started with Create React App

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

yarn start

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

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

yarn test

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

yarn 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.

yarn 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.