Commit Graph

15 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
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 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 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
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
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
Yasser Elsayed 09dbf5ff73 Fix mock data after proto changes (#564) 2018-12-18 14:57:07 -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
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 633e2ddcc8 Initial commit of the kubeflow/pipeline project. 2018-11-02 14:02:31 -07:00