Commit Graph

60 Commits

Author SHA1 Message Date
David van der Spek c32cdc70d3
chore(frontend): update all references to python 3.9 (#10020)
Signed-off-by: David van der Spek <vanderspek.david@gmail.com>
2023-10-20 05:19:03 +00:00
Chen Sun a727783abd
chore: remove 'dummy_root' in test samples (#9640)
* remove 'dummy_root' in test samples

* more cleanup
2023-06-21 23:51:41 +00:00
Chen Sun b6b8f94da2
chore: recompile/update v2 samples to avoid possible runtime breakage (#9333)
* recompile/update v2 samples

* fix test
2023-05-05 17:28:24 +00:00
dependabot[bot] 7ca25687f4
chore(deps): bump express from 4.16.3 to 4.17.3 in /frontend/mock-backend (#8619)
Bumps [express](https://github.com/expressjs/express) from 4.16.3 to 4.17.3.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.16.3...4.17.3)

---
updated-dependencies:
- dependency-name: express
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-30 15:30:28 +00:00
James Liu cdbfbe8a86
fix(frontend): Update sample pipelines in mock-backend to use yaml format (#7570)
* fix(frontend): Update sample pipelines in mock-backend to use yaml format.

* Update package.json for downloaded dependencies
2022-04-18 17:07:17 +00:00
Yaqi Ji 8bb0d0e025
feat(sdk)!: move v2 to main namespace (#7376)
* feat(sdk)!: move v2 to main namespace

* edit samples
2022-03-04 21:56:51 +00:00
James Liu d60bc99bb6
chore(frontend): Convert to ts-proto for Protobuf.Value in PipelineSpec (#7125)
* WIP: Support Protobuf.Value in V2 IR

* chore(frontend): Convert to ts-proto for Protobuf.Value in PipelineSpec

* remove ValueType

* npm run format

* Add license for ts-proto-descriptors
2021-12-29 20:17:48 +00:00
James Liu a1bef772dc
feat(frontend): V2 create run from UI (#7001) 2021-12-03 11:18:57 +00:00
James Liu feebc6b66a
feat(frontend): Upload V2 Pipelines. Fix PipelineSpec editor prettified view. (#6909) 2021-11-19 13:12:32 +00:00
James Liu b7a455d9fe
feat(frontend): View pipeline from run ID in KFPv2. Fix #6758 (#6759)
* feat(frontend): View pipeline from run ID in KFPv2.

* feat: update the linkable pipeline view UX when creating a new run from pipeline from string.

* fix test snapshot
2021-10-25 12:34:42 -07:00
James Liu 74c7773ca4
feat(frontend): Runtime DAG in RunDetailsV2. Fix #6673 (#6694)
* feat(frontend): Runtime DAG in RunDetailsV2

* remove debug log
2021-10-07 00:55:22 -07:00
James Liu e0f4f7ce99
feat(frontend): Support Pipeline summary card and pulling version template for V2. Fix #6633 (#6634) 2021-09-30 11:20:31 -07:00
James Liu 5c89d51f0e
feat(frontend): SidePanel for static pipeline template. Fix #6399, Fix #6610, Fix #6611 (#6613)
* feat(frontend): SidePanel for static pipeline template.

* fix test
2021-09-29 09:09:47 -07:00
Chen Sun ed3453f794
chore: update comments in a pipeline sample (#6601)
* Update lightweight_python_functions_v2_pipeline.py

* Update lightweight_python_functions_v2_pipeline.py

* Update lightweight_python_functions_v2_pipeline.py

* Update mock_lightweight_python_functions_v2_pipeline.json

* Update lightweight_python_functions_v2_pipeline.json

* Update mock_lightweight_python_functions_v2_pipeline.json
2021-09-23 11:29:36 -07:00
Gerard Casas Saez 19b3de4dd0
feat(frontend): Add to UI pipeline version description. Part of #6256 (#6393)
* add description to upload_pipeline_description http endpoint

* add test for pipeline upload server description

* add description to new pipeline version

* show pipeline version in pipeline detail page

* make description optional on UI + show version descriptio or pipeline description

* remove unused reference

* revert wrong change of ref

* updated on should be pipeline version

* add more versions to mock-backend

* show pipeline and version description at the same time

* add tests for UI

* show pipeline version always
2021-09-06 20:55:38 -07:00
James Liu d03277fe4e
feat(frontend): SubDag Node and mock samples. Partial #6419. Fix #6302. Fix #6398 (#6420)
* feat(frontend): SubDag Node and mock samples

* fix import

* comment address

* from aside to div

* address comments
2021-08-31 10:04:03 -07:00
Gerard Casas Saez 3866ccf6c1
feat(frontend): Add version description to pipelineVersionList. Part of #6256 (#6405)
* add version description to pipelineVersionList

* remove extra tests and reduce flex for version name

* add tooltip and mock version data
2021-08-24 12:24:44 -07:00
James Liu 72c54c8c4d
feat(frontend): Show V2 PipelineDetail page when pipelineSpec is v2. Fix #6303 (#6318)
* feat(frontend): Show V2 PipelineDetail page when pipelineSpec is v2

* fix v1v2 decision logic

* fix test
2021-08-17 22:19:37 -07:00
James Liu 78c550ee11
chore(frontend): Mock one v2 pipeline spec response. Fix #6232 (#6233) 2021-08-05 19:14:49 -07:00
James Liu 48040346af
fix(frontend): mock-backend didn't understand absolute path import in frontend/src/. Fix #6212 (#6213) 2021-08-03 11:50:41 -07:00
Alexey Volkov cc83e1089b
Assigned copyright to the project authors (#5587) 2021-05-05 13:53:22 +08:00
algs 7651fe56ef
chore(frontend): fix import class mismatch. Fixes #5444 (#5482)
* fix frontend import class mismatch

* format frontend generated code

Co-authored-by: {hewenting} <hewenting@bytedance.com>
2021-04-16 18:52:14 -07:00
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