Commit Graph

38 Commits

Author SHA1 Message Date
radcheb 02b0899dd9
fix(frontend): fix parsing large workflow graph. Fixes #4179 (#4180)
* frontend: add large pipeline example to mocked data

* add util function decodeCompressedNodes

* decode compressedNodes in workflow if node is empty and compressedNodes exit

* fix decodeCompressedNodes

* prettify code

* Frontend:test Utils decodeCompressedNodes

* test RunDetails page render compressed grah

* add util function decodeCompressedNodes

* Frontend:test Utils decodeCompressedNodes

* test RunDetails page render compressed grah

* reformat code

* update jest snapshot to add compressed node case

* fix tests

* reformat code

* update RunDetails snapshot

* remove dupplicate test code

* RunDetails: remove compressedNodes after decoding it

* reformat decodeCompressedNodes + add failure case test

* decodeCompressedNodes returns undefined on error

* RunDetails decodeCompressedNodes test: snapshot same as single node graph

* do not wait for decodeCompressedNodes + debug print workflow

* fix Run load + refresh snapshot

* format code

* Fix one-node compressed workflow graph + update snapshot

* reformat code

* rename large pipeline name

* fix decompressNodes to work in browser

* fix test

* fix tests

* remove some of the console.log

* clean code

* address comments

* address comments: wait for zlib instead of mocking decodeCompressedNodes

* address comments: decodeCompressedNodes reject in case of error + catch error on run load

* address comments
2020-10-16 07:27:26 -07:00
Eterna2 ca29b5c964
fix(frontend): do not render Retry nodes in UI DAG as they are virtual nodes. Fixes #4425 #2705 (#4474)
* Fix #4425 #2705: do not render Retry nodes as they are virtual nodes with no physical counterpart - e.g. pod logs.

* Add unit test for filtering our virtual retry node
2020-09-11 18:28:57 -07:00
Eterna2 4d2e31711f
Fix #3980 - mockapi tsconfig should reference root dir correctly (#4006) 2020-06-17 02:48:40 -07:00
Jonas De Beukelaer 040615c87f
Fix/log unavailable warning (#3848)
* [UI] only allow troubleshoot link on error banner

* [UI] improve use of banners in run view sidepanel

* [UI] add info type banner
2020-06-16 20:32:39 -07:00
Kubernetes Prow Robot 498b9832a6
[Frontend] GKE metadata endpoint should fail when fetched response is not ok (#3218)
* [Frontend] Add mock data for gke metadata

* Fix GKE metadata endpoint when request is not ok
2020-03-05 00:18:36 -08:00
Yuan (Bob) Gong 968e5836cf
[Frontend] Migrate to create-react-app (#3156)
* Updated create-react-app dependencies

* Fix some type errors

* Fix type errors

* Fix linting and typing

* Fix more things

* Fix typestyle mock

* Fix some unit tests

* Update snapshots

* Frontend server should use its own configuration

* Clean up server tsconfig.json and tslint.json

* Fix mock-backend

* Frontend image cloudbuild config
2020-02-24 17:05:35 -08:00
Yuan (Bob) Gong c482d935cd [UI] Add tooltips to table name columns so they can be read fully (#2894)
* Add tooltips to table name columns so they can be read fully

* Update test snapshot

* Fix lint errors
2020-01-22 01:24:34 -08:00
Yuan (Bob) Gong 4500d244d7 Format other frontend code using prettier (#2717) 2019-12-11 05:04:06 -08:00
Andrew Butler 918430c3c3 Fix missing run and pipeline id when buttons are clicked before content load (#2584)
* Fix missing run and pipeline id when buttons are clicked before content load

* Fix lint error

* Fix expect statement
2019-11-11 21:56:06 -08:00
Yuan (Bob) Gong cccea4d4db [UI] Fix metadata tabs loading state (#2508)
* Fix spinner for ArtifactList page

* Fix ExecutionList loading state

* Helper to add delay to mock api server
2019-10-29 02:44:42 -07:00
Yuan (Bob) Gong 26a244de24 Enlarge choose pipeline dialog to show more description (#2494)
* Fix description typo

* Format mock-backend/fixed-data.ts

* Make choose pipeline dialog bigger, render description in markdown

* snapshot fix
2019-10-25 07:31:39 -07:00
Kirin Patel 32ed27a98f Add endpoint to allow custom visualizations (#1931)
* Added support for custom visualizations to the VisualizationCreator component

* Add support for enabling/disabling custom visualizations

* Added mock-backend support for new api endpoint

* Changed allowCustomVisualization to be a prop
2019-08-26 14:22:37 -07:00
Kirin Patel 41d39c17a2 Add run with json data as input within fixed-data.ts for UI testing and development (#1895)
* Added run with json data as input

* Changed run and uid to not be duplicates of hello-world-runtime
2019-08-21 19:38:31 -07:00
Riley Bauer d2e94e4e04 Fix run duration bug (#1827)
* Allows durations >=24h and renames 'showLink' in RunList

* Update, fix tests
2019-08-15 19:52:34 -07:00
Riley Bauer 0517114dc2 Reduce getPipeline calls in RunList (#1852)
* Skips calling getPipeline in RunList if the pipeline name is in the pipeline_spec

* Update fixed data to include pipeline names in pipeline specs

* Remove redundant getRuns call
2019-08-15 12:28:35 -07:00
Riley Bauer 3ccc22ccb5 Add metrics table to run details page, run outputs tab (#1530)
* Adds metrics table to run outputs

* Clean-up and tests

* WIP adding titles to run outputs

* Clean up
2019-06-20 16:48:36 -07:00
Yasser Elsayed 473c4be97c Add markdown viewer (#897)
* working, needs tests

* tests

* add output artifact loader tests

* cleanup new experiment tests

* pr comments
2019-03-04 16:53:01 -08:00
Riley Bauer 85de728236 Support rendering recursive static DAGs (#845)
* Adds support for rendering recursive pipelines to the StaticGraphParser

* Adds a recursive pipeline to the list of mocks

* Fixes recursive graph rendering under new styling

* Adds additional comments and surfaces pipeline yaml error to users

* Remove unnecessary comment
2019-02-25 17:48:26 -08:00
Yasser Elsayed 603597d65b Archive runs UI (#748)
* update ts definitions from swagger

* fix case

* Update run.go

* storageState -> storage_state

* storageState -> storage_state

* wip mock backend changes, need to use filter for storagestate

* filter_by -> filter, remove options handlers

* show only available runs, mock middleware support

* add basic Archive page with runs

* fixes, added button to sidenav

* fix generated ts filter-related changes in definitions

* storageState -> storage_state

* fix after rebase

* cleanup

* use notequals archived instead of equals available

* augment runs request filter with storage state

* fix tests

* treat available runs as unarchived

* refactor buttons to separate file

* experiment details buttons, remove test console log

* cleanup

* added actions to Buttons module

* tests

* cleanup

* add messages to dialogs

* add archive/restore button to run details

* archive breadcrumb

* mention run will not stop when archiving

* pr comments
2019-02-13 13:50:12 -08:00
Riley Bauer 5beffef614 Auto-refreshes the run details page (#722)
* Auto-refreshes the run details page

Auto-refresh is paused when the window loses focus (blur) and is resumed
upon re-focus. Autorefresh is permanently terminated if the run has
stopped due to failure, error, being skipped, or succeeding.

* Adds tests for Status.hasCompleted

* Clean up and PR comments
2019-01-24 10:55:02 -08:00
Ajay Gopinathan 578e8231d0 Update all Pipelines CRD versions to v1beta1. (#681) 2019-01-17 19:35:51 -08:00
Riley Bauer 504b89620e Add build version to side nav (#670)
* Makes KF logo a button and adds tooltips to sidenav when collapsed

* Adds build version, date, and link to side nav. Still needs tests

* Cleanup and PR comments
2019-01-14 10:08:22 -08:00
Riley Bauer 705d00038c Add simple filtering by name to CustomTable (#656)
* Adds simple filtering by 'name' to CustomTable

* Update tests

* Adds new tests for filtering the CustomTable

* Filter using 'is_substring' rather than 'equal'

* Clean up and some comments

* Add snapshot to handleFilterChange test
2019-01-10 15:38:42 -08:00
Yasser Elsayed 09dbf5ff73 Fix mock data after proto changes (#564) 2018-12-18 14:57:07 -08:00
Riley Bauer 58bb9afd1b Allows uploading a pipeline via a URL (#554)
Still needs verification on real cluster
2018-12-18 14:14:13 -08:00
Yasser Elsayed 114a84740e
Fix serializing cloned embedded pipeline (#474)
* fix serializing cloned pipeline

* fix tests

* fix mock backend data

* add View pipeline link to new run page

* fix test snapshots
2018-12-04 21:33:47 -08:00
Yasser Elsayed 9718826cba Show pipeline details embedded in runs (#447)
* show 'View pipeline' button when no pipeline id is present

* wip pipeline details to show pipeline from run spec

* pipeline details working, still need to show breadcrumbs

* breadcrumbs fixed, needs testing

* fix tests

* add more tests to cover changes

* make sure only pipeline is defined

* pr comments
2018-12-04 11:13:27 -08:00
Yasser Elsayed d313a9c623 PipelineDetails cleanup (#350)
* refactor out selected node info

* refactor details table title

* refactor out side panel

* cleanup

* pr comments
2018-11-21 12:02:04 -08:00
Yasser Elsayed 003a8c8d11
Use latest npm and node on travis, fix tests (#317)
* use latest npm, node

* fix tests
2018-11-19 15:40:59 -08:00
Alexey Volkov 906ad680ed SDK/DSL/Compiler - Improved compilation of dsl.Conditional - UX support done (#177)
* Fixed compilation of dsl.Conditional
The compiler no longer produced intermediate steps.

* Got rid of _create_new_groups

* Changed the sub_group.type check

* Update frontend handling of graphs (#293)

* Updates the frontend to correctly parse the new format of conditional pipelines

* WIP - Assume tasks and templates don't share names

* Greatly simplifies graphing of conditional and non-conditional pipelines

* Adds/updates StaticParser tests

* Give nodes unique names
2018-11-19 14:01: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
Yasser Elsayed 2b58a16e12 Account for padding in metric progress fill (#107)
* Account for padding in metric progress fill

* small mock backend fix

* move to css classes, add color

* changes to breadcrumb style

* increase width of summary card

* tests

* merge tests
2018-11-06 16:44:10 -08:00
Yasser Elsayed bba07e9219 Don't barf when experiment name is already used (#101)
* don't barf when experiment name is already used

* make mock backend use case insensitive names
2018-11-06 13:42:35 -08:00
Ajay Alfred 80eceae867 CSS changes for nav menu and tables (#99) 2018-11-06 12:40:43 -08:00
Yasser Elsayed e6dbfacf06 PipelineList tests, fix clearing error banner (#50)
* wip pipeline list tests

* wip pipeline list tests

* more tests

* delete tests

* upload tests, safe setstate

* cleanup

* merge master

* pr comments

* pr comments

* add missing clearBanner in a bunch of places
2018-11-05 19:54:40 -08:00
Riley Bauer 153f61aefb Adds the Kubeflow logo to the side nav. Fetches specific font weights (#48)
* Adds the Kubeflow logo to the side nav, and fetches specific font weights

* Change favicon and webpage title

* Updates 'Pipelines' icon
2018-11-05 16:32:10 -08:00
Pascal Vicaire 67b011f228 Upgrading the container versions to 0.0.42, the version of the first release of kubeflow/pipelines. 2018-11-02 16:57:37 -07:00
Pascal Vicaire 633e2ddcc8 Initial commit of the kubeflow/pipeline project. 2018-11-02 14:02:31 -07:00