pipelines/frontend/mock-backend
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
..
eval-output Initial commit of the kubeflow/pipeline project. 2018-11-02 14:02:31 -07:00
model-output Add markdown viewer (#897) 2019-03-04 16:53:01 -08:00
fixed-data.ts fix(frontend): fix parsing large workflow graph. Fixes #4179 (#4180) 2020-10-16 07:27:26 -07:00
hello-world-runtime.ts Format other frontend code using prettier (#2717) 2019-12-11 05:04:06 -08:00
hello-world-with-steps-runtime.ts Format other frontend code using prettier (#2717) 2019-12-11 05:04:06 -08:00
integration-test-runtime.ts Format other frontend code using prettier (#2717) 2019-12-11 05:04:06 -08:00
json-runtime.ts Format other frontend code using prettier (#2717) 2019-12-11 05:04:06 -08:00
large-graph-runtime.ts fix(frontend): fix parsing large workflow graph. Fixes #4179 (#4180) 2020-10-16 07:27:26 -07:00
longlog.txt Initial commit of the kubeflow/pipeline project. 2018-11-02 14:02:31 -07:00
mock-api-middleware.ts Fix/log unavailable warning (#3848) 2020-06-16 20:32:39 -07:00
mock-api-server.ts [Frontend] Migrate to create-react-app (#3156) 2020-02-24 17:05:35 -08:00
mock-coinflip-runtime.ts Format other frontend code using prettier (#2717) 2019-12-11 05:04:06 -08:00
mock-conditional-template.yaml SDK/DSL/Compiler - Improved compilation of dsl.Conditional - UX support done (#177) 2018-11-19 14:01:10 -08:00
mock-error-runtime.ts Format other frontend code using prettier (#2717) 2019-12-11 05:04:06 -08:00
mock-recursive-template.yaml Support rendering recursive static DAGs (#845) 2019-02-25 17:48:26 -08:00
mock-retry-runtime.ts fix(frontend): do not render Retry nodes in UI DAG as they are virtual nodes. Fixes #4425 #2705 (#4474) 2020-09-11 18:28:57 -07:00
mock-template.yaml 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
mock-xgboost-runtime.ts Format other frontend code using prettier (#2717) 2019-12-11 05:04:06 -08:00
mock-xgboost-small-runtime.ts Format other frontend code using prettier (#2717) 2019-12-11 05:04:06 -08:00
package-lock.json PipelineDetails cleanup (#350) 2018-11-21 12:02:04 -08:00
package.json Initial commit of the kubeflow/pipeline project. 2018-11-02 14:02:31 -07:00
proxy-middleware.ts [Frontend] Migrate to create-react-app (#3156) 2020-02-24 17:05:35 -08:00
shortlog.txt Initial commit of the kubeflow/pipeline project. 2018-11-02 14:02:31 -07:00
tsconfig.json Fix #3980 - mockapi tsconfig should reference root dir correctly (#4006) 2020-06-17 02:48:40 -07:00
tslint.json Initial commit of the kubeflow/pipeline project. 2018-11-02 14:02:31 -07:00