# @goplugin/operator-ui-1.0

> This package is responsible for rendering the UI of the plugin node, which allows interactions wtih node jobs, jobs runs, configuration and any other related tasks.

Latest version **0.1.0** (published 2023-10-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install @goplugin/operator-ui-1.0
pnpm add @goplugin/operator-ui-1.0
yarn add @goplugin/operator-ui-1.0
bun add @goplugin/operator-ui-1.0
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.0 |
| Published | 2023-10-24 |
| First published | 2023-10-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | ^18.0.0 |
| Dependencies | 35 |
| Unpacked size | 7.6 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 1 |
| Author | goplugin |
| Maintainers | goplugin |

## Links

- npm: https://www.npmjs.com/package/@goplugin/operator-ui-1.0
- Repository: https://github.com/goplugin/operator-ui
- Homepage: https://github.com/goplugin/operator-ui#readme
- Issues: https://github.com/goplugin/operator-ui/issues
- npm.io page: https://npm.io/package/@goplugin/operator-ui-1.0

## Dependencies (35)

- [d3](https://npm.io/package/d3.md) ^6.2.0
- [yup](https://npm.io/package/yup.md) ^0.32.9
- [react](https://npm.io/package/react.md) ^16.13.1
- [redux](https://npm.io/package/redux.md) ^4.1.0
- [cookie](https://npm.io/package/cookie.md) ^0.4.1
- [d3-dag](https://npm.io/package/d3-dag.md) ^0.4.7
- [formik](https://npm.io/package/formik.md) ^2.2.6
- [lodash](https://npm.io/package/lodash.md) ^4.17.19
- [moment](https://npm.io/package/moment.md) ^2.29.1
- [graphql](https://npm.io/package/graphql.md) 15.7.2
- [react-dom](https://npm.io/package/react-dom.md) ^16.12.0
- [classnames](https://npm.io/package/classnames.md) ^2.2.6
- [prop-types](https://npm.io/package/prop-types.md) ^15.6.2
- [@iarna/toml](https://npm.io/package/@iarna/toml.md) 3.0.0
- [react-redux](https://npm.io/package/react-redux.md) ^7.2.1
- [redux-thunk](https://npm.io/package/redux-thunk.md) ^2.3.0
- [bignumber.js](https://npm.io/package/bignumber.js.md) ^9.0.1
- [graphlib-dot](https://npm.io/package/graphlib-dot.md) ^0.6.4
- [redux-object](https://npm.io/package/redux-object.md) ^1.0.0
- [@apollo/client](https://npm.io/package/@apollo/client.md) ^3.4.16
- [path-to-regexp](https://npm.io/package/path-to-regexp.md) ^3.0.0
- [react-time-ago](https://npm.io/package/react-time-ago.md) 6.2.2
- [json-pretty-html](https://npm.io/package/json-pretty-html.md) ^1.1.2
- [react-router-dom](https://npm.io/package/react-router-dom.md) ^5.3.0
- [@material-ui/core](https://npm.io/package/@material-ui/core.md) ^3.9.2
- [stream-browserify](https://npm.io/package/stream-browserify.md) ^3.0.0
- [@material-ui/icons](https://npm.io/package/@material-ui/icons.md) ^4.5.1
- [formik-material-ui](https://npm.io/package/formik-material-ui.md) ^3.0.1
- [isomorphic-unfetch](https://npm.io/package/isomorphic-unfetch.md) ^3.1.0
- [json-api-normalizer](https://npm.io/package/json-api-normalizer.md) ^1.0.4
- [react-resize-detector](https://npm.io/package/react-resize-detector.md) ^4.2.1
- [local-storage-fallback](https://npm.io/package/local-storage-fallback.md) ^4.1.2
- [react-copy-to-clipboard](https://npm.io/package/react-copy-to-clipboard.md) ^5.0.3
- [react-syntax-highlighter](https://npm.io/package/react-syntax-highlighter.md) ^15.4.4
- [@types/react-syntax-highlighter](https://npm.io/package/@types/react-syntax-highlighter.md) ^13.5.2

## Recent versions

- 0.1.0 (latest) — 2023-10-24

## README

# Operator UI

This package is responsible for rendering the UI of the plugin node, which allows interactions wtih node jobs, jobs runs, configuration and any other related tasks.

## Setup

The GQL schema that lives within `GoPlugin/pluginV2` is used to generate client typings for this repo. See below for a list of options for generating these bindings, either based on a local plugin repo copy, or remotely off of github.

```sh
# Assuming that your plugin repo lives in ../plugin (relative to this git repo root)
yarn setup

# If you have your plugin repo in a different directory
REPO_PATH="$HOME/src/GoPlugin/pluginV2" yarn setup

# If you want to fetch the schema files from github instead, from the develop branch
# Note that you need to supply $GH_TOKEN, this is a PAT that needs read access to the
# GoPlugin/pluginV2 repo.
GH_TOKEN=$GH_TOKEN yarn setup

# If you want a different branch than develop on the GoPlugin/pluginV2 repo
GH_TOKEN=$GH_TOKEN REPO_REF="feature/gql_changes" yarn setup
```

## Running Plugin Node

Assuming you already have a local plugin node listening on port 6688, run:

```
PLUGIN_BASEURL=http://localhost:6688 yarn start
```

Now navigate to http://localhost:3000.

If sign-in doesn't work, check your network console, it's probably a CORS issue. You may need to run your plugin node with `ALLOW_ORIGINS=http://localhost:3000` set.

## Running Tests

```
yarn test
```

---
_Source: https://npm.io/package/@goplugin/operator-ui-1.0 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
