Commit Graph

17 Commits

Author SHA1 Message Date
StefanoFioravanzo c320a5d8fd
feat(frontend): Reorganize Experiments, Runs, and Archive pages. Fixes #4918 (#4919)
* Introduce a Runs sidenav item

Signed-off-by: Stefano Fioravanzo <stefano@arrikto.com>

* Remove Archive item from sidenav

Signed-off-by: Stefano Fioravanzo <stefano@arrikto.com>

* Create new page with active and archived Runs

Signed-off-by: Stefano Fioravanzo <stefano@arrikto.com>

* Reorganize Experiments page

Signed-off-by: Stefano Fioravanzo <stefano@arrikto.com>

* Remove Archive page

Signed-off-by: Stefano Fioravanzo <stefano@arrikto.com>

* Update snaps

Signed-off-by: Stefano Fioravanzo <stefano@arrikto.com>

* Run prettier

Signed-off-by: Stefano Fioravanzo <stefano@arrikto.com>

* Fix frontend integration tests

Signed-off-by: Stefano Fioravanzo <stefano@arrikto.com>

* Fix SideNav snapshot

Signed-off-by: Stefano Fioravanzo <stefano@arrikto.com>
2020-12-23 20:44:26 -08:00
Yuan (Bob) Gong e5bd2df3e8
[UI] textbox to select KSA when creating runs/jobs (#3651)
* Add service account field to run and job api objects

* Update description

* Fix field casing

* Use service account from api object

* Fix bug and add unit test

* [UI] Allow choosing Kubernetes service account

* fix unit tests

* fix format

* Also clone service account

* service account UI features

* Add unit test for cloning service account

* Fix frontend integration tests
2020-05-06 20:39:09 -07:00
jingzhang36 a04ef2d444 Add pipeline version support to frontend (#2667)
* FE changes for version ui

* sort methods; remove console

* format

* remove obsolete snapshots

* cosmetic change: simplify href link construction

* fix the clone run behavior when version present

* format

* run-integration-test

* frontend-integration-test: try to simulate uploading file

* fix frontend-integration-test

* address comments

* address comments and add one more unit test
2019-12-06 01:44:50 -08:00
Riley Bauer 25cb766dae Adds a toggle between one-off and recurring runs to NewRun page (#1274)
* Allows toggling between one-off and recurring runs in the new run page

* Clean up and adds tests

* Fix integration test - account for extra field in form

* Cleanup and PR comments
2019-05-04 11:29:37 -07:00
Riley Bauer d88ba380bc Clear default exp table on delete and create default exp on run create if none exists (#1199)
* Clear default exp table on delete and create default exp on run create
if no default exists

With this change, if the delete experiment API is called on the default
experiment, then the ID will also be removed from the default_experiments
table.

Additionally, if the default experiment doesn't exist and a new run is
created without an experiment, a new default experiment will be created,
and the run will be placed within this experiment.

* Adds integration test for creating a run without an experiment

* Fixes failure to close database connection and adds tests for recreating and deleting default experiment

* Rename function

* Revert some row.Close() calls
2019-04-29 12:13:35 -07:00
Riley Bauer b29266351e Allow creating runs without experiments (#1175)
* Adds 'Create run' button to experiment list / all runs page

* Add run without experiment and filtering to FE integration test

* Update snapshots

* Add refresh and wait to integration test

* Adjust

* Adjust

* Don't exit integration test early if npm test fails

* PR comments

* TEMP - take screenshots to debug integration test

* Store screenshots

* Remove create run without experiment integration test for now as it fails due to the default experiment being deleted at the end of the API initialization and integration test suites
2019-04-22 11:59:45 -07:00
Riley Bauer 94925ff2bd Add run termination controls to ui (#1039)
* Update swagger definitions

* WIP - Adds ability to terminate runs to frontend

* Update snapshots

* Adds tests. Also changes warning message color to orange rather than red

* Remove refresh button from run details page

* Elaborate terminate confirmation message

* Minor fixes

* Remove references to refresh button from integration tests
2019-04-01 10:18:35 -07:00
Yasser Elsayed b79bb5f527 Deflake frontend e2e test (#904) 2019-03-04 17:55:03 -08:00
Yasser Elsayed be19cbc259 Refactor UI buttons to lib file (#737)
* refactor buttons to lib file

* Add license header

* fix e2e test
2019-01-28 11:27:45 -08:00
Riley Bauer d9665549ce Use "create" rather than "start" except when initiating a run (#650)
* Uses 'Create' for all actions that lead to creation flow, or result in a static object (experiment). 'Start' is used solely for initiating runs

* Update integration test
2019-01-09 11:56:45 -08:00
Riley Bauer 114c99d808 Add experiment selector to NewRun (#486)
* Adds an experiment selector to the new run page. Needs tests

* Adds an experiment selector to the new run page. Needs tests

* Adds tests for the new experiment selector in NewRun

* Rename PipelineSelector -> ResourceSelector since it handles experiments as well

* Makes ResourceSelector more abstract. No longer coupled to experiments and pipelines

* PR comments, NewRun clean-up

* Moves resourceToRow function into ResourceSelector

* Fix e2e test
2018-12-07 13:50:01 -08:00
Yasser Elsayed 5c9010cdf8
Refresh and wait for run to start (#472) 2018-12-04 19:14:12 -08:00
Yasser Elsayed 401f738ec2
Wait until logs appear right (#459) 2018-12-04 15:40:08 -08:00
Yasser Elsayed a2e533da49 increase timeout waiting for test run to start (#392) 2018-11-27 16:58:10 -08:00
Riley Bauer 4550513ed0 Adds NewRun tests (#242)
* Adds tests for the NewRun page

* Add more tests

* Adds many more tests, cleans-up PipelineSelector a bit, and fixes bug in Utils.ts

* Update create run button ID in e2e test

* Test clean-up and PR comments
2018-11-14 16:31:21 -08:00
nealgao 790cb36f73 Move basic sample tests to e2e tests (#235)
* move basic sample tests to e2e tests

* remove pipeline deletion to avoid conflicts with concurrent basic e2e tests.
2018-11-14 13:51:54 -08:00
Pascal Vicaire 633e2ddcc8 Initial commit of the kubeflow/pipeline project. 2018-11-02 14:02:31 -07:00