Skip to content
master
Go to file
Code

Latest commit

* add basic working alert if label mismatch from quickrun

needs componentizing and could probably make into dialog with label editinging where relevant

* switch label work to mixin

* remove console log

* update names in mixin

* argh remember to commit - add a label button to the details tile and late runs

* update icon design and position

* begin to format labels info card and add relevant links

still needs formatting/spacing and possibly opening tiles in new tabs

* update formatting and add more informative messages

* improve links

* fix check for no agent labels

* improve error handling on add labels and disable for read only

* remove console log

* update schedule toggle error handling - but maybe Cloud oddness

* remove unhelpful something went wrong

* add flow store to handle label updates quicker than apollo

not sure this is best practice really but if we're going full vuex this does make updates a tiny bit quicker

* remove console logs

* improve agent label alignment

* update unit tests for agent store and make sure it fails corectly

* make it pass

* add correctly failing tests for flow store

* add passing test

* update changelog

* update agents query to newer agent query and make server friendly

* fix typo

* remove console logs

* remove flow store as it's not really adding much

* remove flow from store index.js

* Update src/graphql/Agent/agents.js

Co-authored-by: Nicholas Brown <nicholas@prefect.io>

* Update src/components/LabelWarning.vue

Co-authored-by: Nicholas Brown <nicholas@prefect.io>

* Update src/components/LabelWarning.vue

Co-authored-by: Nicholas Brown <nicholas@prefect.io>

* Update src/pages/Flow/Details-Tile.vue

Co-authored-by: Nicholas Brown <nicholas@prefect.io>

* Update src/pages/Flow/Details-Tile.vue

Co-authored-by: Nicholas Brown <nicholas@prefect.io>

* Update src/components/LabelWarning.vue

Co-authored-by: Nicholas Brown <nicholas@prefect.io>

* Update src/components/LabelWarning.vue

Co-authored-by: Nicholas Brown <nicholas@prefect.io>

* Update src/components/LabelWarning.vue

Co-authored-by: Nicholas Brown <nicholas@prefect.io>

* Update src/components/LabelWarning.vue

Co-authored-by: Nicholas Brown <nicholas@prefect.io>

* fix liniting issue

* add poll interval on agent query

* remove agent query from agents tile and use store instead

* tweaks to make agent store query not break agents tile

* simplify labels align and docs info

* neaten label placement

* add commented apollo query to agents tile to check agent refresh for tenant switch - better to get working from the app

* temp add agents getter to agents tile

* Update src/components/LabelWarning.vue

Co-authored-by: Chris White <chris@prefect.io>

* Update src/components/LabelWarning.vue

Co-authored-by: Chris White <chris@prefect.io>

* Update src/components/LabelWarning.vue

Co-authored-by: Chris White <chris@prefect.io>

* Update src/components/LabelWarning.vue

Co-authored-by: Chris White <chris@prefect.io>

* styling as wip

* udpate styling

* Use cache reset method instead of the manual store reset

* add watch and agent refresh on tenant

Co-authored-by: Nicholas Brown <nicholas@prefect.io>
Co-authored-by: Chris White <chris@prefect.io>
Co-authored-by: nicholas <znicholasbrown@gmail.com>
6f1eb2c

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Aug 3, 2020

README.md

Prefect Logo

Netlify Build Status Slack members status badge

Powered By Prefect

Prefect UI

Note: This repo is for Prefect UI development. To run the Prefect UI as part of Prefect Server, install Prefect and run prefect server start.

Installation

Prefect UI requires Node.js v10+ and npm v6+ to run.

Before starting the Prefect UI development server, you'll need to install project dependencies:

$ git clone https://github.com/PrefectHQ/ui.git
$ cd ui
$ npm install

Then, you can start the Prefect UI development server:

$ npm run serve

The Prefect UI should be available at http://localhost:8080; changes to the code in the src/ directory will result in a hot reload of the application. For more information on hot-reloading or the development server, take a look at the Webpack and Vue CLI documentation.

Testing

Coming soon...

Development

We welcome contributions!

Prefect UI is built on Vue.js, a modern front-end JavaScript framework. We generally depend on Google's Material Design guidelines, drawing on and extending the Vuetify component library.

Building for production

For production builds:

$ npm run build

Compiled and minified code and assets are placed in the dist/ folder; dist/index.html is the built application's entrypoint.

Building a Prefect UI Docker image

Coming soon...

Serving the built application

Coming soon...

License

Prefect UI is lovingly made by the team at Prefect and licensed under the Prefect Community License. For information on how you can use, extend, and depend on Prefect UI to automate your data, take a look at our license or contact us.

You can’t perform that action at this time.